Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bfq_io_struct_pos

Proto:static sector_t bfq_io_struct_pos(void *io_struct, bool request)

Type:sector_t

Parameter:

TypeParameterName
void *io_struct
boolrequest
2397  If request Then Return lk_rq_pos() : the current sector* blk_rq_bytes() : bytes left in the entire request* blk_rq_cur_bytes() : bytes left in the current segment* blk_rq_err_bytes() : bytes left till the next error boundary* blk_rq_sectors() : sectors left in the entire
2399  Else Return device address in 512 byte sectors
Caller
NameDescribe
bfq_rq_close_to_sector
bfq_setup_cooperatorAttempt to schedule a merge of bfqq with the currently in-service* queue or with a close queue among the scheduled queues