函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_setup_merge

函数原型:static struct bfq_queue *bfq_setup_merge(struct bfq_queue *bfqq, struct bfq_queue *new_bfqq)

返回类型:struct bfq_queue

参数:

类型参数名称
struct bfq_queue *bfqq
struct bfq_queue *new_bfqq
2484  如果非bfqq_process_refs(new_bfqq)则返回:NULL
2488 __bfqq等于Shared bfq_queue if queue is cooperating with one or more* other queues.循环
2489  如果__bfqq恒等于bfqq则返回:NULL
2491  new_bfqq等于__bfqq
2494  process_refs等于bfqq_process_refs(bfqq)
2495  new_process_refs等于bfqq_process_refs(new_bfqq)
2500  如果process_refs恒等于0或new_process_refs恒等于0则返回:NULL
2503  bfq_log_bfqq(parent bfq_data , bfqq, "scheduling merge with queue %d", pid of the process owning the queue, used for logging purposes )
2526  Shared bfq_queue if queue is cooperating with one or more* other queues.等于new_bfqq
2527  ce counter 加等于process_refs
2528  返回:new_bfqq
调用者
名称描述
bfq_setup_cooperatorAttempt to schedule a merge of bfqq with the currently in-service* queue or with a close queue among the scheduled queues