函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_update_min - update the min_start field of a entity

函数原型:static void bfq_update_min(struct bfq_entity *entity, struct rb_node *node)

返回类型:void

参数:

类型参数名称
struct bfq_entity *entity
struct rb_node *node
410  如果node
411  child等于rb_entry(node, structbfq_entity, rb_node)
412  如果q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly.* 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
调用者
名称描述
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