Home
last modified time | relevance | path

Searched refs:BITOP_WORD (Results 1 – 3 of 3) sorted by relevance

/external/kernel-headers/original/asm-generic/bitops/
Dnon-atomic.h7 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) macro
21 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in __set_bit()
29 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in __clear_bit()
46 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in __change_bit()
63 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in __test_and_set_bit()
82 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in __test_and_clear_bit()
94 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in __test_and_change_bit()
108 return 1UL & (addr[BITOP_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in test_bit()
Datomic.h7 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) macro
70 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in set_bit()
91 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in clear_bit()
112 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in change_bit()
132 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in test_and_set_bit()
156 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in test_and_clear_bit()
179 unsigned long *p = ((unsigned long *)addr) + BITOP_WORD(nr); in test_and_change_bit()
Dle.h7 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) macro