函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_io_struct_pos

函数原型:static sector_t bfq_io_struct_pos(void *io_struct, bool request)

返回类型:sector_t

参数:

类型参数名称
void *io_struct
boolrequest
2397  如果request则返回: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  否则返回: device address in 512 byte sectors
调用者
名称描述
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