Home
last modified time | relevance | path

Searched refs:GetAllocatorCache (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp53 allocator.SwallowCache(GetAllocatorCache()); in AllocatorThreadFinish()
96 void *p = allocator.Allocate(GetAllocatorCache(), size, alignment); in Allocate()
124 allocator.Deallocate(GetAllocatorCache(), p); in Deallocate()
135 allocator.Reallocate(GetAllocatorCache(), p, new_size, alignment); in Reallocate()
144 *begin = (uptr)GetAllocatorCache(); in GetAllocatorCacheRange()
H A Dlsan_linux.cpp26 AllocatorCache *GetAllocatorCache() { return &allocator_cache; } in GetAllocatorCache() function
H A Dlsan_allocator.h99 Allocator::AllocatorCache *GetAllocatorCache();
H A Dlsan_common_mac.cpp94 AllocatorCache *GetAllocatorCache() { return &get_tls_val(true)->cache; } in GetAllocatorCache() function
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp70 AllocatorCache *GetAllocatorCache(DFsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
77 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()
99 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in DFsanAllocate()
134 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in dfsan_deallocate()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp144 AllocatorCache *GetAllocatorCache(MsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
151 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()
171 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanAllocate()
222 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanDeallocate()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp204 AllocatorCache *GetAllocatorCache(MemprofThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
382 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate()
474 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Deallocate()
519 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_allocator.cpp265 AllocatorCache *GetAllocatorCache(AsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
525 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate()
653 AllocatorCache *ac = GetAllocatorCache(ms); in QuarantineChunk()
752 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
825 QuarantineCallback(GetAllocatorCache(ms), in Purge()