Home
last modified time | relevance | path

Searched refs:BITS_TO_LONGS (Results 1 – 6 of 6) sorted by relevance

/tools/include/linux/
Dbitmap.h11 unsigned long name[BITS_TO_LONGS(bits)]
36 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero()
43 unsigned int nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
123 return calloc(1, BITS_TO_LONGS(nbits) * sizeof(unsigned long)); in bitmap_alloc()
Dbitops.h17 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) macro
/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h24 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_LONG) macro
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/
Dtypes.h17 unsigned long name[BITS_TO_LONGS(bits)]
/tools/lib/
Dbitmap.c25 int nr = BITS_TO_LONGS(bits); in __bitmap_or()
/tools/perf/util/
Dsynthetic-events.c934 mask->nr = BITS_TO_LONGS(max); in synthesize_mask()
960 return sizeof(struct perf_record_record_cpu_map) + BITS_TO_LONGS(*max) * sizeof(long); in mask_size()