函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_get_bfqq_handle_split

函数原型:static struct bfq_queue *bfq_get_bfqq_handle_split(struct bfq_data *bfqd, struct bfq_io_cq *bic, struct bio *bio, bool split, bool is_sync, bool *new_queue)

返回类型:struct bfq_queue

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_io_cq *bic
struct bio *bio
boolsplit
boolis_sync
bool *new_queue
6012  bfqq等于bic_to_bfqq(bic, is_sync)
6014  如果此条件成立可能性大(为编译器优化)(bfqq && bfqq != & fallback dummy bfqq for extreme OOM conditions )则返回:bfqq
6017  如果new_queue则 * new_queue = true
6020  如果bfqqTask holds one reference to the queue, dropped when task exits. Each rq* in-flight on this queue also holds a reference, dropped when rq is freed.* Scheduler lock must be held here. Recall not to use bfqq after calling* this function on it.
6022  bfqq等于bfq_get_queue(bfqd, bio, is_sync, bic)
6024  bic_set_bfqq(bic, bfqq, is_sync)
6025  如果splitis_sync
6026  如果* True if the queue belonged to a burst list before its merge * with another cooperating queue. true if a large queue-activation burst is in progress * Same purpose as the previous fields for the value of the * field keeping the queue's belonging to a large burstbfq_mark_bfqq_in_large_burst(bfqq)
6029  否则
6063  ime of last split 等于jiffies
6066  返回:bfqq
调用者
名称描述
bfq_init_rq