Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_delta - map service into the virtual time domain.*@service: amount of service.*@weight: scale factor (weight of an entity or weight sum).

Proto:static u64 bfq_delta(unsigned long service, unsigned long weight)

Type:u64

Parameter:

TypeParameterName
unsigned longservice
unsigned longweight
280  d = service << Shift for timestamp calculations
282  do_div() is NOT a C function(d, weight)
283  Return d
Caller
NameDescribe
bfq_calc_finishq_calc_finish - assign the finish time to an entity.*@entity: the entity to act upon.*@service: the service to be charged to the entity.
bfq_bfqq_servedq_bfqq_served - update the scheduler status after selection for* service.*@bfqq: the queue being served.*@served: bytes to transfer.* NOTE: this can be optimized, as the timestamps of upper level entities