Searched refs:BITMAP_LAST_WORD_MASK (Results 1 – 5 of 5) sorted by relevance
123 #define BITMAP_LAST_WORD_MASK(nbits) \ macro146 dst[nlongs - 1] = BITMAP_LAST_WORD_MASK(nbits); in bitmap_fill()200 *dst = ~(*src) & BITMAP_LAST_WORD_MASK(nbits); in bitmap_complement()209 return ! ((*src1 ^ *src2) & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_equal()218 return ((*src1 & *src2) & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_intersects()227 return ! ((*src1 & ~(*src2)) & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_subset()235 return ! (*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_empty()243 return ! (~(*src) & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_full()251 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()268 *dst = (*src << n) & BITMAP_LAST_WORD_MASK(nbits); in bitmap_shift_left()
237 #define CPU_MASK_LAST_WORD BITMAP_LAST_WORD_MASK(NR_CPUS)
257 #define NODE_MASK_LAST_WORD BITMAP_LAST_WORD_MASK(MAX_NUMNODES)
15 #define BITMAP_LAST_WORD_MASK(nbits) \ macro37 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
24 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()