函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_rq_close_to_sector

函数原型:static int bfq_rq_close_to_sector(void *io_struct, bool request, sector_t sector)

返回类型:int

参数:

类型参数名称
void *io_struct
boolrequest
sector_tsector
2406  返回:abs - return absolute value of an argument*@x: the value. If it is unsigned type, it is converted to signed type first.* char is treated as if it was signed (regardless of whether it really is)* but the macro's return type is preserved as char.(bfq_io_struct_pos(io_struct, request) - sector)小于等于BFQQ_CLOSE_THR
调用者
名称描述
bfqq_find_close
bfq_setup_cooperatorAttempt to schedule a merge of bfqq with the currently in-service* queue or with a close queue among the scheduled queues