Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Get next queue for service.

Proto:struct bfq_queue *bfq_get_next_queue(struct bfq_data *bfqd)

Type:struct bfq_queue

Parameter:

TypeParameterName
struct bfq_data *bfqd
1519  struct bfq_entity * entity = NULL
1523  If bfq_tot_busy_queues(bfqd) == 0 Then Return NULL
1531  sd = sched_data
1532  When sd cycle
1558  entity = head-of-line entity (see comments above)
1559  ity in service = entity
1569  If bfq_no_longer_next_in_service(entity) Then 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  If Not q_update_next_in_service - update sd->next_in_service*@sd: sched_data for which to perform the update Then Break
1606  Return bfqq