Searched refs:oldval (Results 1 – 3 of 3) sorted by relevance
/tools/testing/selftests/futex/include/ |
D | atomic.h | 40 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() argument 42 return __sync_val_compare_and_swap(&addr->val, oldval, newval); in atomic_cmpxchg()
|
D | futextest.h | 223 futex_cmpxchg(futex_t *uaddr, u_int32_t oldval, u_int32_t newval) in futex_cmpxchg() argument 225 return __sync_val_compare_and_swap(uaddr, oldval, newval); in futex_cmpxchg()
|
/tools/kvm/kvm_stat/ |
D | kvm_stat | 781 oldval = self.values.get(key, (0, 0)) 784 if oldval is not None: 785 newdelta = newval - oldval[0]
|