Searched refs:newval (Results 1 – 1 of 1) sorted by relevance
105 inline long atomic_cmpxchg(atomic_t *ato, long oldval, long newval) in atomic_cmpxchg() argument107 bool success = arch_try_cmpxchg(&ato->value, &oldval, newval); in atomic_cmpxchg()108 return success ? oldval : newval; in atomic_cmpxchg()