Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static void bfq_calc_finish(struct bfq_entity *entity, unsigned long service)

Type:void

Parameter:

TypeParameterName
struct bfq_entity *entity
unsigned longservice
293  bfqq = bfq_entity_to_bfqq(entity)
295  B-WF2Q+ start and finish timestamps [sectors/weight] = B-WF2Q+ start and finish timestamps [sectors/weight] + q_delta - map service into the virtual time domain.*@service: amount of service.*@weight: scale factor (weight of an entity or weight sum).
298  If bfqq Then
299  bfq_log_bfqq(parent bfq_data , bfqq, "calc_finish: serv %lu, w %d", service, weight of the queue )
302  bfq_log_bfqq(parent bfq_data , bfqq, "calc_finish: start %llu, finish %llu, delta %llu", B-WF2Q+ start and finish timestamps [sectors/weight] , B-WF2Q+ start and finish timestamps [sectors/weight] , q_delta - map service into the virtual time domain.*@service: amount of service.*@weight: scale factor (weight of an entity or weight sum).)
Caller
NameDescribe
bfq_update_fin_time_enqueue
__bfq_requeue_entity__bfq_requeue_entity - handle requeueing or repositioning of an entity
__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.