Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_deactivate_entity - deactivate an entity representing a bfq_queue

Proto:static void bfq_deactivate_entity(struct bfq_entity *entity, bool ins_into_idle_tree, bool expiration)

Type:void

Parameter:

TypeParameterName
struct bfq_entity *entity
boolins_into_idle_tree
boolexpiration
1228  struct bfq_entity * parent = NULL
1231  sd = the scheduler queue this entity belongs to
1233  If Not __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. Then
1241  Return
1244  If head-of-line entity (see comments above) == entity Then q_update_next_in_service - update sd->next_in_service*@sd: sched_data for which to perform the update
1252  If head-of-line entity (see comments above) || ity in service Then
1273  Break
1288  ins_into_idle_tree = true
1298  entity = parent
1306  __bfq_requeue_entity - handle requeueing or repositioning of an entity
1308  sd = the scheduler queue this entity belongs to
1309  If Not q_update_next_in_service - update sd->next_in_service*@sd: sched_data for which to perform the update && Not expiration Then Break
Caller
NameDescribe
bfq_deactivate_bfqq