Lines Matching defs:BlockAllocator

0 // BlockAllocator.cpp
9 #include "BlockAllocator.h"
15 // BlockAllocator
18 BlockAllocator::BlockAllocator(size_t areaSize)
39 BlockAllocator::~BlockAllocator()
47 BlockAllocator::InitCheck() const
54 BlockAllocator::AllocateBlock(size_t usableSize)
60 //PRINT(("BlockAllocator::AllocateBlock(%lu)\n", usableSize));
75 //PRINT(("BlockAllocator::AllocateBlock() done: %p\n", block));
81 BlockAllocator::FreeBlock(BlockReference *blockReference)
89 //PRINT(("BlockAllocator::FreeBlock(%p)\n", block));
97 //PRINT(("BlockAllocator::FreeBlock() done\n"));
102 BlockAllocator::ResizeBlock(BlockReference *blockReference, size_t usableSize)
109 //PRINT(("BlockAllocator::ResizeBlock(%p, %lu)\n", blockReference, usableSize));
114 //PRINT(("BlockAllocator::ResizeBlock(%p, %lu)\n", block, usableSize));
153 //PRINT(("BlockAllocator::ResizeBlock() done: %p\n", resultBlock));
160 BlockAllocator::SanityCheck(bool deep) const
182 BA_PANIC("BlockAllocator: Bad free bytes.");
189 BA_PANIC("BlockAllocator: Bad free bytes.");
197 BlockAllocator::CheckArea(Area *checkArea)
215 BlockAllocator::CheckBlock(Block *block, size_t minSize)
223 BlockAllocator::CheckBlock(BlockReference *reference, size_t minSize)
231 BlockAllocator::GetAllocationInfo(AllocationInfo &info)
240 BlockAllocator::Area *
241 BlockAllocator::_AreaForBlock(Block *block)
254 BlockAllocator::_AllocateBlock(size_t usableSize, bool dontCreateArea)
309 BlockAllocator::_FreeBlock(Area *area, Block *block, bool freeReference)
327 BlockAllocator::_RethinkAreaBucket(Area *area, AreaBucket *bucket,
341 BlockAllocator::_DefragmentingRecommended()
353 BlockAllocator::_Defragment()
427 bool BlockAllocator::fPanic = false;