Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sbitmap.c Create Date:2022-07-28 07:22:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sbitmap_resize

Proto:void sbitmap_resize(struct sbitmap *sb, unsigned int depth)

Type:void

Parameter:

TypeParameterName
struct sbitmap *sb
unsigned intdepth
91  bits_per_word = 1U << @shift: log2(number of bits used per word)
94  When i < @map_nr: Number of words (cachelines) being used for the bitmap. cycle See if we have deferred clears that we can batch move
97  @depth: Number of bits used in the whole bitmap. = depth
98  @map_nr: Number of words (cachelines) being used for the bitmap. = DIV_ROUND_UP(@depth: Number of bits used in the whole bitmap., bits_per_word)
100  When i < @map_nr: Number of words (cachelines) being used for the bitmap. cycle
101  @depth: Number of bits being used in @word/@cleared = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(depth, bits_per_word)
102  depth -= @depth: Number of bits being used in @word/@cleared
Caller
NameDescribe
sbitmap_queue_resize