Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/cpufreq/intel_pstate.c intel_pstate_set_energy_pref_index() -> intel_pstate_set_epp()

Type Parameter Key Value
DATA_SOURCE 0 cpu $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &policy->rwsem
LOCK2 global &intel_pstate_limits_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cpufreq_policy)->rwsem
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/cpufreq/intel_pstate.c intel_pstate_update_epp_defaults() -> intel_pstate_set_epp()

Type Parameter Key Value
PARAM_VALUE 0 cpu 4096-ptr_max
PARAM_VALUE 0 cpu->epp_default 128
PARAM_VALUE 1 epp 128
BUF_SIZE 0 cpu (-1),528
BUF_SIZE 0 cpu (-1),528
DATA_SOURCE 0 cpu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &policy->rwsem

drivers/cpufreq/intel_pstate.c store_energy_performance_preference() -> intel_pstate_set_epp()

Type Parameter Key Value
PARAM_VALUE 0 cpu 4096-ptr_max
PARAM_COMPARE 0 cpu->epp_cached != $1
PARAM_COMPARE 1 epp != $0->epp_cached
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 epp
LOCK2 &of->mutex
LOCK2 &policy->rwsem
LOCK2 global &intel_pstate_limits_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cpufreq_policy)->rwsem
TYPE_LOCK (struct kernfs_open_file)->mutex