Searched refs:atomic_cmpxchg (Results 1 – 2 of 2) sorted by relevance
192 #define atomic_cmpxchg __sync_val_compare_and_swap macro
382 if (atomic_cmpxchg(&ev->value, EV_FREE, EV_BUSY) == EV_SET) { in qemu_event_wait()