Lines Matching refs:allocator
68 Allocator *allocator() {
73 allocator()->Init();
77 allocator()->InitCache(&thr->alloc_cache);
82 allocator()->DestroyCache(&thr->alloc_cache);
87 allocator()->PrintStats();
108 void *p = allocator()->Allocate(&thr->alloc_cache, sz, align);
111 MBlock *b = new(allocator()->GetMetaData(p)) MBlock;
124 MBlock *b = (MBlock*)allocator()->GetMetaData(p);
139 allocator()->Deallocate(&thr->alloc_cache, p);
167 MBlock *b = (MBlock*)allocator()->GetMetaData(p);
173 Allocator *a = allocator();
224 allocator()->GetStats(stats);
232 allocator()->GetStats(stats);
251 return allocator()->GetBlockBegin(p) != 0;
257 p = allocator()->GetBlockBegin(p);
260 MBlock *b = (MBlock*)allocator()->GetMetaData(p);
266 allocator()->SwallowCache(&thr->alloc_cache);