Defined in 2 files as a function:
- drivers/cpufreq/cpufreq_conservative.c, line 20 (as a function)
- drivers/cpufreq/cpufreq_ondemand.h, line 19 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/cpufreq/cpufreq_conservative.c cs_dbs_update() -> to_dbs_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| LOCK2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_conservative.c cs_free() -> to_dbs_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy_dbs | 4096-ptr_max |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| BUF_SIZE | 0 | policy_dbs->dbs_data | (-1),464 |
| BUF_SIZE | 0 | policy_dbs->policy | (-1),1576 |
| DATA_SOURCE | 0 | policy_dbs | $0 |
| STR_LEN | 0 | policy_dbs->policy | (-1),8-9,11-29,31-34,38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | policy_dbs->policy->cur | |
| NO_OVERFLOW_SIMPLE | 0 | policy_dbs->policy->min | |
| LOCK2 | global &gov_dbs_data_mutex | ||
| HALF_LOCKED2 | &policy->rwsem |
drivers/cpufreq/cpufreq_conservative.c cs_limits() -> to_dbs_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy_dbs | 4096-ptr_max |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy_dbs->update_mutex | ||
| LOCK2 | global &gov_dbs_data_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_conservative.c cs_start() -> to_dbs_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy_dbs | 4096-ptr_max |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | global &intel_pstate_limits_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/cpufreq/cpufreq_ondemand.c generic_powersave_bias_target() -> to_dbs_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy_dbs | 4096-ptr_max |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| LOCK2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_ondemand.c od_dbs_update() -> to_dbs_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy_dbs | 4096-ptr_max |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| LOCK2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_ondemand.c od_free() -> to_dbs_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy_dbs | 4096-ptr_max |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| BUF_SIZE | 0 | policy_dbs->dbs_data | (-1),464 |
| BUF_SIZE | 0 | policy_dbs->policy | (-1),1576 |
| DATA_SOURCE | 0 | policy_dbs | $0 |
| STR_LEN | 0 | policy_dbs->policy | (-1),8-9,11-29,31-34,38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | policy_dbs->policy->cur | |
| NO_OVERFLOW_SIMPLE | 0 | policy_dbs->policy->min | |
| LOCK2 | global &gov_dbs_data_mutex | ||
| HALF_LOCKED2 | &policy->rwsem |
drivers/cpufreq/cpufreq_ondemand.c od_start() -> to_dbs_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy_dbs | 4096-ptr_max |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | global &intel_pstate_limits_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/cpufreq/cpufreq_ondemand.c od_update() -> to_dbs_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy_dbs | 4096-ptr_max |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| LOCK2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_ondemand.c ondemand_powersave_bias_init() -> to_dbs_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr_set->update_lock | ||
| HALF_LOCKED2 | &of->mutex |