函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_release_process_ref

函数原型:static void bfq_release_process_ref(struct bfq_data *bfqd, struct bfq_queue *bfqq)

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
2735  如果bfq_bfqq_busy(bfqq)且RB_EMPTY_ROOT( & sorted list of pending requests )且bfqq不等于 bfq_queue in service Called when the bfqq no longer has requests pending, remove it from* the service tree. As a special case, it can be invoked during an* expiration.
2739  Task 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.
调用者
名称描述
bfq_merge_bfqqs
bfq_exit_bfqq
bfq_check_ioprio_change
bfq_split_bfqqReturns NULL if a new bfqq should be allocated, or the old bfqq if this* was the last process referring to that bfqq.