Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/cpufreq/amd_freq_sensitivity.c amd_powersave_bias_target() -> cpufreq_table_find_index_h()

Type Parameter Key Value
PARAM_VALUE 0 policy 4096-ptr_max
PARAM_VALUE 0 policy->freq_table 1-u64max
CAPPED_DATA 0 policy->cur 1
CAPPED_DATA 1 target_freq 1
DATA_SOURCE 0 policy $0
BIT_INFO 2 efficiencies 0x0,0x4
LOCK2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct policy_dbs_info)->update_mutex

drivers/cpufreq/s5pv210-cpufreq.c s5pv210_target() -> cpufreq_table_find_index_h()

Type Parameter Key Value
PARAM_VALUE 0 policy 4096-ptr_max
PARAM_VALUE 0 policy->freq_table 4096-ptr_max
PARAM_VALUE 2 efficiencies 0
BUF_SIZE 0 policy (-1),1576
BUF_SIZE 0 policy (-1),1576
BUF_SIZE 0 policy->governor (-1)-0,104
CAPPED_DATA 0 policy->stats->max_state 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
STR_LEN 0 policy->cpu (-1)
RX_PATH
TASK_NOT_RUNNING
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
NO_OVERFLOW_SIMPLE 1 target_freq
LOCK2 global &set_freq_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sg_policy->work_lock
HALF_LOCKED2 &userspace->mutex
HALF_LOCKED2 global &gov_dbs_data_mutex
HALF_LOCKED2 0 &policy->rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 policy 4096-ptr_max
PARAM_VALUE 0 policy->freq_table 4096-ptr_max
DATA_SOURCE 0 policy $0
BIT_INFO 2 efficiencies 0x0,0x4
LOCK2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct policy_dbs_info)->update_mutex