函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static u64 bfq_calc_vtime_jump(struct bfq_service_tree *st)

返回类型:u64

参数:

类型参数名称
struct bfq_service_tree *st
1330  root_entity等于bfq_root_active_entity( & ree for active entities (i.e., those backlogged) )
1332  如果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
1335  返回:scheduler virtual time
调用者
名称描述
__bfq_lookup_next_entity__bfq_lookup_next_entity - return the first eligible entity in @st