Searched refs:halfwords (Results 1 – 1 of 1) sorted by relevance
1448 unsigned int i, halfwords; in bitmap_from_arr32() local1450 halfwords = DIV_ROUND_UP(nbits, 32); in bitmap_from_arr32()1451 for (i = 0; i < halfwords; i++) { in bitmap_from_arr32()1453 if (++i < halfwords) in bitmap_from_arr32()1459 bitmap[(halfwords - 1) / 2] &= BITMAP_LAST_WORD_MASK(nbits); in bitmap_from_arr32()1471 unsigned int i, halfwords; in bitmap_to_arr32() local1473 halfwords = DIV_ROUND_UP(nbits, 32); in bitmap_to_arr32()1474 for (i = 0; i < halfwords; i++) { in bitmap_to_arr32()1476 if (++i < halfwords) in bitmap_to_arr32()1482 buf[halfwords - 1] &= (u32) (UINT_MAX >> ((-nbits) & 31)); in bitmap_to_arr32()