Home
last modified time | relevance | path

Searched refs:oldval (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/futex/include/
Datomic.h40 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()
Dfutextest.h223 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/
Dkvm_stat781 oldval = self.values.get(key, (0, 0))
784 if oldval is not None:
785 newdelta = newval - oldval[0]