Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bfq_wr_duration

Proto:static unsigned int bfq_wr_duration(struct bfq_data *bfqd)

Type:unsigned int

Parameter:

TypeParameterName
struct bfq_data *bfqd
972  If maximum duration of a weight-raising period (jiffies) > 0 Then Return maximum duration of a weight-raising period (jiffies)
975  dur = * Cached value of the product ref_rate*ref_wr_duration, used * for computing the maximum duration of weight raising * automatically.
976  do_div() is NOT a C function(dur, * Current estimate of the device peak rate, measured in * [(sectors/usec) / 2^BFQ_RATE_SHIFT]. The left-shift by * BFQ_RATE_SHIFT is performed to increase precision in * fixed-point calculations.)
998  Return clamp_val - return a value clamped to a given range using val's type*@val: current value*@lo: minimum allowable value*@hi: maximum allowable value* This macro does no typechecking and uses temporary variables of whatever* type the input argument @val is(dur, msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than, msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than)
Caller
NameDescribe
switch_back_to_interactive_wrswitch back from soft real-time to interactive weight raising
bfq_bfqq_resume_state
bfq_update_bfqq_wr_on_rq_arrival
bfq_add_request
bfq_bfqq_save_state
bfq_update_wr_data