Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-28 17:55:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bfq_release_process_ref

Proto:static void bfq_release_process_ref(struct bfq_data *bfqd, struct bfq_queue *bfqq)

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
2735  If bfq_bfqq_busy(bfqq) && RB_EMPTY_ROOT( & sorted list of pending requests ) && bfqq != bfq_queue in service Then 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.
Caller
NameDescribe
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.