Searched refs:BITOP_WORD (Results 1 – 3 of 3) sorted by relevance
7 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) macro21 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()
7 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) macro70 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()
7 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) macro