Home
last modified time | relevance | path

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

12

/freebsd-14.2/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_stack_store.cpp78 uptr start = atomic_fetch_add(&total_frames_, count, memory_order_relaxed); in Alloc()
101 atomic_fetch_add(&allocated_, size, memory_order_relaxed); in Map()
375 return n + atomic_fetch_add(&stored_, n, memory_order_release) == in Stored()
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_allocator_stats.h30 atomic_fetch_add(&stats_[i], v, memory_order_relaxed); in Add()
H A Dsanitizer_tls_get_addr.cpp62 atomic_fetch_add(&number_of_live_dtls, 1, memory_order_relaxed); in DTLS_NextBlock()
/freebsd-14.2/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-14.2/tools/test/stress2/misc/
H A Dfstat.sh105 (void)atomic_fetch_add(&share[SYNC], 1);
113 (void)atomic_fetch_add(&share[DONE], 1);
121 (void)atomic_fetch_add(&share[DONE], 1);
H A Dkevent15.sh94 (void)atomic_fetch_add(&share[SYNC], 1);
97 (void)atomic_fetch_add(&share[ACT], 1);
H A Dmidi.sh53 (void)atomic_fetch_add(&threads, 1);
H A Dgetrandom2.sh115 (void)atomic_fetch_add(&share[SYNC], 1);
H A Dminherit.sh91 (void)atomic_fetch_add(&share[SYNC], 1);
H A Dkillpg3.sh78 atomic_fetch_add(&share[RDY], 1);
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_suppressions.cpp102 atomic_fetch_add(&(*sp)->hit_count, 1, memory_order_relaxed); in IsSuppressed()
140 atomic_fetch_add(&s->hit_count, 1, memory_order_relaxed); in IsSuppressed()
H A Dtsan_external.cpp85 uptr new_tag = atomic_fetch_add(&used_tags, 1, memory_order_relaxed); in __tsan_external_register_tag()
/freebsd-14.2/contrib/ofed/librdmacm/
H A Dcma.h68 if (atomic_fetch_add(&lock->cnt, 1) > 0) in fastlock_acquire()
/freebsd-14.2/lib/libnetgraph/
H A Dmsg.c74 msg.header.token = atomic_fetch_add(&gMsgId, 1) & INT_MAX; in NgSendMsg()
143 binary->header.token = atomic_fetch_add(&gMsgId, 1) & INT_MAX; in NgSendAsciiMsg()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp39 if (atomic_fetch_add(&NumberOfCalls, 1, memory_order_relaxed) > 2) { in reportCheckFailed()
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-14.2/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_rtl.cpp39 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) { in MemprofDie()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dstdatomic.h202 using std::atomic_fetch_add _LIBCPP_USING_IF_EXISTS;
/freebsd-14.2/contrib/llvm-project/clang/lib/Headers/
H A Dstdatomic.h150 #define atomic_fetch_add(object, operand) __c11_atomic_fetch_add(object, operand, __ATOMIC_SEQ_CST) macro
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread.cpp46 unique_id_ = atomic_fetch_add(&unique_id, 1, memory_order_relaxed); in Init()
/freebsd-14.2/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()

12