函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:void bfq_del_bfqq_busy(struct bfq_data *bfqd, struct bfq_queue *bfqq, bool expiration)

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
boolexpiration
1684  bfq_log_bfqq(bfqd, bfqq, "del from busy")
1686  bfq_clear_bfqq_busy(bfqq)
1688  * Per-class (RT, BE, IDLE) number of bfq_queues containing * requests (including the queue in service, even if it is * idling).[current ioprio and ioprio class - 1]自减
1690  如果actor by which the weight of this queue is multiplied 大于1则 number of weight-raised busy @bfq_queues 自减
1693  bfqg_stats_update_dequeue(bfqq_group(bfqq))
1695  bfq_deactivate_bfqq(bfqd, bfqq, true, expiration)
1697  如果非umber of requests on the dispatch list or inside driver Invoke __bfq_weights_tree_remove on bfqq and decrement the number* of active groups for each queue's inactive parent entity.
调用者
名称描述
bfq_release_process_ref
__bfq_bfqq_expire
bfq_remove_request