Home
last modified time | relevance | path

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

/lib/
Dbitmap.c1199 unsigned int i, halfwords; in bitmap_from_arr32() local
1201 halfwords = DIV_ROUND_UP(nbits, 32); in bitmap_from_arr32()
1202 for (i = 0; i < halfwords; i++) { in bitmap_from_arr32()
1204 if (++i < halfwords) in bitmap_from_arr32()
1210 bitmap[(halfwords - 1) / 2] &= BITMAP_LAST_WORD_MASK(nbits); in bitmap_from_arr32()
1222 unsigned int i, halfwords; in bitmap_to_arr32() local
1224 halfwords = DIV_ROUND_UP(nbits, 32); in bitmap_to_arr32()
1225 for (i = 0; i < halfwords; i++) { in bitmap_to_arr32()
1227 if (++i < halfwords) in bitmap_to_arr32()
1233 buf[halfwords - 1] &= (u32) (UINT_MAX >> ((-nbits) & 31)); in bitmap_to_arr32()