/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_recursion_guard.h | 39 : Running(R), Valid(!atomic_exchange(&R, 1, memory_order_acq_rel)) {}
|
H A D | xray_profiling.cpp | 155 auto FCT = atomic_exchange(&TLD.FCT, 0, memory_order_acq_rel); 160 auto Allocators = atomic_exchange(&TLD.Allocators, 0, memory_order_acq_rel); 172 uptr P = atomic_exchange(&T.FCT, 0, memory_order_acq_rel); 180 uptr A = atomic_exchange(&T.Allocators, 0, memory_order_acq_rel); 225 s32 Previous = atomic_exchange(&ProfilerLogFlushStatus, 431 if (atomic_exchange(&ThreadExitingLatch, 1, memory_order_acq_rel)) 457 if (atomic_exchange(&ThreadExitingLatch, 1, memory_order_acq_rel))
|
H A D | xray_buffer_queue.cpp | 219 if (atomic_exchange(&Finalizing, 1, memory_order_acq_rel))
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mutex.h | 35 return atomic_exchange(&state_, 1, memory_order_acquire) == 0; 56 && atomic_exchange(&state_, 1, memory_order_acquire) == 0)
|
H A D | sanitizer_atomic_clang.h | 62 INLINE typename T::Type atomic_exchange(volatile T *a, function in namespace:__sanitizer
|
H A D | sanitizer_atomic_msvc.h | 147 INLINE u8 atomic_exchange(volatile atomic_uint8_t *a, function in namespace:__sanitizer 154 INLINE u16 atomic_exchange(volatile atomic_uint16_t *a, function in namespace:__sanitizer 161 INLINE u32 atomic_exchange(volatile atomic_uint32_t *a, function in namespace:__sanitizer
|
H A D | sanitizer_rtems.cpp | 121 if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked) 123 while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) { 130 u32 v = atomic_exchange(m, MtxUnlocked, memory_order_release);
|
H A D | sanitizer_coverage_fuchsia.cpp | 84 u32 idx = atomic_exchange(guard_ptr, 0, memory_order_relaxed);
|
H A D | sanitizer_fuchsia.cpp | 125 if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked) 127 while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) { 138 u32 v = atomic_exchange(m, MtxUnlocked, memory_order_release);
|
H A D | sanitizer_common.cpp | 337 return !atomic_exchange(&in_crash_state, 1, memory_order_relaxed);
|
H A D | sanitizer_linux.cpp | 650 if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked) 652 while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) { 666 u32 v = atomic_exchange(m, MtxUnlocked, memory_order_release);
|
H A D | sanitizer_common_interceptors.inc | 6133 if (atomic_exchange(&printed, 1, memory_order_relaxed))
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | linux.cpp | 102 V = atomic_exchange(&M, Sleeping, memory_order_acquire); 106 V = atomic_exchange(&M, Sleeping, memory_order_acquire);
|
H A D | atomic_helpers.h | 93 inline typename T::Type atomic_exchange(volatile T *A, typename T::Type V, function in namespace:scudo
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_value.h | 60 u32 OldColumn = __sanitizer::atomic_exchange(
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/ |
H A D | stdatomic.h | 123 #define atomic_exchange(object, desired) __c11_atomic_exchange(object, desired, __ATOMIC_SEQ_CST) macro
|
H A D | opencl-c.h | 13594 // atomic_exchange() 13596 int __ovld atomic_exchange(volatile atomic_int *object, int desired); 13599 uint __ovld atomic_exchange(volatile atomic_uint *object, uint desired); 13602 float __ovld atomic_exchange(volatile atomic_float *object, float desired); 13607 double __ovld atomic_exchange(volatile atomic_double *object, double desired); 13611 long __ovld atomic_exchange(volatile atomic_long *object, long desired); 13614 ulong __ovld atomic_exchange(volatile atomic_ulong *object, ulong desired);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_external.cpp | 93 (char *)atomic_exchange(header_ptr, (uptr)header, memory_order_seq_cst);
|
H A D | tsan_rtl.cpp | 434 atomic_exchange(&bg_thread, 1, memory_order_relaxed) == 0) {
|
/freebsd-11-stable/share/man/man3/ |
H A D | Makefile | 30 ATOMIC_VAR_INIT.3 atomic_exchange.3 \
|
/freebsd-11-stable/sys/sys/ |
H A D | stdatomic.h | 349 #define atomic_exchange(object, desired) \ macro
|