Lines Matching refs:BITMAP_LAST_WORD_MASK
57 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
81 return (tmp & BITMAP_LAST_WORD_MASK(bits)) == 0; in __bitmap_or_equal()
108 unsigned long mask = BITMAP_LAST_WORD_MASK(nbits); in __bitmap_shift_right()
251 BITMAP_LAST_WORD_MASK(bits)); in __bitmap_and()
289 BITMAP_LAST_WORD_MASK(bits)); in __bitmap_andnot()
315 if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_intersects()
330 if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_subset()
344 w += hweight_long((FETCH) & BITMAP_LAST_WORD_MASK(__bits)); \
377 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in __bitmap_set()
398 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in __bitmap_clear()
1470 bitmap[(halfwords - 1) / 2] &= BITMAP_LAST_WORD_MASK(nbits); in bitmap_from_arr32()
1525 bitmap[-1] &= BITMAP_LAST_WORD_MASK(nbits); in bitmap_from_arr64()