Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_idle_extract - extract an entity from the idle tree.*@st: the service tree of the owning @entity.*@entity: the entity being removed.

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

Type:void

Parameter:

TypeParameterName
struct bfq_service_tree *st
struct bfq_entity *entity
347  bfqq = bfq_entity_to_bfqq(entity)
350  If entity == dle entity with minimum F_i Then
351  next = rb_next( & service_tree member )
352  dle entity with minimum F_i = q_entity_of - get an entity from a node.*@node: the node field of the entity.* Convert a node pointer to the relative entity. This is used only* to simplify the logic of some functions and not as the generic* conversion mechanism because, e
355  If entity == dle entity with maximum F_i Then
356  next = rb_prev( & service_tree member )
357  dle entity with maximum F_i = q_entity_of - get an entity from a node.*@node: the node field of the entity.* Convert a node pointer to the relative entity. This is used only* to simplify the logic of some functions and not as the generic* conversion mechanism because, e
360  q_extract - remove an entity from a tree.*@root: the tree root.*@entity: the entity to remove.
362  If bfqq Then deletes entry from list
Caller
NameDescribe
bfq_put_idle_entityq_put_idle_entity - release the idle tree ref of an entity.*@st: service tree for the entity.*@entity: the entity being released.
__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.