Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cpufreq/amd-pstate.c amd_pstate_cpu_init() -> amd_pstate_cppc_enable()
| 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->cpuinfo.transition_latency | 0-s32max |
| 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_delay_us | 0-2147483 |
| 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->cpu | <3035 |
| 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_cpu_online() -> amd_pstate_cppc_enable()
| 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->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 |
| 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_init() -> amd_pstate_cppc_enable()
| 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.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 |
| 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->cpu | <3035 |
| 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 |