Lines Matching refs:new
34 __s32 old, new; \
40 new = old c_op i; \
41 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); \
42 return new; \
49 __s32 old, new; \
55 new = old c_op i; \
56 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); \
129 s64 old, new; \
135 new = old c_op i; \
136 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); \
137 return new; \
144 s64 old, new; \
150 new = old c_op i; \
151 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); \
210 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), old, new)) argument
211 #define arch_atomic_xchg(v, new) (arch_xchg(&((v)->counter), new)) argument
213 #define arch_atomic64_cmpxchg(v, old, new) \ argument
214 (arch_cmpxchg(&((v)->counter), old, new))
215 #define arch_atomic64_xchg(v, new) (arch_xchg(&((v)->counter), new)) argument