/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_profiling.cpp | 152 auto FCT = atomic_exchange(&TLD.FCT, 0, memory_order_acq_rel); in cleanupTLD() 157 auto Allocators = atomic_exchange(&TLD.Allocators, 0, memory_order_acq_rel); in cleanupTLD() 169 uptr P = atomic_exchange(&T.FCT, 0, memory_order_acq_rel); in postCurrentThreadFCT() 177 uptr A = atomic_exchange(&T.Allocators, 0, memory_order_acq_rel); in postCurrentThreadFCT() 222 s32 Previous = atomic_exchange(&ProfilerLogFlushStatus, in profilingFlush() 428 if (atomic_exchange(&ThreadExitingLatch, 1, memory_order_acq_rel)) in profilingLoggingInit() 454 if (atomic_exchange(&ThreadExitingLatch, 1, memory_order_acq_rel)) in profilingLoggingInit()
|
H A D | xray_recursion_guard.h | 39 : Running(R), Valid(!atomic_exchange(&R, 1, memory_order_acq_rel)) {} in RecursionGuard()
|
H A D | xray_buffer_queue.cpp | 219 if (atomic_exchange(&Finalizing, 1, memory_order_acq_rel)) in finalize()
|
H A D | xray_fdr_logging.cpp | 284 if (atomic_exchange(&LogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHING, in fdrLoggingFlush()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_atomic_msvc.h | 147 inline u8 atomic_exchange(volatile atomic_uint8_t *a, in atomic_exchange() function 154 inline u16 atomic_exchange(volatile atomic_uint16_t *a, in atomic_exchange() function 161 inline u32 atomic_exchange(volatile atomic_uint32_t *a, in atomic_exchange() function
|
H A D | sanitizer_atomic_clang.h | 70 inline typename T::Type atomic_exchange(volatile T *a, typename T::Type v, in atomic_exchange() function
|
H A D | sanitizer_coverage_fuchsia.cpp | 87 u32 idx = atomic_exchange(guard_ptr, 0, memory_order_relaxed); in TracePcGuard()
|
H A D | sanitizer_tls_get_addr.cpp | 81 DTLS::DTVBlock *block = (DTLS::DTVBlock *)atomic_exchange( in DTLS_Destroy()
|
H A D | sanitizer_mutex.cpp | 26 atomic_exchange(&state_, 1, memory_order_acquire) == 0) in LockSlow()
|
H A D | sanitizer_mutex.h | 36 return atomic_exchange(&state_, 1, memory_order_acquire) == 0; in TryLock()
|
H A D | sanitizer_common.cpp | 409 return !atomic_exchange(&in_crash_state, 1, memory_order_relaxed); in __sanitizer_acquire_crash_state()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | linux.cpp | 123 V = atomic_exchange(&M, Sleeping, memory_order_acquire); 127 V = atomic_exchange(&M, Sleeping, memory_order_acquire); in unlock()
|
H A D | atomic_helpers.h | 107 inline typename T::Type atomic_exchange(volatile T *A, typename T::Type V, in atomic_exchange() function
|
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_value.h | 60 u32 OldColumn = __sanitizer::atomic_exchange( in acquire()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_external.cpp | 102 (char *)atomic_exchange(header_ptr, (uptr)header, memory_order_seq_cst); in __tsan_external_register_header()
|
/freebsd/usr.sbin/bhyve/ |
H A D | rfb.c | 688 if (atomic_exchange(&rc->pending, false) == false) in rfb_send_screen() 691 if (atomic_exchange(&rc->update_pixfmt, false) == true) { in rfb_send_screen() 720 if (atomic_exchange(&rc->update_all, false) == true) { in rfb_send_screen() 956 input = atomic_exchange(&rc->input_detected, false); in rfb_wr_thr()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | stdatomic.h | 94 using std::atomic_exchange // see below 200 using std::atomic_exchange _LIBCPP_USING_IF_EXISTS;
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | stdatomic.h | 147 #define atomic_exchange(object, desired) __c11_atomic_exchange(object, desired, __ATOMIC_SEQ_CST) macro
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | atomic.cppm |
|
H A D | atomic.inc | 35 using std::atomic_exchange _LIBCPP_USING_IF_EXISTS;
|
H A D | memory.cppm |
|
H A D | memory.inc | 204 using std::atomic_exchange;
|
/freebsd/sys/sys/ |
H A D | stdatomic.h | 352 #define atomic_exchange(object, desired) \ macro
|
/freebsd/contrib/llvm-project/libcxx/include/__atomic/ |
H A D | atomic.h | 337 _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_ty… 342 _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _…
|
/freebsd/share/man/man3/ |
H A D | Makefile | 79 ATOMIC_VAR_INIT.3 atomic_exchange.3 \
|