Home
last modified time | relevance | path

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

/lib/
Dsbitmap.c87 unsigned int bits_per_word; in sbitmap_init_node() local
93 bits_per_word = 1U << shift; in sbitmap_init_node()
94 if (bits_per_word > BITS_PER_LONG) in sbitmap_init_node()
99 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_init_node()
121 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_init_node()
130 unsigned int bits_per_word = 1U << sb->shift; in sbitmap_resize() local
137 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_resize()
140 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_resize()