Home
last modified time | relevance | path

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

/lib/
Dsbitmap.c47 unsigned int bits_per_word; in sbitmap_init_node() local
63 bits_per_word = 1U << shift; in sbitmap_init_node()
64 if (bits_per_word > BITS_PER_LONG) in sbitmap_init_node()
69 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_init_node()
81 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_init_node()
91 unsigned int bits_per_word = 1U << sb->shift; in sbitmap_resize() local
98 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_resize()
101 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_resize()