Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bfq_update_fin_time_enqueue

Proto:static void bfq_update_fin_time_enqueue(struct bfq_entity *entity, struct bfq_service_tree *st, bool backshifted)

Type:void

Parameter:

TypeParameterName
struct bfq_entity *entity
struct bfq_service_tree *st
boolbackshifted
907  bfqq = bfq_entity_to_bfqq(entity)
914  st = Update weight and priority of entity
915  q_calc_finish - assign the finish time to an entity.*@entity: the entity to act upon.*@service: the service to be charged to the entity.
950  If backshifted && q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly. Then
951  delta = scheduler virtual time - B-WF2Q+ start and finish timestamps [sectors/weight]
953  If bfqq Then delta /= actor by which the weight of this queue is multiplied
956  B-WF2Q+ start and finish timestamps [sectors/weight] += delta
957  B-WF2Q+ start and finish timestamps [sectors/weight] += delta
960  q_active_insert - insert an entity in the active tree of its* group/device
Caller
NameDescribe
__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_requeue_entity__bfq_requeue_entity - handle requeueing or repositioning of an entity