| /freebsd-12.1/contrib/compiler-rt/lib/xray/ |
| H A D | xray_fdr_log_writer.h | 89 atomic_fetch_add(Buffer.Extents, sizeof(T), memory_order_acq_rel); 119 atomic_fetch_add(Buffer.Extents, Size, memory_order_acq_rel); 163 atomic_fetch_add(Buffer.Extents, sizeof(R) + sizeof(A), 188 atomic_fetch_add(Buffer.Extents, sizeof(R) + EventSize, 211 atomic_fetch_add(Buffer.Extents, EventSize, memory_order_acq_rel);
|
| H A D | xray_buffer_queue.cc | 54 atomic_fetch_add(&C->RefCount, 1, memory_order_acq_rel); in incRefCount() 112 atomic_fetch_add(&Generation, 1, memory_order_acq_rel); in init()
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_atomic_clang_mips.h | 41 INLINE atomic_uint64_t::Type atomic_fetch_add(volatile atomic_uint64_t *ptr, in atomic_fetch_add() function 62 return atomic_fetch_add(ptr, -val, mo); in atomic_fetch_sub() 100 return atomic_fetch_add(Newptr, zero, mo); in atomic_load()
|
| H A D | sanitizer_atomic_msvc.h | 115 INLINE u32 atomic_fetch_add(volatile atomic_uint32_t *a, in atomic_fetch_add() function 123 INLINE uptr atomic_fetch_add(volatile atomic_uintptr_t *a, in atomic_fetch_add() function
|
| H A D | sanitizer_termination.cc | 73 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) > 10) { in CheckFailed()
|
| H A D | sanitizer_atomic_clang.h | 47 INLINE typename T::Type atomic_fetch_add(volatile T *a, in atomic_fetch_add() function
|
| H A D | sanitizer_mutex.h | 123 u32 prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire); in ReadLock()
|
| H A D | sanitizer_tls_get_addr.cc | 60 atomic_fetch_add(&number_of_live_dtls, 1, memory_order_relaxed); in DTLS_Resize()
|
| H A D | sanitizer_stackdepot.cc | 97 atomic_fetch_add(&node_->hash_and_use_count, 1, memory_order_relaxed) & in inc_use_count_unsafe()
|
| H A D | sanitizer_stackdepotbase.h | 119 u32 id = atomic_fetch_add(&seq[part], 1, memory_order_relaxed) + 1; in Put()
|
| H A D | sanitizer_common.cc | 184 atomic_fetch_add(&g_total_mmaped, size, memory_order_relaxed) + size; in IncreaseTotalMmap()
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_suppressions.cc | 101 atomic_fetch_add(&(*sp)->hit_count, 1, memory_order_relaxed); in IsSuppressed() 139 atomic_fetch_add(&s->hit_count, 1, memory_order_relaxed); in IsSuppressed()
|
| H A D | tsan_external.cc | 77 uptr new_tag = atomic_fetch_add(&used_tags, 1, memory_order_relaxed); in __tsan_external_register_tag()
|
| H A D | tsan_interface_ann.cc | 135 atomic_fetch_add(&race->hitcount, 1, memory_order_relaxed); in CheckContains() 174 atomic_fetch_add(&(race0->*counter), cnt, memory_order_relaxed); in CollectMatchedBenignRaces()
|
| H A D | tsan_clock.cc | 263 atomic_fetch_add(ref_ptr(dst->tab_), 1, memory_order_relaxed); in ReleaseStore() 305 atomic_fetch_add(ref_ptr(dst->tab_), 1, memory_order_relaxed); in ReleaseStore()
|
| H A D | tsan_mutex.cc | 262 uptr prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire); in ReadLock()
|
| H A D | tsan_sync.cc | 242 const u64 uid = atomic_fetch_add(&uid_gen_, 1, memory_order_relaxed); in GetAndLock()
|
| /freebsd-12.1/contrib/ofed/librdmacm/ |
| H A D | cma.h | 68 if (atomic_fetch_add(&lock->cnt, 1) > 0) in fastlock_acquire()
|
| /freebsd-12.1/contrib/compiler-rt/lib/dfsan/ |
| H A D | dfsan.cc | 193 atomic_fetch_add(&__dfsan_last_label, 1, memory_order_relaxed) + 1; in __dfsan_union() 256 atomic_fetch_add(&__dfsan_last_label, 1, memory_order_relaxed) + 1; in dfsan_create_label()
|
| /freebsd-12.1/lib/libnetgraph/ |
| H A D | msg.c | 76 msg.header.token = atomic_fetch_add(&gMsgId, 1) & INT_MAX; in NgSendMsg() 145 binary->header.token = atomic_fetch_add(&gMsgId, 1) & INT_MAX; in NgSendAsciiMsg()
|
| /freebsd-12.1/contrib/compiler-rt/lib/scudo/ |
| H A D | scudo_tsd_shared.cpp | 64 u32 Index = atomic_fetch_add(&CurrentIndex, 1, memory_order_relaxed); in initThread()
|
| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_rtl.cc | 45 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) { in AsanDie() 73 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) == 0) { in AsanCheckFailed()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Headers/ |
| H A D | stdatomic.h | 146 #define atomic_fetch_add(object, operand) __c11_atomic_fetch_add(object, operand, __ATOMIC_SEQ_CST) macro
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/dd/ |
| H A D | dd_rtl.cc | 102 uptr id = atomic_fetch_add(&id_gen, 1, memory_order_relaxed); in ThreadInit()
|
| /freebsd-12.1/contrib/libc++/include/ |
| H A D | atomic | 371 atomic_fetch_add(volatile atomic<Integral>* obj, Integral op) noexcept; 375 atomic_fetch_add(atomic<Integral>* obj, Integral op) noexcept; 452 atomic_fetch_add(volatile atomic<T*>* obj, ptrdiff_t op) noexcept; 456 atomic_fetch_add(atomic<T*>* obj, ptrdiff_t op) noexcept; 779 // atomic_fetch_add. Force a failure rather than creating bad behavior. 1392 // atomic_fetch_add 1401 atomic_fetch_add(volatile atomic<_Tp>* __o, _Tp __op) _NOEXCEPT 1413 atomic_fetch_add(atomic<_Tp>* __o, _Tp __op) _NOEXCEPT 1421 atomic_fetch_add(volatile atomic<_Tp*>* __o, ptrdiff_t __op) _NOEXCEPT 1429 atomic_fetch_add(atomic<_Tp*>* __o, ptrdiff_t __op) _NOEXCEPT
|