函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_check_ioprio_change

函数原型:static void bfq_check_ioprio_change(struct bfq_io_cq *bic, struct bio *bio)

返回类型:void

参数:

类型参数名称
struct bfq_io_cq *bic
struct bio *bio
5022  bfqd等于bic_to_bfqd(bic)
5024  ioprio等于ioprio
5030  如果此条件成立可能性小(为编译器优化)(!bfqd)或此条件成立可能性大(为编译器优化)( per (request_queue, blkcg) ioprio == ioprio)则返回
5033  per (request_queue, blkcg) ioprio 等于ioprio
5035  bfqq等于bic_to_bfqq(bic, false)
5036  如果bfqq
5037  bfq_release_process_ref(bfqd, bfqq)
5038  bfqq等于bfq_get_queue(bfqd, bio, BLK_RW_ASYNC, bic)
5039  bic_set_bfqq(bic, bfqq, false)
5042  bfqq等于bic_to_bfqq(bic, true)
5043  如果bfqqUpdate the entity prio values; note that the new values will not* be used until the next (re)activation.
调用者
名称描述
bfq_init_rq