| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_atomic_clang_mips.h | 40 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 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_atomic_clang.h | 46 inline typename T::Type atomic_fetch_add(volatile T *a, in atomic_fetch_add() function
|
| H A D | sanitizer_stackdepot.cpp | 83 atomic_fetch_add(&node_->hash_and_use_count, 1, memory_order_relaxed) & in inc_use_count_unsafe()
|
| H A D | sanitizer_tls_get_addr.cpp | 68 atomic_fetch_add(&number_of_live_dtls, 1, memory_order_relaxed); in DTLS_NextBlock()
|
| H A D | sanitizer_mutex.cpp | 47 atomic_fetch_add(&state_, count, memory_order_release); in Post()
|
| H A D | sanitizer_stackdepotbase.h | 121 u32 id = atomic_fetch_add(&seq[part], 1, memory_order_relaxed) + 1; in Put()
|
| H A D | sanitizer_common.cpp | 182 atomic_fetch_add(&g_total_mmaped, size, memory_order_relaxed) + size; in IncreaseTotalMmap()
|
| H A D | sanitizer_mutex.h | 390 u32 prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire); in ReadLock()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_suppressions.cpp | 100 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 D | tsan_external.cpp | 77 uptr new_tag = atomic_fetch_add(&used_tags, 1, memory_order_relaxed); in __tsan_external_register_tag()
|
| H A D | tsan_interface_ann.cpp | 129 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 D | tsan_clock.cpp | 291 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 D | tsan_sync.cpp | 238 const u64 uid = atomic_fetch_add(&uid_gen_, 1, memory_order_relaxed); in GetAndLock()
|
| /freebsd-13.1/contrib/ofed/librdmacm/ |
| H A D | cma.h | 68 if (atomic_fetch_add(&lock->cnt, 1) > 0) in fastlock_acquire()
|
| /freebsd-13.1/lib/libnetgraph/ |
| H A D | msg.c | 76 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 D | scudo_tsd_shared.cpp | 63 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 D | report.cpp | 43 if (atomic_fetch_add(&NumberOfCalls, 1, memory_order_relaxed) > 2) { in reportCheckFailed()
|
| H A D | tsd_shared.h | 156 const u32 Index = atomic_fetch_add(&CurrentIndex, 1U, memory_order_relaxed); in initThread()
|
| 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-13.1/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_rtl.cpp | 38 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 D | dd_rtl.cpp | 101 uptr id = atomic_fetch_add(&id_gen, 1, memory_order_relaxed); in ThreadInit()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Headers/ |
| H A D | stdatomic.h | 132 #define atomic_fetch_add(object, operand) __c11_atomic_fetch_add(object, operand, __ATOMIC_SEQ_CST) macro
|