Lines Matching defs:old
112 #define __cmpxchg_asm(ld, st, m, old, new) \
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,
158 return __cmpxchg_small(ptr, old, new, size);
162 (u32)old, new);
170 (u64)old, new);
177 #define arch_cmpxchg_local(ptr, old, new) \
180 (unsigned long)(__typeof__(*(ptr)))(old), \
184 #define arch_cmpxchg(ptr, old, new) \
196 __res = arch_cmpxchg_local((ptr), (old), (new)); \
229 unsigned long long old,
259 * Compare ret against old, breaking out of the loop if they don't
291 "r" (old),