Lines Matching refs:BITMAP_LAST_WORD_MASK
55 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
79 return (tmp & BITMAP_LAST_WORD_MASK(bits)) == 0; in __bitmap_or_equal()
106 unsigned long mask = BITMAP_LAST_WORD_MASK(nbits); in __bitmap_shift_right()
249 BITMAP_LAST_WORD_MASK(bits)); in __bitmap_and()
287 BITMAP_LAST_WORD_MASK(bits)); in __bitmap_andnot()
313 if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_intersects()
328 if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_subset()
343 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
364 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in __bitmap_set()
385 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in __bitmap_clear()
1285 bitmap[(halfwords - 1) / 2] &= BITMAP_LAST_WORD_MASK(nbits); in bitmap_from_arr32()