Lines Matching refs:p
31 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in generic___set_bit() local
33 *p |= mask; in generic___set_bit()
40 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in generic___clear_bit() local
42 *p &= ~mask; in generic___clear_bit()
58 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in generic___change_bit() local
60 *p ^= mask; in generic___change_bit()
76 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in generic___test_and_set_bit() local
77 unsigned long old = *p; in generic___test_and_set_bit()
79 *p = old | mask; in generic___test_and_set_bit()
96 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in generic___test_and_clear_bit() local
97 unsigned long old = *p; in generic___test_and_clear_bit()
99 *p = old & ~mask; in generic___test_and_clear_bit()
108 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in generic___test_and_change_bit() local
109 unsigned long old = *p; in generic___test_and_change_bit()
111 *p = old ^ mask; in generic___test_and_change_bit()
139 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in generic_test_bit_acquire() local
140 return 1UL & (smp_load_acquire(p) >> (nr & (BITS_PER_LONG-1))); in generic_test_bit_acquire()
168 const unsigned long *p = (const unsigned long *)addr + BIT_WORD(nr); in const_test_bit() local
170 unsigned long val = *p; in const_test_bit()