Lines Matching refs:new

85 #define __raw_cmpxchg(ptr, old, new, size, lock)			\  argument
89 __typeof__(*(ptr)) __new = (new); \
133 #define __cmpxchg(ptr, old, new, size) \ argument
134 __raw_cmpxchg((ptr), (old), (new), (size), LOCK_PREFIX)
136 #define __sync_cmpxchg(ptr, old, new, size) \ argument
137 __raw_cmpxchg((ptr), (old), (new), (size), "lock; ")
139 #define __cmpxchg_local(ptr, old, new, size) \ argument
140 __raw_cmpxchg((ptr), (old), (new), (size), "")
148 #define arch_cmpxchg(ptr, old, new) \ argument
149 __cmpxchg(ptr, old, new, sizeof(*(ptr)))
151 #define arch_sync_cmpxchg(ptr, old, new) \ argument
152 __sync_cmpxchg(ptr, old, new, sizeof(*(ptr)))
154 #define arch_cmpxchg_local(ptr, old, new) \ argument
155 __cmpxchg_local(ptr, old, new, sizeof(*(ptr)))
173 : [new] "q" (__new) \
185 : [new] "r" (__new) \
197 : [new] "r" (__new) \
209 : [new] "r" (__new) \
221 #define __try_cmpxchg(ptr, pold, new, size) \ argument
222 __raw_try_cmpxchg((ptr), (pold), (new), (size), LOCK_PREFIX)
224 #define __sync_try_cmpxchg(ptr, pold, new, size) \ argument
225 __raw_try_cmpxchg((ptr), (pold), (new), (size), "lock; ")
227 #define __try_cmpxchg_local(ptr, pold, new, size) \ argument
228 __raw_try_cmpxchg((ptr), (pold), (new), (size), "")
230 #define arch_try_cmpxchg(ptr, pold, new) \ argument
231 __try_cmpxchg((ptr), (pold), (new), sizeof(*(ptr)))
233 #define arch_sync_try_cmpxchg(ptr, pold, new) \ argument
234 __sync_try_cmpxchg((ptr), (pold), (new), sizeof(*(ptr)))
236 #define arch_try_cmpxchg_local(ptr, pold, new) \ argument
237 __try_cmpxchg_local((ptr), (pold), (new), sizeof(*(ptr)))