Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/cpufreq/cpufreq.c
- drivers/cpufreq/cpufreq_conservative.c
- drivers/cpufreq/cpufreq_ondemand.c
- drivers/cpufreq/cpufreq_performance.c, line 17
- drivers/cpufreq/cpufreq_powersave.c, line 17
- drivers/cpufreq/cpufreq_userspace.c
- include/linux/cpufreq.h
- kernel/sched/cpufreq_schedutil.c, line 568
Smatch caller information:
drivers/cpufreq/cpufreq_performance.c cpufreq_gov_performance_limits() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->exit | 0,1894474972433793024,2132229015881416704,5925105349801209856 |
| PARAM_VALUE | 0 | policy->governor->flags | 0-2 |
| PARAM_VALUE | 0 | policy->governor->init | 0,2103641439485366272,2343328830101786624,6783820666938757120 |
| PARAM_VALUE | 0 | policy->governor->limits | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->show_setspeed | 0,6023193915670159360 |
| PARAM_VALUE | 0 | policy->governor->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->stop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->store_setspeed | 0,5607523499178598400 |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 2 | relation | 1 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->governor | (-1)-0,104 |
| CAPPED_DATA | 0 | policy->governor | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| NO_OVERFLOW_SIMPLE | 1 | target_freq | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem |
drivers/cpufreq/cpufreq_userspace.c cpufreq_set() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->store_setspeed | 5607523499178598400 |
| PARAM_VALUE | 0 | policy->governor_data | 4096-ptr_max |
| PARAM_VALUE | 2 | relation | 0 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | target_freq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &userspace->mutex | ||
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct userspace_policy)->mutex |
drivers/cpufreq/cpufreq_userspace.c cpufreq_userspace_policy_limits() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->exit | 0,1894474972433793024,2132229015881416704,5925105349801209856 |
| PARAM_VALUE | 0 | policy->governor->flags | 0-2 |
| PARAM_VALUE | 0 | policy->governor->init | 0,2103641439485366272,2343328830101786624,6783820666938757120 |
| PARAM_VALUE | 0 | policy->governor->limits | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->show_setspeed | 0,6023193915670159360 |
| PARAM_VALUE | 0 | policy->governor->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->stop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->store_setspeed | 0,5607523499178598400 |
| PARAM_VALUE | 0 | policy->governor_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | policy->max | 0-4294967294 |
| PARAM_VALUE | 1 | target_freq | 0-4294967294 |
| PARAM_VALUE | 2 | relation | 1 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->governor | (-1)-0,104 |
| CAPPED_DATA | 0 | policy->governor | 1 |
| CAPPED_DATA | 0 | policy->max | 1 |
| CAPPED_DATA | 1 | target_freq | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| NO_OVERFLOW_SIMPLE | 1 | target_freq | |
| LOCK2 | &userspace->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem | |
| TYPE_LOCK | (struct userspace_policy)->mutex |
drivers/cpufreq/cpufreq_userspace.c cpufreq_userspace_policy_limits() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->exit | 0,1894474972433793024,2132229015881416704,5925105349801209856 |
| PARAM_VALUE | 0 | policy->governor->flags | 0-2 |
| PARAM_VALUE | 0 | policy->governor->init | 0,2103641439485366272,2343328830101786624,6783820666938757120 |
| PARAM_VALUE | 0 | policy->governor->limits | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->show_setspeed | 0,6023193915670159360 |
| PARAM_VALUE | 0 | policy->governor->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->stop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->store_setspeed | 0,5607523499178598400 |
| PARAM_VALUE | 0 | policy->governor_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | policy->min | 1-u32max |
| PARAM_VALUE | 1 | target_freq | 1-u32max |
| PARAM_VALUE | 2 | relation | 0 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->governor | (-1)-0,104 |
| CAPPED_DATA | 0 | policy->governor | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| LOCK2 | &userspace->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem | |
| TYPE_LOCK | (struct userspace_policy)->mutex |
drivers/cpufreq/cpufreq_userspace.c cpufreq_userspace_policy_limits() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->exit | 0,1894474972433793024,2132229015881416704,5925105349801209856 |
| PARAM_VALUE | 0 | policy->governor->flags | 0-2 |
| PARAM_VALUE | 0 | policy->governor->init | 0,2103641439485366272,2343328830101786624,6783820666938757120 |
| PARAM_VALUE | 0 | policy->governor->limits | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->show_setspeed | 0,6023193915670159360 |
| PARAM_VALUE | 0 | policy->governor->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->stop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->store_setspeed | 0,5607523499178598400 |
| PARAM_VALUE | 0 | policy->governor_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 2 | relation | 0 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->governor | (-1)-0,104 |
| CAPPED_DATA | 0 | policy->governor | 1 |
| CAPPED_DATA | 0 | policy->min | 1 |
| CAPPED_DATA | 1 | target_freq | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| PARAM_COMPARE | 0 | policy->max | >= $0->min |
| PARAM_COMPARE | 0 | policy->max | >= $1 |
| PARAM_COMPARE | 0 | policy->min | <= $1 |
| PARAM_COMPARE | 1 | target_freq | <= $0->max |
| PARAM_COMPARE | 1 | target_freq | >= $0->min |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| LOCK2 | &userspace->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem | |
| TYPE_LOCK | (struct userspace_policy)->mutex |
drivers/cpufreq/cpufreq.c cpufreq_driver_target() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cpus->bits | 4096-ptr_max |
| PARAM_VALUE | 2 | relation | 0 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | target_freq | $1 |
| DATA_SOURCE | 2 | relation | $2 |
| LOCK2 | 0 | &policy->rwsem | |
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq.c cpufreq_generic_suspend() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->exit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->limits | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->stop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->suspend_freq | 1-u32max |
| PARAM_VALUE | 1 | target_freq | 1-u32max |
| PARAM_VALUE | 2 | relation | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem |
drivers/cpufreq/cpufreq.c cpufreq_policy_online() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->constraints.max_freq.default_value | s32max |
| PARAM_VALUE | 0 | policy->constraints.max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | policy->constraints.max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->constraints.max_freq.notifiers->head | 1-u64max |
| PARAM_VALUE | 0 | policy->constraints.max_freq.target_value | s32max |
| PARAM_VALUE | 0 | policy->constraints.max_freq.type | 2 |
| PARAM_VALUE | 0 | policy->constraints.min_freq.notifiers->head | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cpu | 0-s32max |
| PARAM_VALUE | 0 | policy->cpus | 1-u64max |
| PARAM_VALUE | 0 | policy->freq_table | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor | 0 |
| PARAM_VALUE | 0 | policy->kobj.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | policy->kobj.kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | policy->kobj.ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | policy->kobj.state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | policy->kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | policy->kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | policy->kobj.state_remove_uevent_sent | 0 |
| PARAM_VALUE | 0 | policy->kobj_unregister.done | 0 |
| PARAM_VALUE | 0 | policy->kobj_unregister.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | policy->kobj_unregister.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | policy->kobj_unregister.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | policy->kobj_unregister.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj_unregister.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj_unregister.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj_unregister.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj_unregister.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->nb_max.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->nb_max.notifier_call | 7616948675267461120 |
| PARAM_VALUE | 0 | policy->nb_min.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->nb_min.notifier_call | 2421879883277840384 |
| PARAM_VALUE | 0 | policy->policy_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->policy_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->policy_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->policy_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->policy_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->real_cpus | 1-u64max |
| PARAM_VALUE | 0 | policy->related_cpus | 1-u64max |
| PARAM_VALUE | 0 | policy->rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | policy->transition_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->transition_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->transition_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->transition_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->transition_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | relation | 0 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| CAPPED_DATA | 0 | policy->cpu | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
kernel/sched/build_utility.c cpufreq_policy_apply_limits() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cur | 1-u32max |
| PARAM_VALUE | 0 | policy->fast_switch_enabled | 0 |
| PARAM_VALUE | 0 | policy->governor | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->exit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->flags | 0-2 |
| PARAM_VALUE | 0 | policy->governor->init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->limits | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->show_setspeed | 0,6023193915670159360 |
| PARAM_VALUE | 0 | policy->governor->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->stop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->store_setspeed | 0,5607523499178598400 |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | policy->max | 0-4294967294 |
| PARAM_VALUE | 0 | policy->stats->last_index | 0-4294967295 |
| PARAM_VALUE | 0 | policy->stats->reset_pending | 0-4294967295 |
| PARAM_VALUE | 0 | policy->stats->total_trans | 0-4294967295 |
| PARAM_VALUE | 1 | target_freq | 0-4294967294 |
| PARAM_VALUE | 2 | relation | 5 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->governor | (-1)-0,104 |
| CAPPED_DATA | 0 | policy->governor | 1 |
| CAPPED_DATA | 0 | policy->max | 1 |
| CAPPED_DATA | 1 | target_freq | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| PARAM_COMPARE | 0 | policy->cur | > $0->max |
| PARAM_COMPARE | 1 | target_freq | < $0->cur |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->cur | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| NO_OVERFLOW_SIMPLE | 1 | target_freq | |
| LOCK2 | &sg_policy->work_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem | |
| TYPE_LOCK | (struct sugov_policy)->work_lock |
kernel/sched/build_utility.c cpufreq_policy_apply_limits() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cur | 0-4294967294 |
| PARAM_VALUE | 0 | policy->fast_switch_enabled | 0 |
| PARAM_VALUE | 0 | policy->governor | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->exit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->flags | 0-2 |
| PARAM_VALUE | 0 | policy->governor->init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->limits | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->show_setspeed | 0,6023193915670159360 |
| PARAM_VALUE | 0 | policy->governor->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->stop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->store_setspeed | 0,5607523499178598400 |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | policy->min | 1-u32max |
| PARAM_VALUE | 0 | policy->stats->last_index | 0-4294967295 |
| PARAM_VALUE | 0 | policy->stats->reset_pending | 0-4294967295 |
| PARAM_VALUE | 0 | policy->stats->total_trans | 0-4294967295 |
| PARAM_VALUE | 1 | target_freq | 1-u32max |
| PARAM_VALUE | 2 | relation | 4 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->governor | (-1)-0,104 |
| CAPPED_DATA | 0 | policy->cur | 1 |
| CAPPED_DATA | 0 | policy->governor | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| PARAM_COMPARE | 0 | policy->cur | < $0->min |
| PARAM_COMPARE | 0 | policy->cur | <= $0->max |
| PARAM_COMPARE | 1 | target_freq | > $0->cur |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->cur | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| LOCK2 | &sg_policy->work_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem | |
| TYPE_LOCK | (struct sugov_policy)->work_lock |
kernel/sched/build_utility.c sugov_work() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | relation | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &sg_policy->work_lock | ||
| TYPE_LOCK | (struct sugov_policy)->work_lock |
drivers/cpufreq/cpufreq_conservative.c cs_dbs_update() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data->dbs_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data->idle_periods | 1-4294967295 |
| PARAM_VALUE | 2 | relation | 5 |
| CAPPED_DATA | 1 | target_freq | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_conservative.c cs_dbs_update() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data->dbs_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data->idle_periods | 1-4294967295 |
| PARAM_VALUE | 2 | relation | 4 |
| DATA_SOURCE | 0 | policy | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_ondemand.c dbs_freq_increase() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data->idle_periods | 1-4294967295 |
| PARAM_VALUE | 2 | relation | 4-5 |
| CAPPED_DATA | 0 | policy->max | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | target_freq | $1 [m] |
| FUZZY_MAX | 2 | relation | 5 |
| BIT_INFO | 2 | relation | 0x4,0x5 |
| HARD_MAX | 2 | relation | 5 |
| NOCHECK_CALL | |||
| LOCK2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_ondemand.c od_dbs_update() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data | 4096-ptr_max |
| PARAM_VALUE | 2 | relation | 5 |
| DATA_SOURCE | 0 | policy | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_ondemand.c od_update() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data->dbs_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor_data->idle_periods | 1-4294967295 |
| PARAM_VALUE | 2 | relation | 6 |
| DATA_SOURCE | 0 | policy | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_powersave.c cpufreq_gov_powersave_limits() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->exit | 0,1894474972433793024,2132229015881416704,5925105349801209856 |
| PARAM_VALUE | 0 | policy->governor->flags | 0-2 |
| PARAM_VALUE | 0 | policy->governor->init | 0,2103641439485366272,2343328830101786624,6783820666938757120 |
| PARAM_VALUE | 0 | policy->governor->limits | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->show_setspeed | 0,6023193915670159360 |
| PARAM_VALUE | 0 | policy->governor->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->stop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->store_setspeed | 0,5607523499178598400 |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 2 | relation | 0 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->governor | (-1)-0,104 |
| CAPPED_DATA | 0 | policy->governor | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem |
drivers/cpufreq/cpufreq_governor.c cpufreq_policy_apply_limits() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cur | 1-u32max |
| PARAM_VALUE | 0 | policy->governor | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->exit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->flags | 0-2 |
| PARAM_VALUE | 0 | policy->governor->init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->limits | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->show_setspeed | 0,6023193915670159360 |
| PARAM_VALUE | 0 | policy->governor->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->stop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->store_setspeed | 0,5607523499178598400 |
| PARAM_VALUE | 0 | policy->governor_data | 1-u64max |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | policy->max | 0-4294967294 |
| PARAM_VALUE | 0 | policy->stats->last_index | 0-4294967295 |
| PARAM_VALUE | 0 | policy->stats->reset_pending | 0-4294967295 |
| PARAM_VALUE | 0 | policy->stats->total_trans | 0-4294967295 |
| PARAM_VALUE | 1 | target_freq | 0-4294967294 |
| PARAM_VALUE | 2 | relation | 5 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->governor | (-1)-0,104 |
| CAPPED_DATA | 0 | policy->governor | 1 |
| CAPPED_DATA | 0 | policy->max | 1 |
| CAPPED_DATA | 1 | target_freq | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| PARAM_COMPARE | 0 | policy->cur | > $0->max |
| PARAM_COMPARE | 1 | target_freq | < $0->cur |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->cur | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| NO_OVERFLOW_SIMPLE | 1 | target_freq | |
| LOCK2 | &policy_dbs->update_mutex | ||
| LOCK2 | global &gov_dbs_data_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem | |
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_governor.c cpufreq_policy_apply_limits() -> __cpufreq_driver_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cur | 0-4294967294 |
| PARAM_VALUE | 0 | policy->governor | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->exit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->flags | 0-2 |
| PARAM_VALUE | 0 | policy->governor->init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->limits | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->show_setspeed | 0,6023193915670159360 |
| PARAM_VALUE | 0 | policy->governor->start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->stop | 0,4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor->store_setspeed | 0,5607523499178598400 |
| PARAM_VALUE | 0 | policy->governor_data | 1-u64max |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | policy->min | 1-u32max |
| PARAM_VALUE | 0 | policy->stats->last_index | 0-4294967295 |
| PARAM_VALUE | 0 | policy->stats->reset_pending | 0-4294967295 |
| PARAM_VALUE | 0 | policy->stats->total_trans | 0-4294967295 |
| PARAM_VALUE | 1 | target_freq | 1-u32max |
| PARAM_VALUE | 2 | relation | 4 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->governor | (-1)-0,104 |
| CAPPED_DATA | 0 | policy->cur | 1 |
| CAPPED_DATA | 0 | policy->governor | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| PARAM_COMPARE | 0 | policy->cur | < $0->min |
| PARAM_COMPARE | 0 | policy->cur | <= $0->max |
| PARAM_COMPARE | 1 | target_freq | > $0->cur |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->cur | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| LOCK2 | &policy_dbs->update_mutex | ||
| LOCK2 | global &gov_dbs_data_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem | |
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |