Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-28 17:55:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bfq_rq_close_to_sector

Proto:static int bfq_rq_close_to_sector(void *io_struct, bool request, sector_t sector)

Type:int

Parameter:

TypeParameterName
void *io_struct
boolrequest
sector_tsector
2406  Return 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
Caller
NameDescribe
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