Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/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.cpp243 atomic_store(&XRayPatching, false, in patchFunction()
271 atomic_store(&XRayPatching, false, in controlPatching()
334 atomic_store(&XRayPatching, false, in controlPatching()
406 atomic_store(&__xray::XRayPatchedFunction, in __xray_set_handler()
418 atomic_store(&__xray::XRayPatchedCustomEvent, in __xray_set_customevent_handler()
430 atomic_store(&__xray::XRayPatchedTypedEvent, in __xray_set_typedevent_handler()
486 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()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_persistent_allocator.h55 atomic_store(&region_pos, 0, memory_order_relaxed); in alloc()
59 atomic_store(&region_end, mem + allocsz, memory_order_release); in alloc()
60 atomic_store(&region_pos, mem, memory_order_release); in alloc()
H A Dsanitizer_addrhashmap.h271 atomic_store(&b->add, (uptr)add, memory_order_relaxed); in acquire()
283 atomic_store(&b->add, (uptr)add1, memory_order_relaxed); in acquire()
306 atomic_store(&c->addr, h->addr_, memory_order_release); in release()
311 atomic_store(&c->addr, 0, memory_order_release); in release()
321 atomic_store(&c->addr, addr1, memory_order_release); in release()
322 atomic_store(&c1->addr, 0, memory_order_release); in release()
330 atomic_store(&c1->addr, 0, memory_order_relaxed); in release()
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_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.cpp23 atomic_store(&thread_destroyed, 0, memory_order_release); in ThreadContextBase()
48 atomic_store(&thread_destroyed, 1, memory_order_release); in SetDestroyed()
96 atomic_store(&thread_destroyed, 0, memory_order_release); in Reset()
H A Dsanitizer_mutex.h26 atomic_store(&state_, 0, memory_order_relaxed); in Init()
39 void Unlock() RELEASE() { atomic_store(&state_, 0, memory_order_release); } in Unlock()
368 atomic_store(&state_, kUnlocked, memory_order_relaxed); in RWMutex()
H A Dsanitizer_allocator.cpp102 atomic_store(&internal_allocator_initialized, 1, memory_order_release); in internal_allocator()
241 atomic_store(&allocator_may_return_null, may_return_null, in SetAllocatorMayReturnNull()
H A Dsanitizer_atomic.h81 atomic_store(a, v, memory_order_relaxed); in atomic_store_relaxed()
H A Dsanitizer_lfstack.h28 atomic_store(&head_, 0, memory_order_relaxed); in Clear()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_fd.cpp52 atomic_store(&s->rc, 1, memory_order_relaxed); in allocsync()
123 atomic_store(&fdctx.globsync.rc, (u64)-1, memory_order_relaxed); in FdInit()
124 atomic_store(&fdctx.filesync.rc, (u64)-1, memory_order_relaxed); in FdInit()
125 atomic_store(&fdctx.socksync.rc, (u64)-1, memory_order_relaxed); in FdInit()
H A Dtsan_interceptors_posix.cpp330 atomic_store(&ctx->in_blocking_func, 1, memory_order_relaxed); in BlockingCall()
346 atomic_store(&ctx->in_blocking_func, 0, memory_order_relaxed); in ~BlockingCall()
533 atomic_store(&thr->in_signal_handler, buf->in_signal_handler, in LongJmp()
896 atomic_store(g, 1, memory_order_release); in STDCXX_INTERCEPTOR()
901 atomic_store(g, 0, memory_order_relaxed); in STDCXX_INTERCEPTOR()
970 atomic_store(&p->tid, 0, memory_order_release); in __tsan_thread_start_func()
1009 atomic_store(&p.tid, 0, memory_order_relaxed); in TSAN_INTERCEPTOR()
1028 atomic_store(&p.tid, tid, memory_order_release); in TSAN_INTERCEPTOR()
1162 atomic_store(&ctx->in_blocking_func, 0, memory_order_relaxed); in Unlock()
1269 atomic_store((atomic_uintptr_t*)c, 0, memory_order_relaxed); in INTERCEPTOR()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_interceptors.cpp169 atomic_store(&param.t, 0, memory_order_relaxed); in INTERCEPTOR()
170 atomic_store(&param.is_registered, 0, memory_order_relaxed); in INTERCEPTOR()
183 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()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp431 atomic_store(&p->tid, 0, memory_order_release); in __lsan_thread_start_func()
450 atomic_store(&p.tid, 0, memory_order_relaxed); in INTERCEPTOR()
464 atomic_store(&p.tid, tid, memory_order_release); in INTERCEPTOR()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp59 atomic_store(atomic_context, context, memory_order_relaxed); in AtomicContextStore()
182 atomic_store(&magic, kAllocBegMagic, memory_order_release); in Set()
333 atomic_store(&alloc_dealloc_mismatch, options.alloc_dealloc_mismatch, in SharedInitCode()
335 atomic_store(&min_redzone, options.min_redzone, memory_order_release); in SharedInitCode()
336 atomic_store(&max_redzone, options.max_redzone, memory_order_release); in SharedInitCode()
354 atomic_store(&rss_limit_exceeded, limit_exceeded, memory_order_relaxed); in SetRssLimitExceeded()
606 atomic_store(&m->chunk_state, CHUNK_ALLOCATED, memory_order_release); in Allocate()

1234