| /freebsd-12.1/contrib/compiler-rt/lib/scudo/ |
| H A D | scudo_allocator_combined.h | 22 template <class PrimaryAllocator, class AllocatorCache, 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()
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_combined.h | 23 template <class PrimaryAllocator, class AllocatorCache, 48 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment) { in Allocate() 93 void Deallocate(AllocatorCache *cache, void *p) { in Deallocate() 101 void *Reallocate(AllocatorCache *cache, void *p, uptr new_size, in Reallocate() 161 void InitCache(AllocatorCache *cache) { in InitCache() 165 void DestroyCache(AllocatorCache *cache) { in DestroyCache() 169 void SwallowCache(AllocatorCache *cache) { in SwallowCache()
|
| H A D | sanitizer_allocator_primary32.h | 113 typedef SizeClassAllocator32LocalCache<ThisT> AllocatorCache; typedef 159 NOINLINE TransferBatch *AllocateBatch(AllocatorStats *stat, AllocatorCache *c, in AllocateBatch() 304 bool PopulateBatches(AllocatorCache *c, SizeClassInfo *sci, uptr class_id, in PopulateBatches() 329 bool PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, in PopulateFreeList()
|
| H A D | sanitizer_allocator_local_cache.h | 22 : SizeClassAllocator::AllocatorCache {};
|
| H A D | sanitizer_allocator_primary64.h | 60 typedef SizeClassAllocator64LocalCache<ThisT> AllocatorCache; typedef
|
| /freebsd-12.1/contrib/compiler-rt/lib/msan/ |
| H A D | msan_allocator.cc | 120 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 122 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, 126 static AllocatorCache fallback_allocator_cache; 134 AllocatorCache *GetAllocatorCache(MsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() 136 CHECK_LE(sizeof(AllocatorCache), sizeof(ms->allocator_cache)); in GetAllocatorCache() 137 return reinterpret_cast<AllocatorCache *>(ms->allocator_cache); in GetAllocatorCache() 156 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanAllocate() 160 AllocatorCache *cache = &fallback_allocator_cache; in MsanAllocate() 204 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanDeallocate() 208 AllocatorCache *cache = &fallback_allocator_cache; in MsanDeallocate()
|
| /freebsd-12.1/contrib/compiler-rt/lib/hwasan/ |
| H A D | hwasan_allocator.h | 65 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; in DECLARE_REAL() typedef 67 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, in DECLARE_REAL() 70 void AllocatorSwallowThreadLocalCache(AllocatorCache *cache); in DECLARE_REAL()
|
| H A D | hwasan_thread.h | 53 AllocatorCache *allocator_cache() { return &allocator_cache_; } in allocator_cache() 87 AllocatorCache allocator_cache_;
|
| H A D | hwasan_allocator.cc | 32 static AllocatorCache fallback_allocator_cache; 125 void AllocatorSwallowThreadLocalCache(AllocatorCache *cache) { in AllocatorSwallowThreadLocalCache() 155 AllocatorCache *cache = &fallback_allocator_cache; in HwasanAllocate() 256 AllocatorCache *cache = &fallback_allocator_cache; in HwasanDeallocate()
|
| /freebsd-12.1/contrib/compiler-rt/lib/lsan/ |
| H A D | lsan_linux.cc | 26 static THREADLOCAL AllocatorCache allocator_cache; 27 AllocatorCache *GetAllocatorCache() { return &allocator_cache; } in GetAllocatorCache()
|
| H A D | lsan_common_mac.cc | 40 AllocatorCache cache; 66 ptr->cache = AllocatorCache(); in get_tls_val() 95 AllocatorCache *GetAllocatorCache() { return &get_tls_val(true)->cache; } in GetAllocatorCache()
|
| H A D | lsan_allocator.h | 103 using AllocatorCache = AllocatorCacheASVT<LocalAddressSpaceView>; variable 117 AllocatorCache *GetAllocatorCache();
|
| H A D | lsan_allocator.cc | 132 *end = *begin + sizeof(AllocatorCache); in GetAllocatorCacheRange()
|
| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_allocator.cc | 137 QuarantineCallback(AllocatorCache *cache, BufferedStackTrace *stack) in QuarantineCallback() 181 AllocatorCache* const cache_; 209 AllocatorCache *GetAllocatorCache(AsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() 247 AllocatorCache fallback_allocator_cache; 452 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate() 456 AllocatorCache *cache = &fallback_allocator_cache; in Allocate() 599 AllocatorCache *ac = GetAllocatorCache(ms); in QuarantineChunk() 604 AllocatorCache *ac = &fallback_allocator_cache; in QuarantineChunk() 698 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
|
| H A D | asan_allocator.h | 198 using AllocatorCache = AllocatorCacheASVT<LocalAddressSpaceView>; variable 213 AllocatorCache allocator_cache;
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl.h | 88 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 90 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, 354 AllocatorCache alloc_cache;
|