Lines Matching refs:FreeMB
66 for (FreeMemBlock &FreeMB : MemGroup.FreeMem) { in allocateSection()
67 if (FreeMB.Free.allocatedSize() >= RequiredSize) { in allocateSection()
68 Addr = (uintptr_t)FreeMB.Free.base(); in allocateSection()
69 uintptr_t EndOfBlock = Addr + FreeMB.Free.allocatedSize(); in allocateSection()
73 if (FreeMB.PendingPrefixIndex == (unsigned)-1) { in allocateSection()
79 FreeMB.PendingPrefixIndex = MemGroup.PendingMem.size() - 1; in allocateSection()
82 MemGroup.PendingMem[FreeMB.PendingPrefixIndex]; in allocateSection()
88 FreeMB.Free = in allocateSection()
139 FreeMemBlock FreeMB; in allocateSection() local
140 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), FreeSize); in allocateSection()
141 FreeMB.PendingPrefixIndex = (unsigned)-1; in allocateSection()
142 MemGroup.FreeMem.push_back(FreeMB); in allocateSection()
214 for (FreeMemBlock &FreeMB : MemGroup.FreeMem) { in applyMemoryGroupPermissions()
215 FreeMB.Free = trimBlockToPageSize(FreeMB.Free); in applyMemoryGroupPermissions()
217 FreeMB.PendingPrefixIndex = (unsigned)-1; in applyMemoryGroupPermissions()
221 erase_if(MemGroup.FreeMem, [](FreeMemBlock &FreeMB) { in applyMemoryGroupPermissions() argument
222 return FreeMB.Free.allocatedSize() == 0; in applyMemoryGroupPermissions()