Searched refs:BITMAP_LAST_WORD_MASK (Results 1 – 1 of 1) sorted by relevance
18 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1))) macro43 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()64 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in __bitmap_set()85 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in __bitmap_clear()185 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
Completed in 3 milliseconds