Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/cpufreq/cpufreq.c __resolve_freq() -> cpufreq_frequency_table_target()

Type Parameter Key Value
PARAM_VALUE 0 policy 4096-ptr_max
PARAM_VALUE 0 policy->freq_table 1-u64max
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 relation 0-1,4-6
BUF_SIZE 0 policy (-1),1576
BUF_SIZE 0 policy (-1),1576
BUF_SIZE 0 policy->governor (-1)-0,104
CAPPED_DATA 2 min 1
DATA_SOURCE 0 policy $0
DATA_SOURCE 1 target_freq $1 [m]
DATA_SOURCE 2 min $2
DATA_SOURCE 3 max $3
DATA_SOURCE 4 relation $4
FUZZY_MAX 4 relation 5
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)
PARAM_COMPARE 1 target_freq <= $3
PARAM_COMPARE 1 target_freq >= $2
PARAM_COMPARE 2 min <= $1
PARAM_COMPARE 3 max >= $1
HARD_MAX 4 relation 6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 policy->cached_target_freq
NO_OVERFLOW_SIMPLE 0 policy->cur
NO_OVERFLOW_SIMPLE 0 policy->max
NO_OVERFLOW_SIMPLE 0 policy->min
NO_OVERFLOW_SIMPLE 1 target_freq
NO_OVERFLOW_SIMPLE 2 min
NO_OVERFLOW_SIMPLE 3 max
HALF_LOCKED2 0 &policy->rwsem

drivers/cpufreq/cpufreq_ondemand.c generic_powersave_bias_target() -> cpufreq_frequency_table_target()

Type Parameter Key Value
PARAM_VALUE 0 policy 4096-ptr_max
PARAM_VALUE 0 policy->freq_table 1-u64max
PARAM_VALUE 0 policy->governor_data 4096-ptr_max
PARAM_VALUE 0 policy->governor_data->idle_periods 1-4294967295
PARAM_VALUE 4 relation 4-5
DATA_SOURCE 0 policy $0
DATA_SOURCE 1 target_freq $1
DATA_SOURCE 4 relation $2
HARD_MAX 4 relation 5
LOCK2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct policy_dbs_info)->update_mutex