Home
last modified time | relevance | path

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

12

/freebsd-13.1/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, in atomic_fetch_add() function
61 return atomic_fetch_add(ptr, -val, mo); in atomic_fetch_sub()
99 return atomic_fetch_add(Newptr, zero, mo); in atomic_load()
H A Dsanitizer_atomic_msvc.h105 inline u32 atomic_fetch_add(volatile atomic_uint32_t *a, in atomic_fetch_add() function
113 inline uptr atomic_fetch_add(volatile atomic_uintptr_t *a, in atomic_fetch_add() function
H A Dsanitizer_atomic_clang.h46 inline typename T::Type atomic_fetch_add(volatile T *a, in atomic_fetch_add() function
H A Dsanitizer_stackdepot.cpp83 atomic_fetch_add(&node_->hash_and_use_count, 1, memory_order_relaxed) & in inc_use_count_unsafe()
H A Dsanitizer_tls_get_addr.cpp68 atomic_fetch_add(&number_of_live_dtls, 1, memory_order_relaxed); in DTLS_NextBlock()
H A Dsanitizer_mutex.cpp47 atomic_fetch_add(&state_, count, memory_order_release); in Post()
H A Dsanitizer_stackdepotbase.h121 u32 id = atomic_fetch_add(&seq[part], 1, memory_order_relaxed) + 1; in Put()
H A Dsanitizer_common.cpp182 atomic_fetch_add(&g_total_mmaped, size, memory_order_relaxed) + size; in IncreaseTotalMmap()
H A Dsanitizer_mutex.h390 u32 prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire); in ReadLock()
/freebsd-13.1/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); in incRefCount()
111 atomic_fetch_add(&Generation, 1, memory_order_acq_rel); in init()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_suppressions.cpp100 atomic_fetch_add(&(*sp)->hit_count, 1, memory_order_relaxed); in IsSuppressed()
138 atomic_fetch_add(&s->hit_count, 1, memory_order_relaxed); in IsSuppressed()
H A Dtsan_external.cpp77 uptr new_tag = atomic_fetch_add(&used_tags, 1, memory_order_relaxed); in __tsan_external_register_tag()
H A Dtsan_interface_ann.cpp129 atomic_fetch_add(&race->hitcount, 1, memory_order_relaxed); in CheckContains()
168 atomic_fetch_add(&(race0->*counter), cnt, memory_order_relaxed); in CollectMatchedBenignRaces()
H A Dtsan_clock.cpp291 atomic_fetch_add(ref_ptr(dst->tab_), 1, memory_order_relaxed); in ReleaseStore()
330 atomic_fetch_add(ref_ptr(dst->tab_), 1, memory_order_relaxed); in ReleaseStore()
H A Dtsan_sync.cpp238 const u64 uid = atomic_fetch_add(&uid_gen_, 1, memory_order_relaxed); in GetAndLock()
/freebsd-13.1/contrib/ofed/librdmacm/
H A Dcma.h68 if (atomic_fetch_add(&lock->cnt, 1) > 0) in fastlock_acquire()
/freebsd-13.1/lib/libnetgraph/
H A Dmsg.c76 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-13.1/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_tsd_shared.cpp63 u32 Index = atomic_fetch_add(&CurrentIndex, 1, memory_order_relaxed); in initThread()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp43 if (atomic_fetch_add(&NumberOfCalls, 1, memory_order_relaxed) > 2) { in reportCheckFailed()
H A Dtsd_shared.h156 const u32 Index = atomic_fetch_add(&CurrentIndex, 1U, memory_order_relaxed); in initThread()
H A Datomic_helpers.h79 inline typename T::Type atomic_fetch_add(volatile T *A, typename T::Type V, in atomic_fetch_add() function
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_rtl.cpp38 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) { in MemprofDie()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.cpp101 uptr id = atomic_fetch_add(&id_gen, 1, memory_order_relaxed); in ThreadInit()
/freebsd-13.1/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

12