Home
last modified time | relevance | path

Searched refs:cmpxchg (Results 1 – 9 of 9) sorted by relevance

/include/asm-generic/
Datomic.h42 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \
52 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \
64 while ((old = cmpxchg(&v->counter, c, c c_op i)) != c) \
196 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
Dcmpxchg.h106 #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) macro
Dmshyperv.h70 if (cmpxchg(&msg->header.message_type, old_msg_type, in vmbus_signal_eom()
Datomic-instrumented.h1680 #define cmpxchg(ptr, ...) \ macro
/include/linux/
Dbitops.h254 } while (cmpxchg(ptr, old__, new__) != old__); \
270 cmpxchg(ptr, old__, new__) != old__); \
Dnetpoll.h84 while (cmpxchg(&napi->poll_owner, -1, owner) != -1) in netpoll_poll_lock()
Datomic-fallback.h33 #define cmpxchg_relaxed cmpxchg
34 #define cmpxchg_acquire cmpxchg
35 #define cmpxchg_release cmpxchg
40 __atomic_op_acquire(cmpxchg, __VA_ARGS__)
45 __atomic_op_release(cmpxchg, __VA_ARGS__)
48 #ifndef cmpxchg
49 #define cmpxchg(...) \ macro
50 __atomic_op_fence(cmpxchg, __VA_ARGS__)
Dkvm_host.h334 return cmpxchg(&vcpu->mode, IN_GUEST_MODE, EXITING_GUEST_MODE); in kvm_vcpu_exiting_guest_mode()
Dnetdevice.h558 } while (cmpxchg(&n->state, val, new) != val); in napi_if_scheduled_mark_missed()