Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
H A Dxray_interface.cpp457 h->type_id = atomic_fetch_add( in __xray_register_event_type()
/openbsd-src/gnu/llvm/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.cpp75 uptr start = atomic_fetch_add(&total_frames_, count, memory_order_relaxed); in Alloc()
96 atomic_fetch_add(&allocated_, size, memory_order_relaxed); in Map()
370 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_tls_get_addr.cpp68 atomic_fetch_add(&number_of_live_dtls, 1, memory_order_relaxed); in DTLS_NextBlock()
H A Dsanitizer_stackdepot.cpp70 atomic_fetch_add(&useCounts[id_], 1, memory_order_relaxed); in inc_use_count_unsafe()
H A Dsanitizer_mutex.cpp47 atomic_fetch_add(&state_, count, memory_order_release); in Post()
H A Dsanitizer_stackdepotbase.h139 s = atomic_fetch_add(&n_uniq_ids, 1, memory_order_relaxed) + 1; in Put()
H A Dsanitizer_common.cpp197 atomic_fetch_add(&g_total_mmaped, size, memory_order_relaxed) + size; in IncreaseTotalMmap()
/openbsd-src/gnu/llvm/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.cpp78 uptr new_tag = atomic_fetch_add(&used_tags, 1, memory_order_relaxed); in __tsan_external_register_tag()
H A Dtsan_interface_ann.cpp127 atomic_fetch_add(&race->hitcount, 1, memory_order_relaxed); in CheckContains()
H A Dtsan_fd.cpp65 atomic_fetch_add(&s->rc, 1, memory_order_relaxed); in ref()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp55 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
/openbsd-src/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_rtl.cpp39 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) { in MemprofDie()
/openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_thread.cpp46 unique_id_ = atomic_fetch_add(&unique_id, 1, memory_order_relaxed); in Init()
/openbsd-src/gnu/llvm/clang/lib/Headers/
H A Dstdatomic.h145 #define atomic_fetch_add(object, operand) __c11_atomic_fetch_add(object, operand, __ATOMIC_SEQ_CST) macro
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.cpp101 uptr id = atomic_fetch_add(&id_gen, 1, memory_order_relaxed); in ThreadInit()
/openbsd-src/gnu/llvm/libcxx/include/
H A Dstdatomic.h202 using std::atomic_fetch_add _LIBCPP_USING_IF_EXISTS;
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_rtl.cpp46 if (atomic_fetch_add(&num_calls, 1, memory_order_relaxed) != 0) { in AsanDie()

12