Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\qos.c Create Date:2022-07-28 09:56:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void pm_qos_add_request(struct pm_qos_request *req, int pm_qos_class, s32 value)

Type:void

Parameter:

TypeParameterName
struct pm_qos_request *req
intpm_qos_class
s32value
392  If Not req Then Return
395  If pm_qos_request_active(req) Then
396  WARN(1, r conditions "pm_qos_add_request() called for already added request\n")
397  Return
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
Caller
NameDescribe
pm_qos_power_open