Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sbitmap_find_bit_in_index

Proto:static int sbitmap_find_bit_in_index(struct sbitmap *sb, int index, unsigned int alloc_hint, bool round_robin)

Type:int

Parameter:

TypeParameterName
struct sbitmap *sb
intindex
unsigned intalloc_hint
boolround_robin
144  Do
145  nr = __sbitmap_get_word( & @word: word holding free bits, @depth: Number of bits being used in @word/@cleared, alloc_hint, !round_robin)
148  If nr != -1 Then Break
150  If Not See if we have deferred clears that we can batch move Then Break
152  When 1 cycle
154  Return nr
Caller
NameDescribe
sbitmap_get