函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__bfq_put_async_bfqq

函数原型:static void __bfq_put_async_bfqq(struct bfq_data *bfqd, struct bfq_queue **bfqq_ptr)

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue **bfqq_ptr
6283  bfqq等于bfqq_ptr
6285  bfq_log(bfqd, "put_async_bfqq: %p", bfqq)
6286  如果bfqq
6287  bfq_bfqq_move(bfqd, bfqq, root bfq_group for the device )
6289  bfq_log_bfqq(bfqd, bfqq, "put_async_bfqq: putting %p, %d", bfqq, ce counter )
6291  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.
6292  * bfqq_ptr = NULL
调用者
名称描述
bfq_put_async_queuesRelease all the bfqg references to its async queues. If we are* deallocating the group these queues may still contain requests, so* we reparent them to the root cgroup (i.e., the only one that will