Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\ioprio.c Create Date:2022-07-28 17:22:51
Last Modify:2020-03-17 23:21:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_task_ioprio

Proto:static int get_task_ioprio(struct task_struct *p)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
164  ret = security_task_getioprio(p)
165  If ret Then Go to out
167  ret = IOPRIO_PRIO_VALUE(IOPRIO_CLASS_NONE, Fallback BE priority)
168  Protects ->fs, ->files, ->mm, ->group_info, ->comm, keyring* subscriptions and synchronises with wait4(). Also used in procfs. Also* pins the final release of task.io_context. Also protects ->cpuset and* ->cgroup.subsys[]. And ->vfork_done.
169  If io_context Then ret = ioprio
171  task_unlock(p)
172  out :
173  Return ret
Caller
NameDescribe
SYSCALL_DEFINE2