Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/cpufreq/amd-pstate.c, line 855
- drivers/cpufreq/cpufreq.c
- drivers/cpufreq/intel_pstate.c, line 1472
Smatch caller information:
drivers/cpufreq/cpufreq.c cpufreq_policy_refresh() -> refresh_frequency_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cpus->bits | 4096-ptr_max |
| DATA_SOURCE | 0 | policy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq.c handle_update() -> refresh_frequency_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/intel_pstate.c __intel_pstate_update_max_freq() -> refresh_frequency_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->cpus->bits | 4096-ptr_max |
| DATA_SOURCE | 0 | policy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &policy->rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_set_boost() -> refresh_frequency_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy | 4096-ptr_max |
| PARAM_VALUE | 0 | policy->boost_supported | 1 |
| PARAM_VALUE | 0 | policy->driver_data | 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,2103641439485366272,2343328830101786624,6783820666938757120 |
| 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 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| BUF_SIZE | 0 | policy | (-1),1576 |
| DATA_SOURCE | 0 | policy | $0 |
| 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->max | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &policy->rwsem |