Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/cpufreq/amd-pstate-ut.c amd_pstate_ut_epp() -> show_energy_performance_preference()

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
PARAM_VALUE 0 policy->rwsem.dep_map->name 0-255
PARAM_VALUE 0 policy->rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 policy->rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 policy->rwsem.first_waiter->type 0-1
PARAM_VALUE 0 policy->rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 0 policy->rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 policy->rwsem.wait_lock.owner (-1)
PARAM_VALUE 0 policy->rwsem.wait_lock.owner_cpu u32max
PARAM_VALUE 1 buf 18379471554275704832,18446612682070032384
CAPPED_DATA 0 &policy->rwsem 1
DATA_SOURCE 0 policy r cpufreq_cpu_get
DATA_SOURCE 1 buf r get_free_pages_noprof
STR_LEN 0 policy 4095
STR_LEN 1 buf 4095
MEM_ZERO 1 buf
LOCK2 0 &policy->rwsem
TYPE_LOCK (struct cpufreq_policy)->rwsem

drivers/cpufreq/amd-pstate-ut.c amd_pstate_ut_epp() -> show_energy_performance_preference()

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
PARAM_VALUE 0 policy->driver_data->dynamic_epp 0-1
PARAM_VALUE 0 policy->rwsem.dep_map->name 0-255
PARAM_VALUE 0 policy->rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 policy->rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 policy->rwsem.first_waiter->type 0-1
PARAM_VALUE 0 policy->rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 0 policy->rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 policy->rwsem.wait_lock.owner (-1)
PARAM_VALUE 0 policy->rwsem.wait_lock.owner_cpu u32max
PARAM_VALUE 1 buf 18379471554275704832,18446612682070032384
CAPPED_DATA 0 &policy->rwsem 1
DATA_SOURCE 0 policy r cpufreq_cpu_get
DATA_SOURCE 1 buf r get_free_pages_noprof
STR_LEN 0 policy 4095
STR_LEN 1 buf 4095
MEM_ZERO 1 buf
LOCK2 0 &policy->rwsem
TYPE_LOCK (struct cpufreq_policy)->rwsem

drivers/cpufreq/cpufreq.c show() -> (struct freq_attr)->show()

Type Parameter Key Value
PARAM_VALUE 0 policy 4096-ptr_max
PARAM_VALUE 1 buf 1-u64max
CAPPED_DATA 1 buf 1
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->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