Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cpufreq/amd-pstate.c amd_pstate_cpu_exit() -> amd_pstate_set_floor_perf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cdev->device.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | policy->cdev->device.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | policy->driver_data | 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 |
| DATA_SOURCE | 0 | policy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_cpu_offline() -> amd_pstate_set_floor_perf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cpus->bits | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->driver_data | 4096-ptr_max |
| DATA_SOURCE | 0 | policy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_cpu_online() -> amd_pstate_set_floor_perf()
| 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->cpus | 1-u64max |
| PARAM_VALUE | 0 | policy->driver_data | 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.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 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | perf | r freq_to_perf |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | policy | (-1),8-9,11-29,31-34,38 |
| BIT_INFO | 0 | policy->cpu | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_epp_cpu_exit() -> amd_pstate_set_floor_perf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cdev->device.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | policy->cdev->device.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | policy->driver_data | 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 |
| DATA_SOURCE | 0 | policy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | policy->cached_target_freq | |
| NO_OVERFLOW_SIMPLE | 0 | policy->max | |
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_epp_resume() -> amd_pstate_set_floor_perf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->driver_data | 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 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | perf | r freq_to_perf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | 0 | &policy->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_init_floor_perf() -> amd_pstate_set_floor_perf()
| 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-8192 |
| PARAM_VALUE | 0 | policy->cpuinfo.max_freq | 1-u32max |
| PARAM_VALUE | 0 | policy->cpus | 1-u64max |
| PARAM_VALUE | 0 | policy->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->governor | 0 |
| PARAM_VALUE | 0 | policy->kobj.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.entry.prev->prev | 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.ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| 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 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->driver_data | 296 |
| 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 |
| CONSTRAINT | 0 | policy | <3035 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_resume() -> amd_pstate_set_floor_perf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->driver_data | 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 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | perf | r freq_to_perf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | 0 | &policy->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_suspend() -> amd_pstate_set_floor_perf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->driver_data | 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->stop | 0,4096-ptr_max |
| DATA_SOURCE | 0 | policy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem |
drivers/cpufreq/amd-pstate.c store_amd_pstate_floor_freq() -> amd_pstate_set_floor_perf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->driver_data | 4096-ptr_max |
| CAPPED_DATA | 0 | policy->cpuinfo.min_freq | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | perf | r freq_to_perf |
| STR_LEN | 0 | policy | (-1),4095 |
| STR_LEN | 0 | policy | (-1),4095 |
| PARAM_COMPARE | 0 | policy->cpuinfo.min_freq | <= $0->max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &policy->rwsem |