Searched refs:GetAllocatorCache (Results 1 – 9 of 9) sorted by relevance
52 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()
27 AllocatorCache *GetAllocatorCache() { return &allocator_cache; } in GetAllocatorCache() function
122 Allocator::AllocatorCache *GetAllocatorCache();
113 AllocatorCache *GetAllocatorCache() { return &get_tls_val(true)->cache; } in GetAllocatorCache() function
77 static AllocatorCache *GetAllocatorCache(NsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function83 allocator.InitCache(GetAllocatorCache(this)); in Init()87 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()88 allocator.DestroyCache(GetAllocatorCache(this)); in CommitBack()113 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in NsanAllocate()146 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in NsanDeallocate()
171 AllocatorCache *GetAllocatorCache(MsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function177 allocator.InitCache(GetAllocatorCache(this)); in Init()181 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()182 allocator.DestroyCache(GetAllocatorCache(this)); in CommitBack()204 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanAllocate()258 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanDeallocate()
84 static AllocatorCache *GetAllocatorCache(DFsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function91 allocator.SwallowCache(GetAllocatorCache(this)); in CommitBack()113 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in DFsanAllocate()148 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in dfsan_deallocate()
216 AllocatorCache *GetAllocatorCache(MemprofThreadLocalMallocStorage *ms) { in GetAllocatorCache() function450 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate()537 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Deallocate()581 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
320 AllocatorCache *GetAllocatorCache(AsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() function587 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate()698 AllocatorCache *ac = GetAllocatorCache(ms); in QuarantineChunk()810 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()887 QuarantineCallback(GetAllocatorCache(ms), in Purge()