Searched refs:BITMAP_LAST_WORD_MASK (Results 1 – 2 of 2) sorted by relevance
14 #define BITMAP_LAST_WORD_MASK(nbits) \ macro36 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
18 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()