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_update_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->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 2 des_perf 0
PARAM_VALUE 3 max_perf 0
PARAM_VALUE 4 epp 0
PARAM_VALUE 5 fast_switch 0
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_update_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
PARAM_VALUE 5 fast_switch 0
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_epp_cpu_exit() -> amd_pstate_update_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
PARAM_VALUE 2 des_perf 0
PARAM_VALUE 3 max_perf 0
PARAM_VALUE 4 epp 0
PARAM_VALUE 5 fast_switch 0
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_update_limit() -> amd_pstate_update_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->limits 0,4096-ptr_max
PARAM_VALUE 0 policy->governor->start 0,4096-ptr_max
PARAM_VALUE 0 policy->kobj.sd->attr.open->nr_mmapped 0-4294967295
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 2 des_perf 0
PARAM_VALUE 5 fast_switch 0
BUF_SIZE 0 policy (-1),1576
BUF_SIZE 0 policy (-1),1576
DATA_SOURCE 0 policy $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 policy->cached_target_freq
NO_OVERFLOW_SIMPLE 0 policy->max
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 0 &policy->rwsem

drivers/cpufreq/amd-pstate.c amd_pstate_resume() -> amd_pstate_update_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
PARAM_VALUE 4 epp 0
PARAM_VALUE 5 fast_switch 0
DATA_SOURCE 0 policy $0
DATA_SOURCE 2 des_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_update_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
PARAM_VALUE 5 fast_switch 0
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 amd_pstate_update() -> amd_pstate_update_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 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 0,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 4 epp 0
BUF_SIZE 0 policy (-1),1576
BUF_SIZE 0 policy (-1),1576
BUF_SIZE 0 policy->governor (-1)-0,104
DATA_SOURCE 0 policy $0
DATA_SOURCE 1 min_perf $1 [m]
DATA_SOURCE 2 des_perf $2 [m]
DATA_SOURCE 3 max_perf $3 [m]
DATA_SOURCE 5 fast_switch $4
STR_LEN 0 policy (-1),8-9,11-29,31-34,38
STR_LEN 0 policy (-1),8-9,11-29,31-34,38
STR_LEN 0 policy->cpu (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 policy->cached_target_freq
NO_OVERFLOW_SIMPLE 0 policy->clk->core->req_rate
NO_OVERFLOW_SIMPLE 0 policy->cur
NO_OVERFLOW_SIMPLE 0 policy->max
NO_OVERFLOW_SIMPLE 0 policy->min
HALF_LOCKED2 0 &policy->rwsem