Lines Matching refs:old
113 #define __cmpxchg_asm(ld, st, m, old, new) \
134 : GCC_OFF_SMALL_ASM() (*m), "Jr" (old), "Jr" (new) \
141 if (__ret == old) \
149 extern unsigned long __cmpxchg_small(volatile void *ptr, unsigned long old,
153 unsigned long __cmpxchg(volatile void *ptr, unsigned long old,
159 return __cmpxchg_small(ptr, old, new, size);
163 (u32)old, new);
171 (u64)old, new);
178 #define cmpxchg_local(ptr, old, new) \
181 (unsigned long)(__typeof__(*(ptr)))(old), \
185 #define cmpxchg(ptr, old, new) \
197 __res = cmpxchg_local((ptr), (old), (new)); \
230 unsigned long long old,
260 * Compare ret against old, breaking out of the loop if they don't
292 "r" (old),