Searched refs:AllocatorCache (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_linux.cpp25 static THREADLOCAL AllocatorCache allocator_cache;
26 AllocatorCache *GetAllocatorCache() { return &allocator_cache; }
H A Dlsan_allocator.h95 using AllocatorCache = Allocator::AllocatorCache;
97 Allocator::AllocatorCache *GetAllocatorCache();
H A Dlsan_common_mac.cpp39 AllocatorCache cache;
65 ptr->cache = AllocatorCache();
94 AllocatorCache *GetAllocatorCache() { return &get_tls_val(true)->cache; }
H A Dlsan_allocator.cpp138 *end = *begin + sizeof(AllocatorCache);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_allocator_combined.h25 using AllocatorCache = typename PrimaryAllocator::AllocatorCache;
34 void *allocatePrimary(AllocatorCache *Cache, uptr ClassId) {
44 void deallocatePrimary(AllocatorCache *Cache, void *Ptr, uptr ClassId) {
52 void initCache(AllocatorCache *Cache) {
56 void destroyCache(AllocatorCache *Cache) {
H A Dscudo_allocator.h109 typedef CombinedAllocator::AllocatorCache AllocatorCacheT;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_combined.h20 // PrimaryAllocator is used via a local AllocatorCache.
26 using AllocatorCache = typename PrimaryAllocator::AllocatorCache;
44 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment) {
89 void Deallocate(AllocatorCache *cache, void *p) {
97 void *Reallocate(AllocatorCache *cache, void *p, uptr new_size,
157 void InitCache(AllocatorCache *cache) {
161 void DestroyCache(AllocatorCache *cache) {
165 void SwallowCache(AllocatorCache *cache) {
H A Dsanitizer_allocator_internal.h40 typedef InternalAllocator::AllocatorCache InternalAllocatorCache;
H A Dsanitizer_allocator_primary32.h120 typedef SizeClassAllocator32LocalCache<ThisT> AllocatorCache; typedef in class:SizeClassAllocator32
166 NOINLINE TransferBatch *AllocateBatch(AllocatorStats *stat, AllocatorCache *c,
315 bool PopulateBatches(AllocatorCache *c, SizeClassInfo *sci, uptr class_id,
340 bool PopulateFreeList(AllocatorStats *stat, AllocatorCache *c,
H A Dsanitizer_allocator_primary64.h59 typedef SizeClassAllocator64LocalCache<ThisT> AllocatorCache; typedef in class:SizeClassAllocator64
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.h59 typedef Allocator::AllocatorCache AllocatorCache; typedef in namespace:__hwasan
61 void AllocatorSwallowThreadLocalCache(AllocatorCache *cache);
H A Dhwasan_thread.h49 AllocatorCache *allocator_cache() { return &allocator_cache_; }
85 AllocatorCache allocator_cache_;
H A Dhwasan_allocator.cpp28 static AllocatorCache fallback_allocator_cache;
91 void AllocatorSwallowThreadLocalCache(AllocatorCache *cache) {
121 AllocatorCache *cache = &fallback_allocator_cache;
232 AllocatorCache *cache = &fallback_allocator_cache;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp112 typedef Allocator::AllocatorCache AllocatorCache; typedef in namespace:__msan
115 static AllocatorCache fallback_allocator_cache;
130 AllocatorCache *GetAllocatorCache(MsanThreadLocalMallocStorage *ms) {
132 CHECK_LE(sizeof(AllocatorCache), sizeof(ms->allocator_cache));
133 return reinterpret_cast<AllocatorCache *>(ms->allocator_cache);
152 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage());
156 AllocatorCache *cache = &fallback_allocator_cache;
200 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage());
204 AllocatorCache *cach
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.h192 using AllocatorCache = AsanAllocator::AllocatorCache;
196 AllocatorCache allocator_cache;
H A Dasan_allocator.cpp136 QuarantineCallback(AllocatorCache *cache, BufferedStackTrace *stack)
180 AllocatorCache* const cache_;
207 // static THREADLOCAL AllocatorCache cache;
208 AllocatorCache *GetAllocatorCache(AsanThreadLocalMallocStorage *ms) {
246 AllocatorCache fallback_allocator_cache;
468 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage());
472 AllocatorCache *cache = &fallback_allocator_cache;
615 AllocatorCache *ac = GetAllocatorCache(ms);
620 AllocatorCache *ac = &fallback_allocator_cache;
714 AllocatorCache *a
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.h83 typedef Allocator::AllocatorCache AllocatorCache; typedef in namespace:__tsan
345 AllocatorCache alloc_cache;

Completed in 101 milliseconds