函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\qos.c Create Date:2022-07-27 10:56:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pm_qos_add_request - inserts new qos request into the list*@req: pointer to a preallocated handle*@pm_qos_class: identifies which list of qos request to use*@value: defines the qos request* This function inserts a new entry in the pm_qos_class list of

函数原型:void pm_qos_add_request(struct pm_qos_request *req, int pm_qos_class, s32 value)

返回类型:void

参数:

类型参数名称
struct pm_qos_request *req
intpm_qos_class
s32value
392  如果非req则返回
395  如果pm_qos_request_active(req)则
396  WARN(1, r conditions "pm_qos_add_request() called for already added request\n")
397  返回
399  pm_qos_class等于pm_qos_class
400  INIT_DELAYED_WORK( & for pm_qos_update_request_timeout , pm_qos_work_fn - the timeout handler of pm_qos_update_request_timeout*@work: work struct for the delayed work (timeout)* This cancels the timeout request by falling back to the default at timeout.)
401  trace_pm_qos_add_request(pm_qos_class, value)
402  pm_qos_update_target - manages the constraints list and calls the notifiers* if needed*@c: constraints data struct*@node: request to add to the list, to update or to remove*@action: action to take on the constraints list*@value: value of the request to
调用者
名称描述
pm_qos_power_open