Lines Matching defs:ptr
72 unsigned long __xchg(volatile void *ptr, unsigned long x, int size) in __xchg()
93 #define arch_xchg(ptr, x) \ argument
153 unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
178 #define arch_cmpxchg_local(ptr, old, new) \ argument
185 #define arch_cmpxchg(ptr, old, new) \ argument
211 #define arch_cmpxchg64_local(ptr, o, n) \ argument
217 #define arch_cmpxchg64(ptr, o, n) \ argument
225 # define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
229 static inline unsigned long __cmpxchg64(volatile void *ptr, in __cmpxchg64()
300 # define arch_cmpxchg64(ptr, o, n) ({ \ argument
323 # define arch_cmpxchg64(ptr, o, n) arch_cmpxchg64_local((ptr), (o), (n)) argument