Home
last modified time | relevance | path

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

12

/freebsd/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/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/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/tools/test/buf_ring/
H A Dbuf_ring_test.c109 if ((unsigned int)atomic_fetch_add(&prod_done_count, 1) == in producer()
183 atomic_fetch_add(&total_cons_count, consume_count); in consumer()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
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 Unmap()
375 return n + atomic_fetch_add(&stored_, n, memory_order_release) == in IsPacked()
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_allocator_stats.h30 atomic_fetch_add(&stats_[i], v, memory_order_relaxed); in Add()
H A Dsanitizer_atomic_clang.h55 inline typename T::Type atomic_fetch_add(volatile T *a, typename T::Type v, in atomic_fetch_add() function
H A Dsanitizer_tls_get_addr.cpp62 atomic_fetch_add(&number_of_live_dtls, 1, memory_order_relaxed); in DTLS_NextBlock()
/freebsd/contrib/ofed/librdmacm/
H A Dcma.h68 if (atomic_fetch_add(&lock->cnt, 1) > 0) in fastlock_acquire()
/freebsd/lib/libnetgraph/
H A Dmsg.c73 msg.header.token = atomic_fetch_add(&gMsgId, 1) & INT_MAX; in NgSendMsg()
142 binary->header.token = atomic_fetch_add(&gMsgId, 1) & INT_MAX; in NgSendAsciiMsg()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp39 if (atomic_fetch_add(&NumberOfCalls, 1, memory_order_relaxed) > 2) { in reportSoftRSSLimit()
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/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/contrib/llvm-project/libcxx/include/
H A Dstdatomic.h100 using std::atomic_fetch_add // see below
202 using std::atomic_fetch_add _LIBCPP_USING_IF_EXISTS;
/freebsd/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/contrib/llvm-project/clang/lib/Headers/
H A Dstdatomic.h156 #define atomic_fetch_add(object, operand) __c11_atomic_fetch_add(object, operand, __ATOMIC_SEQ_CST) macro
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_rtl.cpp42 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) { in MemprofDie()

12