函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_bfqq_wait_request

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

返回类型:int

参数:

类型参数名称
const struct bfq_queue *bfqq
150  返回:如果__builtin_constant_p( waiting for a request )则constant_test_bit(( waiting for a request ), ( & status flags ))否则variable_test_bit(( waiting for a request ), ( & status flags ))
调用者
名称描述
bfq_may_expire_for_budg_timeoutIf we expire a queue that is actively waiting (i.e., with the* device idled) for the arrival of a new request, then we may incur* the timestamp misalignment problem described in the body of the* function __bfq_activate_entity
bfq_choose_bfqq_for_injectionThis function chooses the queue from which to pick the next extra* I/O request to inject, if it finds a compatible queue
bfq_select_queueSelect a queue for service. If we have a current queue in service,* check whether to continue servicing it, or retrieve and set a new one.
bfq_dispatch_request
bfq_rq_enqueuedCalled when a new fs request (rq) is added to bfqq. Check if there's* something we should do about it.
__bfq_insert_requestrns true if it causes the idle timer to be disabled