Lines Matching refs:old
112 #define __cmpxchg_asm(ld, st, m, old, new) \ argument
133 : GCC_OFF_SMALL_ASM() (*m), "Jr" (old), "Jr" (new) \
140 if (__ret == old) \
148 extern unsigned long __cmpxchg_small(volatile void *ptr, unsigned long old,
152 unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() argument
158 return __cmpxchg_small(ptr, old, new, size); in __cmpxchg()
162 (u32)old, new); in __cmpxchg()
170 (u64)old, new); in __cmpxchg()
177 #define arch_cmpxchg_local(ptr, old, new) \ argument
180 (unsigned long)(__typeof__(*(ptr)))(old), \
184 #define arch_cmpxchg(ptr, old, new) \ argument
196 __res = arch_cmpxchg_local((ptr), (old), (new)); \
229 unsigned long long old, in __cmpxchg64() argument
291 "r" (old), in __cmpxchg64()