Lines Matching refs:old_value
43 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value,
55 Atomic32 old_value,
59 if (!pLinuxKernelCmpxchg(old_value, new_value,
61 return old_value;
64 } while (prev_value == old_value);
70 Atomic32 old_value;
72 old_value = *ptr;
73 } while (pLinuxKernelCmpxchg(old_value, new_value,
75 return old_value;
87 Atomic32 old_value = *ptr;
88 Atomic32 new_value = old_value + increment;
89 if (pLinuxKernelCmpxchg(old_value, new_value,
99 Atomic32 old_value,
101 return NoBarrier_CompareAndSwap(ptr, old_value, new_value);
105 Atomic32 old_value,
107 return NoBarrier_CompareAndSwap(ptr, old_value, new_value);