Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:locked internal variant

Proto:static inline int pm_qos_get_value(struct pm_qos_constraints *c)

Type:int

Parameter:

TypeParameterName
struct pm_qos_constraints *c
105  total_value = 0
107  If plist_head_empty - return !0 if a plist_head is empty*@head: &struct plist_head pointer Then Return no_constraint_value
111  Case type == return the smallest value
112  Return prio
114  Case type == return the largest value
115  Return prio
117  Case type == PM_QOS_SUM
118  plist_for_each - iterate over the plist*@pos: the type * to use as a loop counter*@head: the head for your list(node, & list)
119  total_value += prio
121  Return total_value
123  Default
125  BUG()
126  Return PM_QOS_DEFAULT_VALUE
Caller
NameDescribe
pm_qos_debug_show
pm_qos_update_targetpm_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_read