Searched refs:atomic_cmpxchg (Results 1 - 1 of 1) sorted by relevance
/third_party/libdrm/ |
H A D | xf86atomic.h | 52 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, oldv, newv) macro 73 # define atomic_cmpxchg(x, oldv, newv) AO_compare_and_swap_full(&(x)->atomic, oldv, newv) macro 97 # define atomic_cmpxchg(x, oldv, newv) atomic_cas_uint (&(x)->atomic, oldv, newv) macro 109 while (c != unless && (old = atomic_cmpxchg(v, c, c + add)) != c) in atomic_add_unless()
|
Completed in 1 milliseconds