Lines Matching refs:old
59 unsigned long *old, \
74 : "r" (ptr), "Ir" (*old), "r" (new) \
81 *old = oldval; \
90 static always_inline bool __int_cmpxchg(volatile void *ptr, unsigned long *old, in __int_cmpxchg() argument
98 return __cmpxchg_case_1(ptr, old, new, timeout, max_try); in __int_cmpxchg()
100 return __cmpxchg_case_2(ptr, old, new, timeout, max_try); in __int_cmpxchg()
102 return __cmpxchg_case_4(ptr, old, new, timeout, max_try); in __int_cmpxchg()
111 unsigned long old, in __cmpxchg() argument
115 if (!__int_cmpxchg(ptr, &old, new, size, false, 0)) in __cmpxchg()
118 return old; in __cmpxchg()
122 unsigned long old, in __cmpxchg_mb() argument
128 ret = __cmpxchg(ptr, old, new, size); in __cmpxchg_mb()
145 unsigned long *old, in __cmpxchg_mb_timeout() argument
153 ret = __int_cmpxchg(ptr, old, new, size, true, max_try); in __cmpxchg_mb_timeout()