Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pm_qos_power_write

Proto:static ssize_t pm_qos_power_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos)

Type:ssize_t

Parameter:

TypeParameterName
struct file *filp
const char __user *buf
size_tcount
loff_t *f_pos
612  If count == sizeof(s32) Then
613  If copy_from_user( & value, buf, sizeof(s32)) Then Return -EFAULT
615  Else
618  ret = kstrtos32_from_user(buf, count, 16, & value)
619  If ret Then Return ret
623  req = needed for tty driver, and maybe others
624  pm_qos_update_request - modifies an existing qos request*@req : handle to list element holding a pm_qos request to use*@value: defines the qos request* Updates an existing qos request for the pm_qos_class of parameters along
626  Return count