函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly.

函数原型:static int bfq_gt(u64 a, u64 b)

返回类型:int

参数:

类型参数名称
u64a
u64b
20  返回:ab大于0
调用者
名称描述
bfq_update_next_in_serviceq_update_next_in_service - update sd->next_in_service*@sd: sched_data for which to perform the update
bfq_insertq_insert - generic tree insertion.*@root: tree root.*@entity: entity to insert.* This is used for the idle and the active tree, since they are both* ordered by finish time.
bfq_update_minq_update_min - update the min_start field of a entity
bfq_idle_insertq_idle_insert - insert an entity into the idle tree.*@st: the service tree containing the tree.*@entity: the entity to insert.
bfq_forget_idleq_forget_idle - update the idle tree if necessary.*@st: the service tree to act upon.* To preserve the global O(log N) complexity we only remove one entry here;* as the idle tree will not grow indefinitely this can be done safely.
bfq_update_fin_time_enqueue
__bfq_activate_entity__bfq_activate_entity - handle activation of entity.*@entity: the entity being activated.*@non_blocking_wait_rq: true if entity was waiting for a request* Called for a 'true' activation, i.e., if entity is not active and
__bfq_deactivate_entity__bfq_deactivate_entity - update sched_data and service trees for* entity, so as to represent entity as inactive*@entity: the entity being deactivated.*@ins_into_idle_tree: if false, the entity will not be put into the* idle tree.
bfq_calc_vtime_jumpq_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.
bfq_first_active_entityq_first_active_entity - find the eligible entity with* the smallest finish time*@st: the service tree to select from