Home
last modified time | relevance | path

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

/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/
Dbitops.h27 #define BITS_PER_BYTE 8 macro
28 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))
29 #define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u64))
31 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u32))
32 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE)
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/
Dbitops.h13 #define BITS_PER_BYTE 8 macro
14 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))
15 #define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u64))
16 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u32))
17 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE)