Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cpufreq/cpufreq_governor.c cpufreq_dbs_governor_limits() -> gov_update_sample_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy_dbs | 1-u64max |
| PARAM_VALUE | 1 | delay_us | 0 |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| BUF_SIZE | 0 | policy_dbs | 160,336,496 |
| CAPPED_DATA | 0 | &policy_dbs->update_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &gov_dbs_data_mutex | ||
| LOCK2 | 0 | &policy_dbs->update_mutex | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_governor.c dbs_work_handler() -> gov_update_sample_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy_dbs | 4096-ptr_max |
| CAPPED_DATA | 0 | &policy_dbs->update_mutex | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &policy_dbs->update_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |
drivers/cpufreq/cpufreq_governor.c gov_set_update_util() -> gov_update_sample_delay()
| 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 |
| DATA_SOURCE | 0 | policy_dbs | $0 |
| DATA_SOURCE | 1 | delay_us | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | global &intel_pstate_limits_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/cpufreq/cpufreq_governor.c sampling_rate_store() -> gov_update_sample_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy_dbs | 4096-ptr_max |
| PARAM_VALUE | 1 | delay_us | 0 |
| CAPPED_DATA | 0 | &policy_dbs->list | 1 |
| CAPPED_DATA | 0 | &policy_dbs->update_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &attr_set->update_lock | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &policy_dbs->update_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gov_attr_set)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct policy_dbs_info)->update_mutex |