Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_update_min - update the min_start field of a entity

Proto:static void bfq_update_min(struct bfq_entity *entity, struct rb_node *node)

Type:void

Parameter:

TypeParameterName
struct bfq_entity *entity
struct rb_node *node
410  If node Then
411  child = rb_entry(node, structbfq_entity, rb_node)
412  If q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly. Then * minimum start time of the (active) subtree rooted at this * entity; used for O(log N) lookups into active trees = * minimum start time of the (active) subtree rooted at this * entity; used for O(log N) lookups into active trees
Caller
NameDescribe
bfq_update_active_nodeq_update_active_node - recalculate min_start.*@node: the node to update.*@node may have changed position or one of its children may have moved,* this function updates its min_start value. The left and right subtrees