函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__bfq_lookup_next_entity - return the first eligible entity in @st

函数原型:static struct bfq_entity *__bfq_lookup_next_entity(struct bfq_service_tree *st, bool in_service)

返回类型:struct bfq_entity

参数:

类型参数名称
struct bfq_service_tree *st
boolin_service
1414  如果RB_EMPTY_ROOT( & ree for active entities (i.e., those backlogged) )则返回: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  如果非in_servicebfq_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  返回:entity
调用者
名称描述
bfq_lookup_next_entity