函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pm_qos_power_read

函数原型:static ssize_t pm_qos_power_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos)

返回类型:ssize_t

参数:

类型参数名称
struct file *filp
char __user *buf
size_tcount
loff_t *f_pos
592  req等于 needed for tty driver, and maybe others
594  如果非req则返回:负EINVAL
596  如果非pm_qos_request_active(req)则返回:负EINVAL
599  spin_lock_irqsave( & pm_qos_lock, flags)
600  value等于locked internal variant
601  spin_unlock_irqrestore( & pm_qos_lock, flags)
603  返回:simple_read_from_buffer(buf, count, f_pos, & value, sizeof(s32))