Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__bfq_lookup_next_entity - return the first eligible entity in @st

Proto:static struct bfq_entity *__bfq_lookup_next_entity(struct bfq_service_tree *st, bool in_service)

Type:struct bfq_entity

Parameter:

TypeParameterName
struct bfq_service_tree *st
boolin_service
1414  If RB_EMPTY_ROOT( & ree for active entities (i.e., those backlogged) ) Then Return NULL
1421  new_vtime = q_calc_vtime_jump - compute the value to which the vtime should jump,* if needed, to have at least one entity eligible.*@st: the service tree to act upon.* Assumes that st is not empty.
1433  If Not in_service Then bfq_update_vtime(st, new_vtime)
1436  entity = q_first_active_entity - find the eligible entity with* the smallest finish time*@st: the service tree to select from
1438  Return entity
Caller
NameDescribe
bfq_lookup_next_entity