Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 11 files:
- drivers/base/power/qos.c
- drivers/devfreq/devfreq.c
- drivers/gpu/drm/msm/msm_gpu_devfreq.c, line 161
- drivers/interconnect/imx/imx.c, line 157
- drivers/interconnect/samsung/exynos.c, line 152
- drivers/mtd/nand/raw/sh_flctl.c, line 939
- drivers/powercap/dtpm_devfreq.c, line 178
- drivers/thermal/devfreq_cooling.c, line 446
- drivers/usb/core/port.c, line 800
- fs/resctrl/pseudo_lock.c, line 163
- include/trace/events/power.h, line 476
Smatch caller information:
drivers/usb/core/port.c usb_hub_create_port_device() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 5 |
| PARAM_VALUE | 3 | value | 1 |
| BUF_SIZE | 1 | req | 72 |
| DATA_SOURCE | 1 | req | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &usb_port_peer_mutex |
fs/resctrl/pseudo_lock.c pseudo_lock_cstates_constrain() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | value | 30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/base/power/qos.c dev_pm_qos_add_ancestor_request() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->dev | 0 |
| PARAM_VALUE | 2 | type | 1-2 |
| PARAM_VALUE | 3 | value | 100 |
| DATA_SOURCE | 1 | req | $1 |
| DATA_SOURCE | 2 | type | $2 |
| DATA_SOURCE | 3 | value | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/base/power/qos.c dev_pm_qos_expose_flags() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 5 |
| PARAM_VALUE | 3 | value | 0-1 |
| BUF_SIZE | 1 | req | 72 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | req | r _kzalloc_noprof |
| DATA_SOURCE | 3 | value | $1 |
| HARD_MAX | 3 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &usb_port_peer_mutex |
drivers/base/power/qos.c dev_pm_qos_expose_latency_limit() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | value | 100,s32max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | req | 72 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | req | r _kzalloc_noprof |
| DATA_SOURCE | 3 | value | $1 |
| HARD_MAX | 3 | value | s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/msm/msm_gpu_devfreq.c msm_devfreq_init() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/thermal/devfreq_cooling.c of_devfreq_cooling_register_power() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 4 |
| PARAM_VALUE | 3 | value | s32max |
| CAPPED_DATA | 0 | dev | 1 |
| STR_LEN | 0 | dev | (-1) |
| STR_LEN | 0 | dev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/powercap/dtpm_devfreq.c __dtpm_devfreq_setup() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 4 |
| PARAM_VALUE | 3 | value | s32max |
| CAPPED_DATA | 0 | dev | 1 |
| NO_OVERFLOW_SIMPLE | 0 | dev->em_pd->nr_perf_states | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | global &dtpm_lock |
drivers/interconnect/imx/imx.c imx_icc_node_init_qos() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | value | 0 |
| BUF_SIZE | 0 | dev | 0,1616 |
| BUF_SIZE | 0 | dev | 0,1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/interconnect/samsung/exynos.c exynos_generic_icc_probe() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 0,4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | value | 0 |
| MEM_ZERO | 1 | req | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/devfreq/devfreq.c devfreq_add_device() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | value | 0 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 [m] |
| STR_LEN | 0 | dev | 7,9,12,15 |
| STR_LEN | 0 | dev | 7,9,12,15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/devfreq/devfreq.c devfreq_add_device() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos | 1-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos->flags.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos->flags.list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.default_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.target_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.type | 2 |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 4 |
| PARAM_VALUE | 3 | value | s32max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 [m] |
| STR_LEN | 0 | dev | 7,9,12,15 |
| STR_LEN | 0 | dev | 7,9,12,15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/mtd/nand/raw/sh_flctl.c flctl_select_chip() -> dev_pm_qos_add_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | value | 100 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock | ||
| HALF_LOCKED2 | &spinand->lock | ||
| HALF_LOCKED2 | _T->lock |