Lines Matching refs:FreeBlock
75 /// FreeBlock - Turn an allocated block into a free block, adjusting
77 FreeRangeHeader *FreeBlock(FreeRangeHeader *FreeList);
143 /// FreeBlock - Turn an allocated block into a free block, adjusting
147 FreeRangeHeader *MemoryRangeHeader::FreeBlock(FreeRangeHeader *FreeList) {
183 FreeRangeHeader &FreeBlock = *(FreeRangeHeader*)this;
185 FreeBlock.ThisAllocated = 0;
188 FreeBlock.AddToFreeList(FreeList);
192 FreeBlock.SetEndOfBlockSizeMarker();
193 return FreeListToReturn ? FreeListToReturn : &FreeBlock;
380 // FreeBlock calls getBlockAfter it doesn't fall off the end.
479 FreeMemoryList = MemRange->FreeBlock(FreeMemoryList);