函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return min budget, which is a fraction of the current or default* max budget (trying with 1/32)

函数原型:static int bfq_min_budget(struct bfq_data *bfqd)

返回类型:int

参数:

类型参数名称
struct bfq_data *bfqd
1335  如果 number of budgets assigned 小于Minimum number of assigned budgets for which stats are safe to compute. 则返回:Default maximum budget values, in sectors and number of requests. 除32
1337  否则返回: maximum budget allotted to a bfq_queue before rescheduling 除32
调用者
名称描述
bfq_update_bfqq_wr_on_rq_arrival
__bfq_bfqq_recalc_budget__bfq_bfqq_recalc_budget - try to adapt the budget to the @bfqq behavior.*@bfqd: device data.*@bfqq: queue to update.*@reason: reason for expiration.* Handle the feedback on @bfqq budget at queue expiration.* See the body for detailed comments.