函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-27 19:33:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static unsigned int bfq_update_depths(struct bfq_data *bfqd, struct sbitmap_queue *bt)

返回类型:unsigned int

参数:

类型参数名称
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]等于两数取大((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]等于两数取大(((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]等于两数取大(((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]等于两数取大(((1U << @shift: log2(number of bits used per word)) * 6) >> 4, 1U)
6353 i小于2循环j小于2循环
6355  min_shallow等于两数取小(min_shallow, * Depth limits used in bfq_limit_depth (see comments on the * function)[i][j])
6357  返回:min_shallow
调用者
名称描述
bfq_depth_updated