Lines Matching refs:p
68 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in set_bit() local
71 _atomic_spin_lock_irqsave(p, flags); in set_bit()
72 *p |= mask; in set_bit()
73 _atomic_spin_unlock_irqrestore(p, flags); in set_bit()
89 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in clear_bit() local
92 _atomic_spin_lock_irqsave(p, flags); in clear_bit()
93 *p &= ~mask; in clear_bit()
94 _atomic_spin_unlock_irqrestore(p, flags); in clear_bit()
110 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in change_bit() local
113 _atomic_spin_lock_irqsave(p, flags); in change_bit()
114 *p ^= mask; in change_bit()
115 _atomic_spin_unlock_irqrestore(p, flags); in change_bit()
130 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_set_bit() local
134 _atomic_spin_lock_irqsave(p, flags); in test_and_set_bit()
135 old = *p; in test_and_set_bit()
136 *p = old | mask; in test_and_set_bit()
137 _atomic_spin_unlock_irqrestore(p, flags); in test_and_set_bit()
154 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_clear_bit() local
158 _atomic_spin_lock_irqsave(p, flags); in test_and_clear_bit()
159 old = *p; in test_and_clear_bit()
160 *p = old & ~mask; in test_and_clear_bit()
161 _atomic_spin_unlock_irqrestore(p, flags); in test_and_clear_bit()
177 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in test_and_change_bit() local
181 _atomic_spin_lock_irqsave(p, flags); in test_and_change_bit()
182 old = *p; in test_and_change_bit()
183 *p = old ^ mask; in test_and_change_bit()
184 _atomic_spin_unlock_irqrestore(p, flags); in test_and_change_bit()