函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:The following function is not marked as __cold because it is* actually cold, but for the same performance goal described in the* comments on the likely() at the beginning of* bfq_setup_cooperator()

函数原型:void __cold bfq_pos_tree_add_move(struct bfq_data *bfqd, struct bfq_queue *bfqq)

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
612  如果quest-position tree root (see bfq_group's @rq_pos_tree)
613  rb_erase( & quest-position tree member (see bfq_group's @rq_pos_tree) , quest-position tree root (see bfq_group's @rq_pos_tree) )
614  quest-position tree root (see bfq_group's @rq_pos_tree) = NULL
618  如果bfqq恒等于 fallback dummy bfqq for extreme OOM conditions 则返回
626  如果bfq_too_late_for_merging(bfqq)则返回
629  如果bfq_class_idle(bfqq)则返回
631  如果非 fifo isn't expired, next request to serve 则返回
634  quest-position tree root (see bfq_group's @rq_pos_tree) 等于rq_pos_tree
635  __bfqq等于bfq_rq_pos_tree_lookup(bfqd, quest-position tree root (see bfq_group's @rq_pos_tree) , 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 , & parent, & p)
637  如果非__bfqq
638  rb_link_node( & quest-position tree member (see bfq_group's @rq_pos_tree) , parent, p)
639  rb_insert_color( & quest-position tree member (see bfq_group's @rq_pos_tree) , quest-position tree root (see bfq_group's @rq_pos_tree) )
640  否则quest-position tree root (see bfq_group's @rq_pos_tree) = NULL
调用者
名称描述
bfq_add_request
bfq_remove_request
bfq_request_merged
__bfq_bfqq_expire