Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-wf2q.c Create Date:2022-07-28 17:59:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:q_idle_insert - insert an entity into the idle tree.*@st: the service tree containing the tree.*@entity: the entity to insert.

Proto:static void bfq_idle_insert(struct bfq_service_tree *st, struct bfq_entity *entity)

Type:void

Parameter:

TypeParameterName
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  If Not first_idle || q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly. Then dle entity with minimum F_i = entity
623  If Not last_idle || q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly. Then 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  If bfqq Then list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
Caller
NameDescribe
__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.