Searched refs:cmpxchg (Results 1 – 9 of 9) sorted by relevance
/include/asm-generic/ |
D | atomic.h | 42 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)))
|
D | cmpxchg.h | 106 #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) macro
|
D | mshyperv.h | 70 if (cmpxchg(&msg->header.message_type, old_msg_type, in vmbus_signal_eom()
|
D | atomic-instrumented.h | 1680 #define cmpxchg(ptr, ...) \ macro
|
/include/linux/ |
D | bitops.h | 254 } while (cmpxchg(ptr, old__, new__) != old__); \ 270 cmpxchg(ptr, old__, new__) != old__); \
|
D | netpoll.h | 84 while (cmpxchg(&napi->poll_owner, -1, owner) != -1) in netpoll_poll_lock()
|
D | atomic-fallback.h | 33 #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__)
|
D | kvm_host.h | 334 return cmpxchg(&vcpu->mode, IN_GUEST_MODE, EXITING_GUEST_MODE); in kvm_vcpu_exiting_guest_mode()
|
D | netdevice.h | 558 } while (cmpxchg(&n->state, val, new) != val); in napi_if_scheduled_mark_missed()
|