Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cpufreq/cpufreq.c cpufreq_frequency_table_target() -> find_index_l()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->freq_table | 1-u64max |
| PARAM_VALUE | 0 | policy->freq_table_sorted | 1-u32max |
| 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 |
| DATA_SOURCE | 2 | min | $2 |
| DATA_SOURCE | 3 | max | $3 |
| 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) |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | |
| NO_OVERFLOW_SIMPLE | 2 | min | |
| NO_OVERFLOW_SIMPLE | 3 | max | |
| HALF_LOCKED2 | 0 | &policy->rwsem |
drivers/cpufreq/cpufreq_ondemand.c cpufreq_frequency_table_target() -> find_index_l()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->freq_table | 1-u64max |
| PARAM_VALUE | 0 | policy->freq_table_sorted | 1-u32max |
| CAPPED_DATA | 2 | min | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | target_freq | $1 |
| DATA_SOURCE | 2 | min | $2 |
| DATA_SOURCE | 3 | max | $3 |
| LOCK2 | &policy_dbs->update_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_ondemand.c cpufreq_table_find_index_l() -> find_index_l()
| 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 |
| DATA_SOURCE | 1 | target_freq | $1 |
| DATA_SOURCE | 4 | efficiencies | $2 |
| BIT_INFO | 4 | efficiencies | 0x0,0x0 |
| LOCK2 | &policy_dbs->update_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |