函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\ioprio.c Create Date:2022-07-27 18:58:11
Last Modify:2020-03-17 23:21:05 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_task_ioprio

函数原型:static int get_task_ioprio(struct task_struct *p)

返回类型:int

参数:

类型参数名称
struct task_struct *p
164  ret等于security_task_getioprio(p)
165  如果ret则转到: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  如果io_contextret等于ioprio
171  task_unlock(p)
172  out :
173  返回:ret
调用者
名称描述
SYSCALL_DEFINE2