| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/ |
| H A D | scudo_allocator_combined.h | 25 using AllocatorCache = typename PrimaryAllocator::AllocatorCache; variable 34 void *allocatePrimary(AllocatorCache *Cache, uptr ClassId) { in allocatePrimary() 44 void deallocatePrimary(AllocatorCache *Cache, void *Ptr, uptr ClassId) { in deallocatePrimary() 52 void initCache(AllocatorCache *Cache) { in initCache() 56 void destroyCache(AllocatorCache *Cache) { in destroyCache()
|
| H A D | scudo_allocator.h | 109 typedef CombinedAllocator::AllocatorCache AllocatorCacheT;
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_combined.h | 26 using AllocatorCache = typename PrimaryAllocator::AllocatorCache; 44 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment) { in Allocate() 89 void Deallocate(AllocatorCache *cache, void *p) { in Deallocate() 97 void *Reallocate(AllocatorCache *cache, void *p, uptr new_size, in Reallocate() 157 void InitCache(AllocatorCache *cache) { in InitCache() 161 void DestroyCache(AllocatorCache *cache) { in DestroyCache() 165 void SwallowCache(AllocatorCache *cache) { in SwallowCache()
|
| H A D | sanitizer_allocator_primary32.h | 120 typedef SizeClassAllocator32LocalCache<ThisT> AllocatorCache; typedef 168 NOINLINE TransferBatch *AllocateBatch(AllocatorStats *stat, AllocatorCache *c, in AllocateBatch() 317 bool PopulateBatches(AllocatorCache *c, SizeClassInfo *sci, uptr class_id, in PopulateBatches() 342 bool PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, in PopulateFreeList()
|
| H A D | sanitizer_allocator_internal.h | 40 typedef InternalAllocator::AllocatorCache InternalAllocatorCache;
|
| H A D | sanitizer_allocator_primary64.h | 97 typedef SizeClassAllocator64LocalCache<ThisT> AllocatorCache; typedef
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_allocator.cpp | 52 typedef Allocator::AllocatorCache AllocatorCache; typedef 55 static AllocatorCache fallback_allocator_cache; 70 AllocatorCache *GetAllocatorCache(DFsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() 72 CHECK_LE(sizeof(AllocatorCache), sizeof(ms->allocator_cache)); in GetAllocatorCache() 73 return reinterpret_cast<AllocatorCache *>(ms->allocator_cache); in GetAllocatorCache() 93 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in DFsanAllocate() 97 AllocatorCache *cache = &fallback_allocator_cache; in DFsanAllocate() 128 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in dfsan_deallocate() 132 AllocatorCache *cache = &fallback_allocator_cache; in dfsan_deallocate()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_allocator.cpp | 126 typedef Allocator::AllocatorCache AllocatorCache; typedef 129 static AllocatorCache fallback_allocator_cache; 144 AllocatorCache *GetAllocatorCache(MsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() 146 CHECK_LE(sizeof(AllocatorCache), sizeof(ms->allocator_cache)); in GetAllocatorCache() 147 return reinterpret_cast<AllocatorCache *>(ms->allocator_cache); in GetAllocatorCache() 166 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanAllocate() 170 AllocatorCache *cache = &fallback_allocator_cache; in MsanAllocate() 214 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanDeallocate() 218 AllocatorCache *cache = &fallback_allocator_cache; in MsanDeallocate()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_allocator.h | 75 typedef Allocator::AllocatorCache AllocatorCache; typedef 77 void AllocatorSwallowThreadLocalCache(AllocatorCache *cache);
|
| H A D | hwasan_thread.h | 50 AllocatorCache *allocator_cache() { return &allocator_cache_; } in allocator_cache() 82 AllocatorCache allocator_cache_;
|
| H A D | hwasan_allocator.cpp | 28 static AllocatorCache fallback_allocator_cache; 110 void AllocatorSwallowThreadLocalCache(AllocatorCache *cache) { in AllocatorSwallowThreadLocalCache() 140 AllocatorCache *cache = &fallback_allocator_cache; in HwasanAllocate() 274 AllocatorCache *cache = &fallback_allocator_cache; in HwasanDeallocate()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_linux.cpp | 25 static THREADLOCAL AllocatorCache allocator_cache; 26 AllocatorCache *GetAllocatorCache() { return &allocator_cache; } in GetAllocatorCache()
|
| H A D | lsan_allocator.h | 101 using AllocatorCache = Allocator::AllocatorCache; variable 103 Allocator::AllocatorCache *GetAllocatorCache();
|
| H A D | lsan_common_mac.cpp | 39 AllocatorCache cache; 65 ptr->cache = AllocatorCache(); in get_tls_val() 94 AllocatorCache *GetAllocatorCache() { return &get_tls_val(true)->cache; } in GetAllocatorCache()
|
| H A D | lsan_common_fuchsia.cpp | 113 end - params->allocator_caches[i] <= sizeof(AllocatorCache)) { in LockStuffAndStopTheWorld() 117 uptr begin2 = params->allocator_caches[i] + sizeof(AllocatorCache); in LockStuffAndStopTheWorld()
|
| H A D | lsan_fuchsia.cpp | 57 CHECK_EQ(args.cache_end - args.cache_begin, sizeof(AllocatorCache)); in ThreadStart()
|
| H A D | lsan_allocator.cpp | 142 *end = *begin + sizeof(AllocatorCache); in GetAllocatorCacheRange()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_allocator.h | 69 using AllocatorCache = MemprofAllocator::AllocatorCache; variable 72 AllocatorCache allocator_cache;
|
| H A D | memprof_allocator.cpp | 164 AllocatorCache *GetAllocatorCache(MemprofThreadLocalMallocStorage *ms) { in GetAllocatorCache() 452 AllocatorCache fallback_allocator_cache; 556 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate() 560 AllocatorCache *cache = &fallback_allocator_cache; in Allocate() 650 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Deallocate() 654 AllocatorCache *cache = &fallback_allocator_cache; in Deallocate() 695 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_allocator.h | 197 using AllocatorCache = AsanAllocator::AllocatorCache; variable 201 AllocatorCache allocator_cache;
|
| H A D | asan_allocator.cpp | 195 QuarantineCallback(AllocatorCache *cache, BufferedStackTrace *stack) in QuarantineCallback() 239 AllocatorCache* const cache_; 267 AllocatorCache *GetAllocatorCache(AsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() 305 AllocatorCache fallback_allocator_cache; 536 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate() 540 AllocatorCache *cache = &fallback_allocator_cache; in Allocate() 665 AllocatorCache *ac = GetAllocatorCache(ms); in QuarantineChunk() 670 AllocatorCache *ac = &fallback_allocator_cache; in QuarantineChunk() 764 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl.h | 83 typedef Allocator::AllocatorCache AllocatorCache; typedef 342 AllocatorCache alloc_cache;
|