Home
last modified time | relevance | path

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

/include/asm-generic/bitops/
Dnon-atomic.h18 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __set_bit()
26 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __clear_bit()
43 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __change_bit()
60 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_set_bit()
79 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_clear_bit()
91 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_change_bit()
105 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in test_bit()
Datomic.h68 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in set_bit()
89 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in clear_bit()
110 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in change_bit()
130 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_set_bit()
154 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_clear_bit()
177 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_change_bit()
/include/linux/
Dbitops.h9 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) macro