Lines Matching refs:allocator
68 Allocator *allocator() {
73 allocator()->Init();
77 allocator()->InitCache(&thr->alloc_cache);
81 allocator()->DestroyCache(&thr->alloc_cache);
85 allocator()->PrintStats();
104 void *p = allocator()->Allocate(&thr->alloc_cache, sz, align);
107 MBlock *b = new(allocator()->GetMetaData(p)) MBlock;
120 MBlock *b = (MBlock*)allocator()->GetMetaData(p);
135 allocator()->Deallocate(&thr->alloc_cache, p);
162 MBlock *b = (MBlock*)allocator()->GetMetaData(p);
168 Allocator *a = allocator();
217 allocator()->GetStats(stats);
225 allocator()->GetStats(stats);
244 return allocator()->GetBlockBegin(p) != 0;
250 p = allocator()->GetBlockBegin(p);
253 MBlock *b = (MBlock*)allocator()->GetMetaData(p);
259 allocator()->SwallowCache(&thr->alloc_cache);