Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static u64 bfq_calc_vtime_jump(struct bfq_service_tree *st)

Type:u64

Parameter:

TypeParameterName
struct bfq_service_tree *st
1330  root_entity = bfq_root_active_entity( & ree for active entities (i.e., those backlogged) )
1332  If q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly. Then Return * minimum start time of the (active) subtree rooted at this * entity; used for O(log N) lookups into active trees
1335  Return scheduler virtual time
Caller
NameDescribe
__bfq_lookup_next_entity__bfq_lookup_next_entity - return the first eligible entity in @st