Home
last modified time | relevance | path

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

/tools/include/asm-generic/bitops/
Dnon-atomic.h19 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __set_bit()
27 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __clear_bit()
44 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __change_bit()
61 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_set_bit()
80 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_clear_bit()
92 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_change_bit()
106 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in test_bit()
/tools/testing/radix-tree/
Dbitmap.c7 unsigned long *p = map + BIT_WORD(start); in bitmap_clear()
/tools/include/linux/
Dbitmap.h91 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_set_bit()
108 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_clear_bit()
Dbits.h11 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) macro