Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cpufreq/cpufreq.c __cpufreq_driver_target() -> __resolve_freq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 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 | 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 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | target_freq | $1 |
| DATA_SOURCE | 4 | relation | $2 |
| 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 |
| HARD_MAX | 4 | relation | 6 |
| 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 | 1 | target_freq | |
| NO_OVERFLOW_SIMPLE | 3 | max | |
| 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.c cpufreq_driver_resolve_freq() -> __resolve_freq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 4 | relation | 4 |
| CAPPED_DATA | 2 | min | 1 |
| DATA_SOURCE | 0 | policy | $0 |
| DATA_SOURCE | 1 | target_freq | $1 |
| PARAM_COMPARE | 2 | min | <= $3 |
| PARAM_COMPARE | 3 | max | >= $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sg_policy->update_lock |
drivers/cpufreq/cpufreq.c cpufreq_set_policy() -> __resolve_freq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 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 | relation | 1 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->cdev | (-1),1880 |
| 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->cur | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem |
drivers/cpufreq/cpufreq.c cpufreq_set_policy() -> __resolve_freq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->freq_table | 0,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 | relation | 0 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy->cdev | (-1),1880 |
| 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->cur | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem |