Home
last modified time | relevance | path

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

/src/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp52 void AllocatorThreadStart() { allocator.InitCache(GetAllocatorCache()); } in AllocatorThreadStart()
55 allocator.SwallowCache(GetAllocatorCache()); in AllocatorThreadFinish()
56 allocator.DestroyCache(GetAllocatorCache()); in AllocatorThreadFinish()
101 void *p = allocator.Allocate(GetAllocatorCache(), size, alignment); in Allocate()
127 allocator.Deallocate(GetAllocatorCache(), p); in Deallocate()
138 allocator.Reallocate(GetAllocatorCache(), p, new_size, alignment); in Reallocate()
147 *begin = (uptr)GetAllocatorCache(); in GetAllocatorCacheRange()
H A Dlsan_linux.cpp27 AllocatorCache *GetAllocatorCache() { return &allocator_cache; } in GetAllocatorCache() function
H A Dlsan_allocator.h122 Allocator::AllocatorCache *GetAllocatorCache();
H A Dlsan_common_mac.cpp113 AllocatorCache *GetAllocatorCache() { return &get_tls_val(true)->cache; } in GetAllocatorCache() function
/src/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp169 AllocatorCache *GetAllocatorCache(MsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
176 allocator.InitCache(GetAllocatorCache(this)); in Init()
180 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()
181 allocator.DestroyCache(GetAllocatorCache(this)); in CommitBack()
203 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanAllocate()
259 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanDeallocate()
/src/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp81 AllocatorCache *GetAllocatorCache(DFsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
88 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()
110 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in DFsanAllocate()
145 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in dfsan_deallocate()
/src/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp216 AllocatorCache *GetAllocatorCache(MemprofThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
450 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate()
537 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Deallocate()
581 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
/src/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp319 AllocatorCache *GetAllocatorCache(AsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
581 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate()
692 AllocatorCache *ac = GetAllocatorCache(ms); in QuarantineChunk()
803 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
880 QuarantineCallback(GetAllocatorCache(ms), in Purge()