Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__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

Proto:static void __bfq_activate_entity(struct bfq_entity *entity, bool non_blocking_wait_rq)

Type:void

Parameter:

TypeParameterName
struct bfq_entity *entity
boolnon_blocking_wait_rq
978  st = bfq_entity_service_tree(entity)
979  bool backshifted = false
983  If non_blocking_wait_rq && q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly. Then
984  backshifted = true
985  min_vstart = B-WF2Q+ start and finish timestamps [sectors/weight]
986  Else min_vstart = scheduler virtual time
989  If tree the entity is enqueued into; %NULL if not on a tree == ree for idle entities (i.e., not backlogged, with V < F_i) Then
994  q_idle_extract - extract an entity from the idle tree.*@st: the service tree of the owning @entity.*@entity: the entity being removed.
995  B-WF2Q+ start and finish timestamps [sectors/weight] = If q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly. Then min_vstart Else B-WF2Q+ start and finish timestamps [sectors/weight]
997  Else
1003  B-WF2Q+ start and finish timestamps [sectors/weight] = min_vstart
1004  scheduler weight sum; active and idle entities contribute to it += weight of the queue
1011  bfq_get_entity(entity)
1013  * Flag, true if the entity is on a tree (either the active or * the idle one of its service_tree) or is in service. = true
1029  bfq_update_fin_time_enqueue(entity, st, backshifted)
Caller
NameDescribe
__bfq_activate_requeue_entity