Searched refs:atomic_fetch_add (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic_clang_mips.h40 INLINE atomic_uint64_t::Type atomic_fetch_add(volatile atomic_uint64_t *ptr, function in namespace:__sanitizer
61 return atomic_fetch_add(ptr, -val, mo);
99 return atomic_fetch_add(Newptr, zero, mo);
H A Dsanitizer_termination.cpp72 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) > 10) {
H A Dsanitizer_atomic_clang.h46 INLINE typename T::Type atomic_fetch_add(volatile T *a, function in namespace:__sanitizer
H A Dsanitizer_atomic_msvc.h105 INLINE u32 atomic_fetch_add(volatile atomic_uint32_t *a, function in namespace:__sanitizer
113 INLINE uptr atomic_fetch_add(volatile atomic_uintptr_t *a, function in namespace:__sanitizer
H A Dsanitizer_mutex.h122 u32 prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire);
H A Dsanitizer_tls_get_addr.cpp59 atomic_fetch_add(&number_of_live_dtls, 1, memory_order_relaxed);
H A Dsanitizer_stackdepot.cpp83 atomic_fetch_add(&node_->hash_and_use_count, 1, memory_order_relaxed) &
H A Dsanitizer_stackdepotbase.h118 u32 id = atomic_fetch_add(&seq[part], 1, memory_order_relaxed) + 1;
H A Dsanitizer_common.cpp183 atomic_fetch_add(&g_total_mmaped, size, memory_order_relaxed) + size;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_log_writer.h88 atomic_fetch_add(Buffer.Extents, sizeof(T), memory_order_acq_rel);
118 atomic_fetch_add(Buffer.Extents, Size, memory_order_acq_rel);
162 atomic_fetch_add(Buffer.Extents, sizeof(R) + sizeof(A),
187 atomic_fetch_add(Buffer.Extents, sizeof(R) + EventSize,
210 atomic_fetch_add(Buffer.Extents, EventSize, memory_order_acq_rel);
H A Dxray_buffer_queue.cpp53 atomic_fetch_add(&C->RefCount, 1, memory_order_acq_rel);
111 atomic_fetch_add(&Generation, 1, memory_order_acq_rel);
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Dcma.h68 if (atomic_fetch_add(&lock->cnt, 1) > 0)
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_suppressions.cpp100 atomic_fetch_add(&(*sp)->hit_count, 1, memory_order_relaxed);
138 atomic_fetch_add(&s->hit_count, 1, memory_order_relaxed);
H A Dtsan_external.cpp76 uptr new_tag = atomic_fetch_add(&used_tags, 1, memory_order_relaxed);
H A Dtsan_mutex.cpp261 uptr prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_tsd_shared.cpp63 u32 Index = atomic_fetch_add(&CurrentIndex, 1, memory_order_relaxed);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A Dstdatomic.h132 #define atomic_fetch_add(object, operand) __c11_atomic_fetch_add(object, operand, __ATOMIC_SEQ_CST) macro
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.cpp101 uptr id = atomic_fetch_add(&id_gen, 1, memory_order_relaxed);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Datomic_helpers.h79 inline typename T::Type atomic_fetch_add(volatile T *A, typename T::Type V, function in namespace:scudo
H A Dreport.cpp43 if (atomic_fetch_add(&NumberOfCalls, 1, memory_order_relaxed) > 2) {
H A Dtsd_shared.h118 const u32 Index = atomic_fetch_add(&CurrentIndex, 1U, memory_order_relaxed);
/freebsd-11-stable/lib/libnetgraph/
H A Dmsg.c76 msg.header.token = atomic_fetch_add(&gMsgId, 1) & INT_MAX;
145 binary->header.token = atomic_fetch_add(&gMsgId, 1) & INT_MAX;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan.cpp194 atomic_fetch_add(&__dfsan_last_label, 1, memory_order_relaxed) + 1;
257 atomic_fetch_add(&__dfsan_last_label, 1, memory_order_relaxed) + 1;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_rtl.cpp44 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) {
72 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) == 0) {
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Datomic.h133 return (atomic_fetch_add(a, x) + x);
357 return (atomic_fetch_add(a, x) + x);

Completed in 161 milliseconds

12