Home
last modified time | relevance | path

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

1234

/openbsd/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_profiling.cpp94 atomic_store(&TLD.Allocators, 0, memory_order_release); in getThreadLocalData()
132 atomic_store(&TLD.Allocators, Allocators, memory_order_release); in getThreadLocalData()
145 atomic_store(&TLD.FCT, FCT, memory_order_release); in getThreadLocalData()
219 atomic_store(&ProfilerLogFlushStatus, in profilingFlush()
263 atomic_store(&ProfilerLogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHED, in profilingFlush()
265 atomic_store(&ProfilerLogStatus, XRayLogInitStatus::XRAY_LOG_UNINITIALIZED, in profilingFlush()
346 atomic_store(&ProfilerLogStatus, XRayLogInitStatus::XRAY_LOG_FINALIZED, in profilingFinalize()
399 atomic_store(&ProfilerLogStatus, in profilingLoggingInit()
416 atomic_store(&ProfilerLogStatus, in profilingLoggingInit()
477 atomic_store(&ProfilerLogStatus, XRayLogInitStatus::XRAY_LOG_INITIALIZED, in profilingLoggingInit()
H A Dxray_interface.cpp246 atomic_store(&XRayPatching, false, in patchFunction()
274 atomic_store(&XRayPatching, false, in controlPatching()
337 atomic_store(&XRayPatching, false, in controlPatching()
409 atomic_store(&__xray::XRayPatchedFunction, in __xray_set_handler()
421 atomic_store(&__xray::XRayPatchedCustomEvent, in __xray_set_customevent_handler()
433 atomic_store(&__xray::XRayPatchedTypedEvent, in __xray_set_typedevent_handler()
489 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.cpp312 atomic_store(&LoggingStatus, XRayLogInitStatus::XRAY_LOG_UNINITIALIZED, in fdrLoggingFlush()
326 atomic_store(&LogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHED, in fdrLoggingFlush()
343 atomic_store(&LogFlushStatus, Result, memory_order_release); in fdrLoggingFlush()
381 atomic_store(&LogFlushStatus, XRayLogFlushStatus::XRAY_LOG_FLUSHED, in fdrLoggingFlush()
405 atomic_store(&LoggingStatus, XRayLogInitStatus::XRAY_LOG_FINALIZED, in fdrLoggingFinalize()
682 atomic_store(&TicksPerSec, in fdrLoggingInit()
703 atomic_store(&ThresholdTicks, in fdrLoggingInit()
718 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()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_stats.h35 atomic_store(&stats_[i], v, memory_order_relaxed); in Add()
40 atomic_store(&stats_[i], v, memory_order_relaxed); in Sub()
44 atomic_store(&stats_[i], v, memory_order_relaxed); in Set()
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()
190 atomic_store(&allocator_may_return_null, may_return_null, in SetAllocatorMayReturnNull()
206 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_atomic.h81 atomic_store(a, v, memory_order_relaxed); in atomic_store_relaxed()
H A Dsanitizer_stack_store.cpp136 atomic_store(&data_, reinterpret_cast<uptr>(ptr), memory_order_release); in Create()
294 atomic_store(&data_, reinterpret_cast<uptr>(unpacked), memory_order_release); in GetOrUnpack()
357 atomic_store(&data_, reinterpret_cast<uptr>(packed), memory_order_release); in Pack()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h81 atomic_store(&Disabled, 1U, memory_order_release); in disable()
85 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()
/openbsd/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util_posix.cpp358 atomic_store(&impl->event, 0, __tsan::memory_order_release); in ScopedThreadCallback()
362 atomic_store(&impl->event, 0, __tsan::memory_order_release); in ScopedThreadCallback()
373 atomic_store(&event, (uintptr_t)e, __tsan::memory_order_release); in send()
383 atomic_store(&impl_->event, 0, __tsan::memory_order_relaxed); in ScopedThread()
H A Dtsan_mutex.cpp190 atomic_store(&singleton, (uintptr_t)&val, memory_order_release); in TEST()
211 atomic_store(&flag, 0, memory_order_release); in TEST()
/openbsd/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_interceptors.cpp165 atomic_store(&param.t, 0, memory_order_relaxed); in INTERCEPTOR()
166 atomic_store(&param.is_registered, 0, memory_order_relaxed); in INTERCEPTOR()
179 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()
/openbsd/gnu/llvm/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp441 atomic_store(&p->tid, 0, memory_order_release); in __lsan_thread_start_func()
460 atomic_store(&p.tid, 0, memory_order_relaxed); in INTERCEPTOR()
473 atomic_store(&p.tid, tid, memory_order_release); in INTERCEPTOR()
/openbsd/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_stack.cpp22 atomic_store(&malloc_context_size, size, memory_order_release); in SetMallocContextSize()

1234