/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_fdr_log_writer.h | 88 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 D | xray_buffer_queue.cpp | 53 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 D | fstat.sh | 105 (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 D | kevent15.sh | 94 (void)atomic_fetch_add(&share[SYNC], 1); 97 (void)atomic_fetch_add(&share[ACT], 1);
|
H A D | midi.sh | 53 (void)atomic_fetch_add(&threads, 1);
|
H A D | getrandom2.sh | 115 (void)atomic_fetch_add(&share[SYNC], 1);
|
H A D | minherit.sh | 91 (void)atomic_fetch_add(&share[SYNC], 1);
|
H A D | killpg3.sh | 78 atomic_fetch_add(&share[RDY], 1);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_suppressions.cpp | 102 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 D | tsan_external.cpp | 85 uptr new_tag = atomic_fetch_add(&used_tags, 1, memory_order_relaxed); in __tsan_external_register_tag()
|
/freebsd/tools/test/buf_ring/ |
H A D | buf_ring_test.c | 109 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 D | sanitizer_stack_store.cpp | 78 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 D | sanitizer_atomic_msvc.h | 105 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 D | sanitizer_allocator_stats.h | 30 atomic_fetch_add(&stats_[i], v, memory_order_relaxed); in Add()
|
H A D | sanitizer_atomic_clang.h | 55 inline typename T::Type atomic_fetch_add(volatile T *a, typename T::Type v, in atomic_fetch_add() function
|
H A D | sanitizer_tls_get_addr.cpp | 62 atomic_fetch_add(&number_of_live_dtls, 1, memory_order_relaxed); in DTLS_NextBlock()
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | cma.h | 68 if (atomic_fetch_add(&lock->cnt, 1) > 0) in fastlock_acquire()
|
/freebsd/lib/libnetgraph/ |
H A D | msg.c | 73 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 D | report.cpp | 39 if (atomic_fetch_add(&NumberOfCalls, 1, memory_order_relaxed) > 2) { in reportSoftRSSLimit()
|
H A D | atomic_helpers.h | 79 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 D | dd_rtl.cpp | 101 uptr id = atomic_fetch_add(&id_gen, 1, memory_order_relaxed); in ThreadInit()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | stdatomic.h | 100 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 D | hwasan_thread.cpp | 46 unique_id_ = atomic_fetch_add(&unique_id, 1, memory_order_relaxed); in Init()
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | stdatomic.h | 156 #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 D | memprof_rtl.cpp | 42 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) { in MemprofDie()
|