Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp53 allocator.SwallowCache(GetAllocatorCache()); in AllocatorThreadFinish()
91 void *p = allocator.Allocate(GetAllocatorCache(), size, alignment); in Allocate()
121 allocator.Deallocate(GetAllocatorCache(), p); in Deallocate()
132 allocator.Reallocate(GetAllocatorCache(), p, new_size, alignment); in Reallocate()
141 *begin = (uptr)GetAllocatorCache(); in GetAllocatorCacheRange()
H A Dlsan_linux.cpp26 AllocatorCache *GetAllocatorCache() { return &allocator_cache; } in GetAllocatorCache() function
H A Dlsan_allocator.h103 Allocator::AllocatorCache *GetAllocatorCache();
H A Dlsan_common_mac.cpp94 AllocatorCache *GetAllocatorCache() { return &get_tls_val(true)->cache; } in GetAllocatorCache() function
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp70 AllocatorCache *GetAllocatorCache(DFsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
77 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()
93 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in DFsanAllocate()
128 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in dfsan_deallocate()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp144 AllocatorCache *GetAllocatorCache(MsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
151 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()
166 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanAllocate()
214 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanDeallocate()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp164 AllocatorCache *GetAllocatorCache(MemprofThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
556 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate()
650 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Deallocate()
695 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp267 AllocatorCache *GetAllocatorCache(AsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function
536 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate()
665 AllocatorCache *ac = GetAllocatorCache(ms); in QuarantineChunk()
764 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
837 QuarantineCallback(GetAllocatorCache(ms), in Purge()