Home
last modified time | relevance | path

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

/tools/include/linux/
Dbitops.h17 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))
18 #define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u64))
19 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u32))
20 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE)
Dbits.h14 #define BITS_PER_BYTE 8 macro
/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h15 #ifndef BITS_PER_BYTE
16 #define BITS_PER_BYTE 8 macro
20 #define BITS_PER_LONG (BITS_PER_BYTE * sizeof(long))
/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c110 #define BITS_PER_BYTE 8 macro
112 #define WORD_BITS (WORD_SIZE * BITS_PER_BYTE)
/tools/perf/util/
Dcpumap.c48 int nr, nbits = mask->nr * mask->long_size * BITS_PER_BYTE; in cpu_map__from_mask()
/tools/bpf/bpftool/
Dbtf_dumper.c16 #define BITS_PER_BYTE_MASK (BITS_PER_BYTE - 1)