函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_update_bfqq_wr_on_rq_arrival

函数原型:static void bfq_update_bfqq_wr_on_rq_arrival(struct bfq_data *bfqd, struct bfq_queue *bfqq, unsigned int old_wr_coeff, bool wr_or_deserves_wr, bool interactive, bool in_burst, bool soft_rt)

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
unsigned intold_wr_coeff
boolwr_or_deserves_wr
boolinteractive
boolin_burst
boolsoft_rt
1522  如果old_wr_coeff恒等于1且wr_or_deserves_wr
1524  如果interactive
1528  否则
1557  budget, used also to calculate F_i: F_i = S_i + @budget / @weight 等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedlong, budget, used also to calculate F_i: F_i = S_i + @budget / @weight , 2 * Return min budget, which is a fraction of the current or default* max budget (trying with 1/32))
1560  否则如果old_wr_coeff大于1则
1561  如果interactive
1564  否则如果in_burstactor by which the weight of this queue is multiplied 等于1
1566  否则如果soft_rt
调用者
名称描述
bfq_bfqq_handle_idle_busy_switch