函数逻辑报告

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

函数名称:If enough samples have been computed, return the current max budget* stored in bfqd, which is dynamically updated according to the* estimated disk peak rate; otherwise return the default max budget

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

返回类型:int

参数:

类型参数名称
struct bfq_data *bfqd
1323  如果 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.
1325  否则返回: maximum budget allotted to a bfq_queue before rescheduling
调用者
名称描述
bfq_init_bfqq