Home
last modified time | relevance | path

Searched refs:atomic_load_relaxed (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dstack_depot.h93 u32 RingPos = atomic_load_relaxed(&Tab[Pos]); in insert()
94 u64 Entry = atomic_load_relaxed(&Ring[RingPos]); in insert()
116 u32 RingPos = atomic_load_relaxed(&Tab[Pos]); in find()
119 u64 Entry = atomic_load_relaxed(&Ring[RingPos]); in find()
131 B.add(u32(atomic_load_relaxed(&Ring[RingPos])) >> 2); in find()
137 return atomic_load_relaxed(&Ring[RingPos & RingMask]);
H A Dquarantine.h68 void init() { DCHECK_EQ(atomic_load_relaxed(&Size), 0U); } in init()
71 uptr getSize() const { return atomic_load_relaxed(&Size); } in getSize()
178 DCHECK_EQ(atomic_load_relaxed(&MaxSize), 0U); in init()
179 DCHECK_EQ(atomic_load_relaxed(&MinSize), 0U); in init()
180 DCHECK_EQ(atomic_load_relaxed(&MaxCacheSize), 0U); in init()
192 uptr getMaxSize() const { return atomic_load_relaxed(&MaxSize); } in getMaxSize()
193 uptr getCacheSize() const { return atomic_load_relaxed(&MaxCacheSize); } in getCacheSize()
216 recycle(atomic_load_relaxed(&MinSize), Cb); in drain()
H A Dstats.h39 V += atomic_load_relaxed(&StatsArray[I]); in add()
44 V = atomic_load_relaxed(&StatsArray[I]) - V; in sub()
50 uptr get(StatType I) const { return atomic_load_relaxed(&StatsArray[I]); } in get()
H A Dcondition_variable_linux.cpp25 const u32 V = atomic_load_relaxed(&Counter); in notifyAllImpl()
40 const u32 V = atomic_load_relaxed(&Counter) + 1; in waitImpl()
H A Doptions.h49 Options load() const { return Options{atomic_load_relaxed(&Val)}; } in load()
61 u32 Opts = atomic_load_relaxed(&Val), NewOpts; in setFillContentsMode()
H A Dtsd.h43 if (atomic_load_relaxed(&Precedence) == 0) in alignas()
54 inline uptr getPrecedence() { return atomic_load_relaxed(&Precedence); } in alignas()
H A Dsecondary.h164 EntriesCount, atomic_load_relaxed(&MaxEntriesCount), in getStats()
165 atomic_load_relaxed(&MaxEntrySize)); in getStats()
199 const s32 Interval = atomic_load_relaxed(&ReleaseToOsIntervalMs); in store()
201 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in store()
276 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in retrieve()
356 return atomic_load_relaxed(&MaxEntriesCount) != 0U && in canCache()
357 Size <= atomic_load_relaxed(&MaxEntrySize); in canCache()
394 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in disableMemoryTagging()
H A Dchunk.h124 PackedHeader NewPackedHeader = atomic_load_relaxed(getConstAtomicHeader(Ptr)); in loadHeader()
133 PackedHeader NewPackedHeader = atomic_load_relaxed(getConstAtomicHeader(Ptr)); in isValid()
H A Dcombined.h1406 uptr Pos = atomic_load_relaxed(&RingBuffer->Pos); in getRingBufferErrorInfo()
1412 uptr EntryPtr = atomic_load_relaxed(&Entry->Ptr); in getRingBufferErrorInfo()
1417 uptr EntrySize = atomic_load_relaxed(&Entry->AllocationSize); in getRingBufferErrorInfo()
1418 u32 AllocationTrace = atomic_load_relaxed(&Entry->AllocationTrace); in getRingBufferErrorInfo()
1419 u32 AllocationTid = atomic_load_relaxed(&Entry->AllocationTid); in getRingBufferErrorInfo()
1420 u32 DeallocationTrace = atomic_load_relaxed(&Entry->DeallocationTrace); in getRingBufferErrorInfo()
1421 u32 DeallocationTid = atomic_load_relaxed(&Entry->DeallocationTid); in getRingBufferErrorInfo()
H A Datomic_helpers.h126 inline typename T::Type atomic_load_relaxed(const volatile T *A) { in atomic_load_relaxed() function
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.h71 return atomic_load_relaxed(&flags) & f; in IsFlagSet()
75 atomic_store_relaxed(&flags, atomic_load_relaxed(&flags) | f); in SetFlags()
82 u32 current = atomic_load_relaxed(&flags); in UpdateFlags()
H A Dtsan_dense_alloc.h97 return atomic_load_relaxed(&fillpos_) * kL2Size * sizeof(T); in AllocatedMemory()
103 uptr fillpos = atomic_load_relaxed(&fillpos_); in ForEach()
172 uptr fillpos = atomic_load_relaxed(&fillpos_); in AllocSuperBlock()
H A Dtsan_suppressions.cpp155 hit_count += atomic_load_relaxed(&matched[i]->hit_count); in PrintMatchedSuppressions()
159 Printf("%d %s:%s\n", atomic_load_relaxed(&matched[i]->hit_count), in PrintMatchedSuppressions()
H A Dtsan_mman.cpp167 if (atomic_load_relaxed(&thr->in_signal_handler) == 0 || in SignalUnsafeCall()
261 atomic_load_relaxed(&thr->trace_pos)) in OnUserAlloc()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h169 u64 state = atomic_load_relaxed(&state_); in Lock()
212 u64 state = atomic_load_relaxed(&state_); in TryLock()
230 u64 state = atomic_load_relaxed(&state_); in Unlock()
256 u64 state = atomic_load_relaxed(&state_); in ReadLock()
294 u64 state = atomic_load_relaxed(&state_); in ReadUnlock()
H A Dsanitizer_quarantine.h93 uptr GetMaxSize() const { return atomic_load_relaxed(&max_size_); } in GetMaxSize()
94 uptr GetMaxCacheSize() const { return atomic_load_relaxed(&max_cache_size_); } in GetMaxCacheSize()
116 Recycle(atomic_load_relaxed(&min_size_), cb); in Drain()
209 return atomic_load_relaxed(&size_); in Size()
H A Dsanitizer_atomic.h75 inline typename T::Type atomic_load_relaxed(const volatile T *a) { in atomic_load_relaxed() function
H A Dsanitizer_stack_store.cpp71 return atomic_load_relaxed(&allocated_) + sizeof(*this); in Allocated()
133 return reinterpret_cast<uptr *>(atomic_load_relaxed(&data_)); in Get()
H A Dsanitizer_flat_map.h137 T *res = reinterpret_cast<T *>(atomic_load_relaxed(&map1_[idx])); in GetOrCreate()
H A Dsanitizer_suppressions.cpp181 if (atomic_load_relaxed(&suppressions_[i].hit_count)) in GetMatched()
H A Dsanitizer_allocator.cpp182 return atomic_load_relaxed(&allocator_out_of_memory); in IsAllocatorOutOfMemory()
H A Dsanitizer_stackdepot.cpp66 return atomic_load_relaxed(&useCounts[id_]); in use_count()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_profiling.cpp85 if (atomic_load_relaxed(&ThreadExitingLatch)) in getThreadLocalData()
142 atomic_load_relaxed(&TLD.Allocators))); in getThreadLocalData()
294 auto FCT = reinterpret_cast<FunctionCallTrie *>(atomic_load_relaxed(&T->FCT)); in profilingHandleArg0()
438 if (atomic_load_relaxed(&T->Allocators) == 0) in profilingLoggingInit()
H A Dxray_fdr_logging.cpp488 atomic_load_relaxed(&ThresholdTicks)); in setupTLD()
707 atomic_load_relaxed(&TicksPerSec) * in fdrLoggingInit()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/ubsan_minimal/
H A Dubsan_minimal_handlers.cpp27 unsigned sz = __sanitizer::atomic_load_relaxed(&caller_pcs_sz); in report_this_error()
34 p = __sanitizer::atomic_load_relaxed(&caller_pcs[i]); in report_this_error()

12