函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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_action | action | |
s32 | val |
302 | spin_lock_irqsave( & pm_qos_lock, irqflags) |
304 | prev_value等于如果链表为空则0否则 Do not change to 64 bit |
307 | 当:action恒等于PM_QOS_REMOVE_REQ |
309 | 退出 |
313 | 当:action恒等于Add a new request |
319 | 默认 |
324 | curr_value等于如果链表为空则0否则 Do not change to 64 bit |
326 | spin_unlock_irqrestore( & pm_qos_lock, irqflags) |
329 | 返回:prev_value不等于curr_value |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |