Lines Matching refs:w
327 unsigned int __bits = (bits), idx, w = 0; \
330 w += hweight_long(FETCH); \
333 w += hweight_long((FETCH) & BITMAP_LAST_WORD_MASK(__bits)); \
335 w; \
501 unsigned int oldbit, w; in bitmap_remap() local
507 w = bitmap_weight(new, nbits); in bitmap_remap()
511 if (n < 0 || w == 0) in bitmap_remap()
514 set_bit(find_nth_bit(new, nbits, n % w), dst); in bitmap_remap()
548 int w = bitmap_weight(new, bits); in bitmap_bitremap() local
550 if (n < 0 || w == 0) in bitmap_bitremap()
553 return find_nth_bit(new, bits, n % w); in bitmap_bitremap()