Home
last modified time | relevance | path

Searched refs:map_nr (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/lib/
Dsbitmap.c48 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_init_node()
55 sb->map = kcalloc_node(sb->map_nr, sizeof(*sb->map), flags, node); in sbitmap_init_node()
59 for (i = 0; i < sb->map_nr; i++) { in sbitmap_init_node()
73 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_resize()
75 for (i = 0; i < sb->map_nr; i++) { in sbitmap_resize()
121 for (i = 0; i < sb->map_nr; i++) { in sbitmap_get()
135 if (index >= sb->map_nr) { in sbitmap_get()
153 for (i = 0; i < sb->map_nr; i++) { in sbitmap_get_shallow()
166 if (index >= sb->map_nr) { in sbitmap_get_shallow()
180 for (i = 0; i < sb->map_nr; i++) { in sbitmap_any_bit_set()
[all …]
/linux-4.19.296/include/linux/
Dsbitmap.h63 unsigned int map_nr; member
278 if (++index >= sb->map_nr) in __sbitmap_for_each_set()