Home
last modified time | relevance | path

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

/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/
Dbitops.h12 #define BITS_PER_LONG __WORDSIZE macro
32 addr[nr / BITS_PER_LONG] |= 1UL << (nr % BITS_PER_LONG); in set_bit()
37 addr[nr / BITS_PER_LONG] &= ~(1UL << (nr % BITS_PER_LONG)); in clear_bit()
42 return ((1UL << (nr % BITS_PER_LONG)) & in test_bit()
43 (((unsigned long *)addr)[nr / BITS_PER_LONG])) != 0; in test_bit()
51 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
63 #if BITS_PER_LONG == 64 in __ffs()
100 while (size & ~(BITS_PER_LONG-1)) { in find_first_bit()
103 result += BITS_PER_LONG; in find_first_bit()
104 size -= BITS_PER_LONG; in find_first_bit()
[all …]
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/
Dbitops.h26 #define BITS_PER_LONG __WORDSIZE macro
36 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
37 #if BITS_PER_LONG == 64