函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Get next queue for service.

函数原型:struct bfq_queue *bfq_get_next_queue(struct bfq_data *bfqd)

返回类型:struct bfq_queue

参数:

类型参数名称
struct bfq_data *bfqd
1519  struct bfq_entity * entity = NULL
1523  如果bfq_tot_busy_queues(bfqd)恒等于0则返回:NULL
1531  sd等于sched_data
1532 sd循环
1558  entity等于head-of-line entity (see comments above)
1559  ity in service 等于entity
1569  如果bfq_no_longer_next_in_service(entity)则q_active_extract - remove an entity from the active tree.*@st: the service_tree containing the tree.*@entity: the entity being removed.
1593  bfqq等于bfq_entity_to_bfqq(entity)
1600  sd等于 the scheduler queue this entity belongs to
1602  如果非q_update_next_in_service - update sd->next_in_service*@sd: sched_data for which to perform the update退出
1606  返回:bfqq