Lines Matching defs:actual_oldval
152 int actual_oldval, fail;
156 actual_oldval = *ptr;
158 if (__builtin_expect (oldval != actual_oldval, 0))
159 return actual_oldval;
161 fail = __kernel_cmpxchg (actual_oldval, newval, ptr);
174 unsigned int mask, shift, actual_oldval, actual_newval; \
181 actual_oldval = *wordptr; \
183 if (__builtin_expect (((actual_oldval & mask) >> shift) != \
185 return (actual_oldval & mask) >> shift; \
187 actual_newval = (actual_oldval & ~mask) \
190 fail = __kernel_cmpxchg (actual_oldval, actual_newval, \
215 TYPE actual_oldval \
217 return (oldval == actual_oldval); \