Lines Matching defs:nbits

227 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1)))  argument
229 #define bitmap_size(nbits) (ALIGN(nbits, BITS_PER_LONG) / BITS_PER_BYTE) argument
231 static __always_inline void bitmap_zero(unsigned long *dst, unsigned int nbits) in bitmap_zero()
241 static __always_inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill()
252 void bitmap_copy(unsigned long *dst, const unsigned long *src, unsigned int nbits) in bitmap_copy()
266 void bitmap_copy_clear_tail(unsigned long *dst, const unsigned long *src, unsigned int nbits) in bitmap_copy_clear_tail()
299 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument
302 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument
315 #define bitmap_from_arr64(bitmap, buf, nbits) \ argument
317 #define bitmap_to_arr64(buf, bitmap, nbits) \ argument
323 const unsigned long *src2, unsigned int nbits) in bitmap_and()
332 const unsigned long *src2, unsigned int nbits) in bitmap_or()
342 const unsigned long *src2, unsigned int nbits) in bitmap_xor()
352 const unsigned long *src2, unsigned int nbits) in bitmap_andnot()
360 void bitmap_complement(unsigned long *dst, const unsigned long *src, unsigned int nbits) in bitmap_complement()
376 bool bitmap_equal(const unsigned long *src1, const unsigned long *src2, unsigned int nbits) in bitmap_equal()
397 const unsigned long *src3, unsigned int nbits) in bitmap_or_equal()
406 bool bitmap_intersects(const unsigned long *src1, const unsigned long *src2, unsigned int nbits) in bitmap_intersects()
415 bool bitmap_subset(const unsigned long *src1, const unsigned long *src2, unsigned int nbits) in bitmap_subset()
424 bool bitmap_empty(const unsigned long *src, unsigned nbits) in bitmap_empty()
433 bool bitmap_full(const unsigned long *src, unsigned int nbits) in bitmap_full()
442 unsigned int bitmap_weight(const unsigned long *src, unsigned int nbits) in bitmap_weight()
451 const unsigned long *src2, unsigned int nbits) in bitmap_weight_and()
460 const unsigned long *src2, unsigned int nbits) in bitmap_weight_andnot()
468 void bitmap_set(unsigned long *map, unsigned int start, unsigned int nbits) in bitmap_set()
484 void bitmap_clear(unsigned long *map, unsigned int start, unsigned int nbits) in bitmap_clear()
501 unsigned int shift, unsigned int nbits) in bitmap_shift_right()
511 unsigned int shift, unsigned int nbits) in bitmap_shift_left()
524 unsigned int nbits) in bitmap_replace()
569 const unsigned long *mask, unsigned int nbits) in bitmap_scatter()
624 const unsigned long *mask, unsigned int nbits) in bitmap_gather()
765 unsigned long bitmap_read(const unsigned long *map, unsigned long start, unsigned long nbits) in bitmap_read()
800 unsigned long start, unsigned long nbits) in bitmap_write()