函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-wf2q.c Create Date:2022-07-27 19:35:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:q_weight_to_ioprio - calc an ioprio from a weight.*@weight: the weight value to convert.* To preserve as much as possible the old only-ioprio user interface,* 0 is used as an escape ioprio value for weights (numerically) equal or

函数原型:static unsigned short bfq_weight_to_ioprio(int weight)

返回类型:unsigned short

参数:

类型参数名称
intweight
527  返回:max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(int, 0, 8 best effort priority levels are supported * BFQ_WEIGHT_CONVERSION_COEFF - weight)
调用者
名称描述
__bfq_entity_update_weight_prioUpdate weight and priority of entity