Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/acpi/processor_perflib.c, line 99
- drivers/acpi/processor_thermal.c, line 103
- drivers/base/power/qos-test.c
- drivers/cpufreq/amd-pstate.c, line 836
- drivers/cpufreq/cpufreq.c
- drivers/cpufreq/intel_pstate.c, line 1669
- drivers/cpufreq/scmi-cpufreq.c, line 191
- drivers/macintosh/windfarm_cpufreq_clamp.c, line 36
- drivers/powercap/dtpm_cpu.c, line 66
- drivers/thermal/cpufreq_cooling.c, line 490
- kernel/power/qos.c, line 699
Smatch caller information:
drivers/thermal/cpufreq_cooling.c cpufreq_set_cur_state() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 1 | new_value | r get_state_freq |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_cooling_device)->lock |
drivers/powercap/dtpm_cpu.c set_pd_power_limit() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/acpi/processor_thermal.c cpufreq_update_thermal_limit() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->qos | 1-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_cooling_device)->lock |
drivers/cpufreq/cpufreq.c policy_set_boost() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem |
drivers/cpufreq/cpufreq.c store_scaling_max_freq() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new_value | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 1 | new_value | |
| LOCK2 | &of->mutex | ||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/cpufreq.c store_scaling_min_freq() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new_value | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 1 | new_value | |
| LOCK2 | &of->mutex | ||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/intel_pstate.c update_cpu_qos_request() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 1-u64max |
| BUF_SIZE | 0 | req | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | req | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | req | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/amd-pstate.c amd_pstate_cpu_boost_update() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem |
drivers/base/power/qos-test.c freq_qos_test_maxdef() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 8543757366927101952 |
| PARAM_VALUE | 0 | req->qos | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->type | 0-2 |
| PARAM_VALUE | 1 | new_value | 1000 |
| MEM_ZERO | 0 | req |
drivers/base/power/qos-test.c freq_qos_test_maxdef() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 5744537876260929536 |
| PARAM_VALUE | 0 | req->qos | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->type | 0-2 |
| PARAM_VALUE | 1 | new_value | 2000 |
| MEM_ZERO | 0 | req |
drivers/cpufreq/scmi-cpufreq.c scmi_limit_notify_cb() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
drivers/acpi/processor_perflib.c acpi_processor_get_platform_limit() -> freq_qos_update_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->qos | 1-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |