函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ioprio.h Create Date:2022-07-27 06:44:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This is for the case where the task hasn't asked for a specific IO class.* Check for idle and rt task process, and return appropriate IO class.

函数原型:static inline int task_nice_ioclass(struct task_struct *task)

返回类型:int

参数:

类型参数名称
struct task_struct *task
65  如果policy恒等于SCHED_ISO: reserved but not implemented yet 则返回:IOPRIO_CLASS_IDLE
67  否则如果task_is_realtime(task)则返回:IOPRIO_CLASS_RT
69  否则返回:IOPRIO_CLASS_BE
调用者
名称描述
bfq_set_next_ioprio_dataUpdate the entity prio values; note that the new values will not* be used until the next (re)activation.