Lines Matching refs:m

42 	volatile __u32 *m;  in set_bit()  local
45 m = (volatile __u32 *) addr + (nr >> 5); in set_bit() local
48 CMPXCHG_BUGCHECK(m); in set_bit()
49 old = *m; in set_bit()
51 } while (cmpxchg_acq(m, old, new) != old); in set_bit()
83 volatile __u32 *m; in clear_bit() local
86 m = (volatile __u32 *) addr + (nr >> 5); in clear_bit() local
89 CMPXCHG_BUGCHECK(m); in clear_bit()
90 old = *m; in clear_bit()
92 } while (cmpxchg_acq(m, old, new) != old); in clear_bit()
107 volatile __u32 *m; in clear_bit_unlock() local
110 m = (volatile __u32 *) addr + (nr >> 5); in clear_bit_unlock() local
113 CMPXCHG_BUGCHECK(m); in clear_bit_unlock()
114 old = *m; in clear_bit_unlock()
116 } while (cmpxchg_rel(m, old, new) != old); in clear_bit_unlock()
130 __u32 * const m = (__u32 *) addr + (nr >> 5); in __clear_bit_unlock() local
131 __u32 const new = *m & ~(1 << (nr & 31)); in __clear_bit_unlock()
133 ia64_st4_rel_nta(m, new); in __clear_bit_unlock()
164 volatile __u32 *m; in change_bit() local
167 m = (volatile __u32 *) addr + (nr >> 5); in change_bit() local
170 CMPXCHG_BUGCHECK(m); in change_bit()
171 old = *m; in change_bit()
173 } while (cmpxchg_acq(m, old, new) != old); in change_bit()
203 volatile __u32 *m; in test_and_set_bit() local
206 m = (volatile __u32 *) addr + (nr >> 5); in test_and_set_bit() local
209 CMPXCHG_BUGCHECK(m); in test_and_set_bit()
210 old = *m; in test_and_set_bit()
212 } while (cmpxchg_acq(m, old, new) != old); in test_and_set_bit()
238 __u32 m = 1 << (nr & 31); in __test_and_set_bit() local
239 int oldbitset = (*p & m) != 0; in __test_and_set_bit()
241 *p |= m; in __test_and_set_bit()
257 volatile __u32 *m; in test_and_clear_bit() local
260 m = (volatile __u32 *) addr + (nr >> 5); in test_and_clear_bit() local
263 CMPXCHG_BUGCHECK(m); in test_and_clear_bit()
264 old = *m; in test_and_clear_bit()
266 } while (cmpxchg_acq(m, old, new) != old); in test_and_clear_bit()
283 __u32 m = 1 << (nr & 31); in __test_and_clear_bit() local
284 int oldbitset = (*p & m) != 0; in __test_and_clear_bit()
286 *p &= ~m; in __test_and_clear_bit()
302 volatile __u32 *m; in test_and_change_bit() local
305 m = (volatile __u32 *) addr + (nr >> 5); in test_and_change_bit() local
308 CMPXCHG_BUGCHECK(m); in test_and_change_bit()
309 old = *m; in test_and_change_bit()
311 } while (cmpxchg_acq(m, old, new) != old); in test_and_change_bit()
326 __u32 *m = (__u32 *) addr + (nr >> 5); in __test_and_change_bit() local
328 old = *m; in __test_and_change_bit()
329 *m = old ^ bit; in __test_and_change_bit()