函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_idle_insert - insert an entity into the idle tree.*@st: the service tree containing the tree.*@entity: the entity to insert.

函数原型:static void bfq_idle_insert(struct bfq_service_tree *st, struct bfq_entity *entity)

返回类型:void

参数:

类型参数名称
struct bfq_service_tree *st
struct bfq_entity *entity
617  bfqq等于bfq_entity_to_bfqq(entity)
618  first_idle等于dle entity with minimum F_i
619  last_idle等于dle entity with maximum F_i
621  如果非first_idleq_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly.dle entity with minimum F_i 等于entity
623  如果非last_idleq_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly.dle entity with maximum F_i 等于entity
626  q_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.
628  如果bfqq添加链表项
调用者
名称描述
__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.