函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_bfqq_sync

函数原型:int bfq_bfqq_sync(const struct bfq_queue *bfqq)

返回类型:int

参数:

类型参数名称
const struct bfq_queue *bfqq
154  返回:如果__builtin_constant_p( synchronous queue )则constant_test_bit(( synchronous queue ), ( & status flags ))否则variable_test_bit(( synchronous queue ), ( & status flags ))
调用者
名称描述
bfq_serv_to_chargesee the definition of bfq_async_charge_factor for details
bfq_bfqq_handle_idle_busy_switch
bfq_add_request
bfq_may_be_close_cooperator
__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.
bfq_bfqq_is_slowReturn true if the process associated with bfqq is "slow". The slow* flag is used, in addition to the budget timeout, to reduce the* amount of service provided to seeky processes, and thus reduce* their chances to lower the throughput
bfq_better_to_idleFor a queue that becomes empty, device idling is allowed only if* this function returns true for that queue
bfq_update_has_short_ttime