Function report |
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 activity | Download SCCT | Chinese |
Name:locked internal variant
Proto:static inline int pm_qos_get_value(struct pm_qos_constraints *c)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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 |
Name | Describe |
---|---|
pm_qos_debug_show | |
pm_qos_update_target | 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_read |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |