Lines Matching defs:nbits

238 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1)))  argument
240 static inline void bitmap_zero(unsigned long *dst, unsigned int nbits) in bitmap_zero()
250 static inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill()
261 unsigned int nbits) in bitmap_copy()
275 const unsigned long *src, unsigned int nbits) in bitmap_copy_clear_tail()
296 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument
299 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument
312 #define bitmap_from_arr64(bitmap, buf, nbits) \ argument
314 #define bitmap_to_arr64(buf, bitmap, nbits) \ argument
319 const unsigned long *src2, unsigned int nbits) in bitmap_and()
327 const unsigned long *src2, unsigned int nbits) in bitmap_or()
336 const unsigned long *src2, unsigned int nbits) in bitmap_xor()
345 const unsigned long *src2, unsigned int nbits) in bitmap_andnot()
353 unsigned int nbits) in bitmap_complement()
369 const unsigned long *src2, unsigned int nbits) in bitmap_equal()
391 unsigned int nbits) in bitmap_or_equal()
401 unsigned int nbits) in bitmap_intersects()
410 const unsigned long *src2, unsigned int nbits) in bitmap_subset()
418 static inline bool bitmap_empty(const unsigned long *src, unsigned nbits) in bitmap_empty()
426 static inline bool bitmap_full(const unsigned long *src, unsigned int nbits) in bitmap_full()
435 unsigned int bitmap_weight(const unsigned long *src, unsigned int nbits) in bitmap_weight()
444 const unsigned long *src2, unsigned int nbits) in bitmap_weight_and()
452 unsigned int nbits) in bitmap_set()
468 unsigned int nbits) in bitmap_clear()
484 unsigned int shift, unsigned int nbits) in bitmap_shift_right()
493 unsigned int shift, unsigned int nbits) in bitmap_shift_left()
505 unsigned int nbits) in bitmap_replace()