Home
last modified time | relevance | path

Searched defs:nbits (Results 1 – 8 of 8) sorted by relevance

/tools/include/linux/
Dbitmap.h27 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1))) argument
29 #define bitmap_size(nbits) (ALIGN(nbits, BITS_PER_LONG) / BITS_PER_BYTE) argument
31 static inline void bitmap_zero(unsigned long *dst, unsigned int nbits) in bitmap_zero()
40 static inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill()
50 static inline bool bitmap_empty(const unsigned long *src, unsigned int nbits) in bitmap_empty()
58 static inline bool bitmap_full(const unsigned long *src, unsigned int nbits) in bitmap_full()
66 static inline unsigned int bitmap_weight(const unsigned long *src, unsigned int nbits) in bitmap_weight()
74 const unsigned long *src2, unsigned int nbits) in bitmap_or()
86 static inline unsigned long *bitmap_zalloc(int nbits) in bitmap_zalloc()
118 const unsigned long *src2, unsigned int nbits) in bitmap_and()
[all …]
/tools/lib/
Dfind_bit.c103 unsigned long _find_next_bit(const unsigned long *addr, unsigned long nbits, unsigned long start) in _find_next_bit()
111 unsigned long nbits, unsigned long start) in _find_next_and_bit()
118 unsigned long _find_next_zero_bit(const unsigned long *addr, unsigned long nbits, in _find_next_zero_bit()
Dbitmap.c31 size_t bitmap_scnprintf(unsigned long *bitmap, unsigned int nbits, in bitmap_scnprintf()
/tools/include/asm-generic/
Dbitsperlong.h21 #define small_const_nbits(nbits) \ argument
/tools/perf/tests/
Dbitmap.c11 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap()
Dmem2node.c24 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap()
/tools/perf/util/
Dmmap.h18 size_t nbits; member
/tools/testing/selftests/iommu/
Diommufd_utils.h364 __u64 nbits, __u32 flags, in _test_mock_dirty_bitmaps()