Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/acpi/processor_perflib.c, line 193
- drivers/acpi/processor_thermal.c, line 173
- drivers/base/power/qos-test.c
- drivers/base/power/qos.c
- drivers/cpufreq/amd-pstate.c
- drivers/cpufreq/cpufreq.c
- drivers/cpufreq/intel_pstate.c
- drivers/cpufreq/scmi-cpufreq.c, line 308
- drivers/macintosh/windfarm_cpufreq_clamp.c, line 79
- drivers/powercap/dtpm_cpu.c, line 235
- drivers/thermal/cpufreq_cooling.c, line 580
- kernel/power/qos.c, line 672
Smatch caller information:
drivers/base/power/qos.c __dev_pm_qos_add_request() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | value | 0-1,30,100,s32max |
| CAPPED_DATA | 3 | value | 1 |
| DATA_SOURCE | 3 | value | $3 |
| NOSPEC | 3 | value | |
| HARD_MAX | 3 | value | s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | value | |
| LOCK2 | global &dev_pm_qos_mtx | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | global &usb_port_peer_mutex |
drivers/base/power/qos.c __dev_pm_qos_add_request() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | value | 0-s32max |
| CAPPED_DATA | 3 | value | 1 |
| DATA_SOURCE | 3 | value | $3 |
| FUZZY_MAX | 3 | value | s32max |
| NOSPEC | 3 | value | |
| NOSPEC | 3 | value | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | value | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 3 | value | |
| LOCK2 | global &dev_pm_qos_mtx | ||
| HALF_LOCKED2 | &of->mutex |
drivers/thermal/cpufreq_cooling.c __cpufreq_cooling_register() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/powercap/dtpm_cpu.c __dtpm_cpu_setup() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &dtpm_lock |
drivers/acpi/processor_thermal.c acpi_thermal_cpufreq_init() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | value | s32max |
drivers/cpufreq/cpufreq.c cpufreq_policy_init_qos() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
drivers/cpufreq/cpufreq.c cpufreq_policy_init_qos() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1 |
drivers/cpufreq/cpufreq.c cpufreq_policy_init_qos() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.list.node_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | value | 1-s32max |
| CAPPED_DATA | 3 | value | 1 |
drivers/cpufreq/intel_pstate.c intel_cpufreq_cpu_init() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.default_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.target_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.type | 2 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1 |
| BUF_SIZE | 1 | req | 112 |
| BUF_SIZE | 1 | req | 112 |
| DATA_SOURCE | 1 | req | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/intel_pstate.c intel_cpufreq_cpu_init() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.default_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.list.node_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.target_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.type | 2 |
| PARAM_VALUE | 2 | type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_cpu_init() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.default_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.target_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.type | 2 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | value | 0 |
| BUF_SIZE | 1 | req | 112 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/amd-pstate.c amd_pstate_cpu_init() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.default_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.list.node_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.target_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.type | 2 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | value | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/base/power/qos-test.c freq_qos_test_maxdef() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 9191342642526277632 |
| PARAM_VALUE | 0 | qos->max_freq.default_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.target_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.type | 2 |
| PARAM_VALUE | 1 | req | 8543757366927101952 |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | value | s32max |
| MEM_ZERO | 1 | req |
drivers/base/power/qos-test.c freq_qos_test_maxdef() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 9191342642526277632 |
| PARAM_VALUE | 0 | qos->max_freq.default_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.target_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.type | 2 |
| PARAM_VALUE | 1 | req | 5744537876260929536 |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | value | s32max |
| MEM_ZERO | 1 | req |
drivers/base/power/qos-test.c freq_qos_test_min() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 5050697518536597504 |
| PARAM_VALUE | 0 | qos->max_freq.default_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.target_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.type | 2 |
| PARAM_VALUE | 1 | req | 4616089971171610624 |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | value | 1000 |
| MEM_ZERO | 1 | req |
drivers/base/power/qos-test.c freq_qos_test_min() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 5050697518536597504 |
| PARAM_VALUE | 0 | qos->max_freq.default_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.target_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.type | 2 |
| PARAM_VALUE | 1 | req | 6569989318087974912 |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | value | 2000 |
| MEM_ZERO | 1 | req |
drivers/base/power/qos-test.c freq_qos_test_readd() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 3002549905576435712 |
| PARAM_VALUE | 0 | qos->max_freq.default_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.target_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.type | 2 |
| PARAM_VALUE | 1 | req | 4149385656188923904 |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | value | 1000 |
| MEM_ZERO | 1 | req |
drivers/base/power/qos-test.c freq_qos_test_readd() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 3002549905576435712 |
| PARAM_VALUE | 0 | qos->max_freq.default_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.target_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.type | 2 |
| PARAM_VALUE | 1 | req | 4149385656188923904 |
| PARAM_VALUE | 1 | req->qos | 0 |
| PARAM_VALUE | 1 | req->type | 0-2 |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | value | 2000 |
| MEM_ZERO | 1 | req |
drivers/cpufreq/scmi-cpufreq.c scmi_cpufreq_init() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.default_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.target_value | s32max |
| PARAM_VALUE | 0 | qos->max_freq.type | 2 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | value | s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/acpi/processor_perflib.c acpi_processor_ppc_init() -> freq_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qos | 4096-ptr_max |
| PARAM_VALUE | 0 | qos->max_freq.list.node_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | value | s32max |