函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pm_qos_update_flags - Update a set of PM QoS flags

函数原型:bool pm_qos_update_flags(struct pm_qos_flags *pqf, struct pm_qos_flags_request *req, enum pm_qos_req_action action, s32 val)

返回类型:bool

参数:

类型参数名称
struct pm_qos_flags *pqf
struct pm_qos_flags_request *req
enum pm_qos_req_actionaction
s32val
302  spin_lock_irqsave( & pm_qos_lock, irqflags)
304  prev_value等于如果链表为空则0否则 Do not change to 64 bit
307  :action恒等于PM_QOS_REMOVE_REQ
308  pm_qos_flags_remove_req - Remove device PM QoS flags request.*@pqf: Device PM QoS flags set to remove the request from.*@req: Request to remove from the set.
309  退出
310  :action恒等于Update an existing request
311  pm_qos_flags_remove_req - Remove device PM QoS flags request.*@pqf: Device PM QoS flags set to remove the request from.*@req: Request to remove from the set.
313  :action恒等于Add a new request
314  Do not change to 64 bit 等于val
315  初始化链表头
316  添加链表项
317  Do not change to 64 bit 或等于val
318  退出
319  默认
324  curr_value等于如果链表为空则0否则 Do not change to 64 bit
326  spin_unlock_irqrestore( & pm_qos_lock, irqflags)
328  trace_pm_qos_update_flags(action, prev_value, curr_value)
329  返回:prev_value不等于curr_value