Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:See the comments on bfq_limit_depth for the purpose of* the depths set in the function. Return minimum shallow depth we'll use.

Proto:static unsigned int bfq_update_depths(struct bfq_data *bfqd, struct sbitmap_queue *bt)

Type:unsigned int

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct sbitmap_queue *bt
6320  min_shallow = UINT_MAX
6333  * Depth limits used in bfq_limit_depth (see comments on the * function)[0][0] = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value((1U << @shift: log2(number of bits used per word)) >> 1, 1U)
6339  * Depth limits used in bfq_limit_depth (see comments on the * function)[0][1] = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(((1U << @shift: log2(number of bits used per word)) * 3) >> 2, 1U)
6349  * Depth limits used in bfq_limit_depth (see comments on the * function)[1][0] = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(((1U << @shift: log2(number of bits used per word)) * 3) >> 4, 1U)
6351  * Depth limits used in bfq_limit_depth (see comments on the * function)[1][1] = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(((1U << @shift: log2(number of bits used per word)) * 6) >> 4, 1U)
6353  When i < 2 cycle When j < 2 cycle
6355  min_shallow = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(min_shallow, * Depth limits used in bfq_limit_depth (see comments on the * function)[i][j])
6357  Return min_shallow
Caller
NameDescribe
bfq_depth_updated