Home
last modified time | relevance | path

Searched refs:atomic_store (Results 1 – 25 of 102) sorted by relevance

12345

/src/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_profiling.cpp91 atomic_store(&TLD.Allocators, 0, memory_order_release); in getThreadLocalData()
129 atomic_store(&TLD.Allocators, Allocators, memory_order_release); in getThreadLocalData()
142 atomic_store(&TLD.FCT, FCT, memory_order_release); in getThreadLocalData()
216 atomic_store(&ProfilerLogFlushStatus, in profilingFlush()
260 atomic_store(&ProfilerLogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHED, in profilingFlush()
262 atomic_store(&ProfilerLogStatus, XRayLogInitStatus::XRAY_LOG_UNINITIALIZED, in profilingFlush()
343 atomic_store(&ProfilerLogStatus, XRayLogInitStatus::XRAY_LOG_FINALIZED, in profilingFinalize()
396 atomic_store(&ProfilerLogStatus, in profilingLoggingInit()
413 atomic_store(&ProfilerLogStatus, in profilingLoggingInit()
474 atomic_store(&ProfilerLogStatus, XRayLogInitStatus::XRAY_LOG_INITIALIZED, in profilingLoggingInit()
H A Dxray_interface.cpp250 atomic_store(&XRayPatching, false, in patchFunction()
278 atomic_store(&XRayPatching, false, in controlPatching()
341 atomic_store(&XRayPatching, false, in controlPatching()
418 atomic_store(&__xray::XRayPatchedFunction, in __xray_set_handler()
430 atomic_store(&__xray::XRayPatchedCustomEvent, in __xray_set_customevent_handler()
442 atomic_store(&__xray::XRayPatchedTypedEvent, in __xray_set_typedevent_handler()
498 atomic_store(&XRayArgLogger, reinterpret_cast<uint64_t>(entry), in __xray_set_handler_arg1()
H A Dxray_buffer_queue.cpp115 atomic_store(&BackingStore->RefCount, 1, memory_order_release); in init()
116 atomic_store(&ExtentsBackingStore->RefCount, 1, memory_order_release); in init()
127 atomic_store(Buf.Extents, 0, memory_order_release); in init()
140 atomic_store(&Finalizing, 0, memory_order_release); in init()
212 atomic_store(B->Buff.Extents, atomic_load(Buf.Extents, memory_order_acquire), in releaseBuffer()
H A Dxray_fdr_logging.cpp309 atomic_store(&LoggingStatus, XRayLogInitStatus::XRAY_LOG_UNINITIALIZED, in fdrLoggingFlush()
323 atomic_store(&LogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHED, in fdrLoggingFlush()
340 atomic_store(&LogFlushStatus, Result, memory_order_release); in fdrLoggingFlush()
378 atomic_store(&LogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHED, in fdrLoggingFlush()
402 atomic_store(&LoggingStatus, XRayLogInitStatus::XRAY_LOG_FINALIZED, in fdrLoggingFinalize()
680 atomic_store(&TicksPerSec, in fdrLoggingInit()
701 atomic_store(&ThresholdTicks, in fdrLoggingInit()
716 atomic_store(&LoggingStatus, XRayLogInitStatus::XRAY_LOG_INITIALIZED, in fdrLoggingInit()
H A Dxray_init.cpp74 atomic_store(&XRayFlagsInitialized, true, memory_order_release); in __xray_init()
106 atomic_store(&XRayInitialized, true, memory_order_release); in __xray_init()
H A Dxray_basic_logging.cpp95 atomic_store(&CycleFrequency, getTSCFrequency(), memory_order_release); in getLog()
386 atomic_store(&UseRealTSC, probeRequiredCPUFeatures(), memory_order_release); in basicLoggingInit()
388 atomic_store(&TicksPerSec, in basicLoggingInit()
423 atomic_store(&ThresholdTicks, in basicLoggingInit()
H A Dxray_recursion_guard.h50 atomic_store(&Running, 0, memory_order_release); in ~RecursionGuard()
/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_addrhashmap.h310 atomic_store(&b->add, (uptr)add, memory_order_relaxed); in acquire()
322 atomic_store(&b->add, (uptr)add1, memory_order_relaxed); in acquire()
346 atomic_store(&c->addr, h->addr_, memory_order_release); in release()
351 atomic_store(&c->addr, 0, memory_order_release); in release()
361 atomic_store(&c->addr, addr1, memory_order_release); in release()
362 atomic_store(&c1->addr, 0, memory_order_release); in release()
370 atomic_store(&c1->addr, 0, memory_order_relaxed); in release()
H A Dsanitizer_allocator.cpp43 atomic_store(&internal_allocator_initialized, 1, memory_order_release); in internal_allocator()
194 atomic_store(&allocator_may_return_null, may_return_null, in SetAllocatorMayReturnNull()
210 atomic_store(&rss_limit_exceeded, limit_exceeded, memory_order_relaxed); in SetRssLimitExceeded()
H A Dsanitizer_stackdepot.cpp133 atomic_store(&run_, 1, memory_order_release); in NewWorkNotify()
168 atomic_store(&run_, 0, memory_order_release); in Stop()
179 atomic_store(&run_, 0, memory_order_release); in LockAndStop()
H A Dsanitizer_libignore.cpp86 atomic_store(&ignored_ranges_count_, idx + 1, memory_order_release); in OnLibraryLoaded()
115 atomic_store(&instrumented_ranges_count_, idx + 1, in OnLibraryLoaded()
H A Dsanitizer_stoptheworld_netbsd_libcdep.cpp171 atomic_store(&inst->arg->done, 1, memory_order_relaxed); in TracerThreadSignalHandler()
228 atomic_store(&tracer_thread_argument->done, 1, memory_order_relaxed); in TracerThread()
276 atomic_store(&tracer_thread_argument.done, 0, memory_order_relaxed); in StopTheWorld()
H A Dsanitizer_thread_registry.cpp25 atomic_store(&thread_destroyed, 0, memory_order_release); in ThreadContextBase()
50 atomic_store(&thread_destroyed, 1, memory_order_release); in SetDestroyed()
98 atomic_store(&thread_destroyed, 0, memory_order_release); in Reset()
H A Dsanitizer_stack_store.cpp141 atomic_store(&data_, reinterpret_cast<uptr>(ptr), memory_order_release); in Create()
299 atomic_store(&data_, reinterpret_cast<uptr>(unpacked), memory_order_release); in GetOrUnpack()
362 atomic_store(&data_, reinterpret_cast<uptr>(packed), memory_order_release); in Pack()
H A Dsanitizer_atomic.h93 atomic_store(a, v, memory_order_relaxed); in atomic_store_relaxed()
H A Dsanitizer_stoptheworld_linux_libcdep.cpp270 atomic_store(&inst->arg->done, 1, memory_order_relaxed); in TracerThreadSignalHandler()
328 atomic_store(&tracer_thread_argument->done, 1, memory_order_relaxed); in TracerThread()
402 atomic_store(&tracer_thread_argument.done, 0, memory_order_relaxed); in StopTheWorld()
H A Dsanitizer_lfstack.h28 atomic_store(&head_, 0, memory_order_relaxed); in Clear()
/src/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_fd.cpp59 atomic_store(&s->rc, 1, memory_order_relaxed); in allocsync()
113 atomic_store(&d->aux_sync, 0, memory_order_relaxed); in init()
140 atomic_store(&fdctx.globsync.rc, (u64)-1, memory_order_relaxed); in FdInit()
141 atomic_store(&fdctx.filesync.rc, (u64)-1, memory_order_relaxed); in FdInit()
142 atomic_store(&fdctx.socksync.rc, (u64)-1, memory_order_relaxed); in FdInit()
247 atomic_store(&d->aux_sync, 0, memory_order_relaxed); in FdClose()
/src/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_interceptors.cpp142 atomic_store(&param.t, 0, memory_order_relaxed); in INTERCEPTOR()
143 atomic_store(&param.is_registered, 0, memory_order_relaxed); in INTERCEPTOR()
156 atomic_store(&param.t, reinterpret_cast<uptr>(t), memory_order_release); in INTERCEPTOR()
H A Dmemprof_stack.cpp22 atomic_store(&malloc_context_size, size, memory_order_release); in SetMallocContextSize()
/src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h107 atomic_store(&Disabled, 1U, memory_order_release); in disable()
111 atomic_store(&Disabled, 0U, memory_order_release); in enable()
H A Datomic_helpers.h71 inline void atomic_store(volatile T *A, typename T::Type V, memory_order MO) { in atomic_store() function
132 atomic_store(A, V, memory_order_relaxed); in atomic_store_relaxed()
/src/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_stack.cpp22 atomic_store(&malloc_context_size, size, memory_order_release); in SetMallocContextSize()
/src/contrib/ofed/librdmacm/
H A Dcma.h60 atomic_store(&lock->cnt, 0); in fastlock_init()
/src/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp90 atomic_store(&alloc_context_id, context, memory_order_relaxed); in SetAllocated()
91 atomic_store(&chunk_state, CHUNK_ALLOCATED, memory_order_release); in SetAllocated()
95 atomic_store(&chunk_state, CHUNK_INVALID, memory_order_release); in SetUnallocated()
98 atomic_store(&alloc_context_id, 0, memory_order_relaxed); in SetUnallocated()

12345