Lines Matching defs:actual_oldval
239 TYPE actual_oldval; \
244 actual_oldval = __atomic_load_n (ptr, __ATOMIC_SEQ_CST); \
246 if (__builtin_expect (oldval != actual_oldval, 0)) \
247 return actual_oldval; \
249 fail = __kernel_cmpxchg2 (ptr, &actual_oldval, &newval, INDEX); \
252 return actual_oldval; \
272 int actual_oldval;
276 actual_oldval = __atomic_load_n (ptr, __ATOMIC_SEQ_CST);
278 if (__builtin_expect (oldval != actual_oldval, 0))
279 return actual_oldval;
281 fail = __kernel_cmpxchg (ptr, actual_oldval, newval);
284 return actual_oldval;