Searched refs:oldval (Results 1 – 5 of 5) sorted by relevance
/tools/include/asm-generic/ |
D | atomic-gcc.h | 64 #define cmpxchg(ptr, oldval, newval) \ argument 65 __sync_val_compare_and_swap(ptr, oldval, newval) 67 static inline int atomic_cmpxchg(atomic_t *v, int oldval, int newval) in atomic_cmpxchg() argument 69 return cmpxchg(&(v)->counter, oldval, newval); in atomic_cmpxchg()
|
/tools/testing/selftests/futex/include/ |
D | atomic.h | 36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() argument 38 return __sync_val_compare_and_swap(&addr->val, oldval, newval); in atomic_cmpxchg()
|
D | futextest.h | 219 futex_cmpxchg(futex_t *uaddr, u_int32_t oldval, u_int32_t newval) in futex_cmpxchg() argument 221 return __sync_val_compare_and_swap(uaddr, oldval, newval); in futex_cmpxchg()
|
/tools/testing/selftests/bpf/ |
D | test_sysctl.c | 37 const char *oldval; member 200 .oldval = "nux\n", 1501 if (test->oldval && in access_sysctl() 1502 strncmp(buf, test->oldval, strlen(test->oldval))) { in access_sysctl() 1503 log_err("Read value %s != %s", buf, test->oldval); in access_sysctl()
|
/tools/kvm/kvm_stat/ |
D | kvm_stat | 940 oldval = self.values.get(key, EventStat(0, 0)).value 942 newdelta = newval - oldval
|