H A D | cmpxchg.h | 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))) [all …]
|