Lines Matching refs:FreeMB
65 for (FreeMemBlock &FreeMB : MemGroup.FreeMem) { in allocateSection()
66 if (FreeMB.Free.allocatedSize() >= RequiredSize) { in allocateSection()
67 Addr = (uintptr_t)FreeMB.Free.base(); in allocateSection()
68 uintptr_t EndOfBlock = Addr + FreeMB.Free.allocatedSize(); in allocateSection()
72 if (FreeMB.PendingPrefixIndex == (unsigned)-1) { in allocateSection()
78 FreeMB.PendingPrefixIndex = MemGroup.PendingMem.size() - 1; in allocateSection()
81 MemGroup.PendingMem[FreeMB.PendingPrefixIndex]; in allocateSection()
87 FreeMB.Free = in allocateSection()
138 FreeMemBlock FreeMB; in allocateSection() local
139 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), FreeSize); in allocateSection()
140 FreeMB.PendingPrefixIndex = (unsigned)-1; in allocateSection()
141 MemGroup.FreeMem.push_back(FreeMB); in allocateSection()
213 for (FreeMemBlock &FreeMB : MemGroup.FreeMem) { in applyMemoryGroupPermissions()
214 FreeMB.Free = trimBlockToPageSize(FreeMB.Free); in applyMemoryGroupPermissions()
216 FreeMB.PendingPrefixIndex = (unsigned)-1; in applyMemoryGroupPermissions()
220 erase_if(MemGroup.FreeMem, [](FreeMemBlock &FreeMB) { in applyMemoryGroupPermissions() argument
221 return FreeMB.Free.allocatedSize() == 0; in applyMemoryGroupPermissions()