函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ioprio_best

函数原型:int ioprio_best(unsigned short aprio, unsigned short bprio)

返回类型:int

参数:

类型参数名称
unsigned shortaprio
unsigned shortbprio
178  如果非ioprio_valid(aprio)则aprio等于IOPRIO_PRIO_VALUE(IOPRIO_CLASS_BE, Fallback BE priority)
180  如果非ioprio_valid(bprio)则bprio等于IOPRIO_PRIO_VALUE(IOPRIO_CLASS_BE, Fallback BE priority)
183  返回:两数取小(aprio, bprio)
调用者
名称描述
SYSCALL_DEFINE2