Searched refs:FreeMB (Results 1 – 2 of 2) sorted by relevance
52 for (FreeMemBlock &FreeMB : MemGroup.FreeMem) { in allocateSection()53 if (FreeMB.Free.size() >= RequiredSize) { in allocateSection()54 Addr = (uintptr_t)FreeMB.Free.base(); in allocateSection()55 uintptr_t EndOfBlock = Addr + FreeMB.Free.size(); in allocateSection()59 if (FreeMB.PendingPrefixIndex == (unsigned)-1) { in allocateSection()65 FreeMB.PendingPrefixIndex = MemGroup.PendingMem.size() - 1; in allocateSection()67 sys::MemoryBlock &PendingMB = MemGroup.PendingMem[FreeMB.PendingPrefixIndex]; in allocateSection()72 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection()115 FreeMemBlock FreeMB; in allocateSection() local116 FreeMB.Free = sys::MemoryBlock((void*)(Addr + Size), FreeSize); in allocateSection()[all …]
67 for (FreeMemBlock &FreeMB : MemGroup.FreeMem) { in allocateSection()68 if (FreeMB.Free.size() >= RequiredSize) { in allocateSection()69 Addr = (uintptr_t)FreeMB.Free.base(); in allocateSection()70 uintptr_t EndOfBlock = Addr + FreeMB.Free.size(); in allocateSection()74 if (FreeMB.PendingPrefixIndex == (unsigned)-1) { in allocateSection()80 FreeMB.PendingPrefixIndex = MemGroup.PendingMem.size() - 1; in allocateSection()83 MemGroup.PendingMem[FreeMB.PendingPrefixIndex]; in allocateSection()89 FreeMB.Free = in allocateSection()131 FreeMemBlock FreeMB; in allocateSection() local132 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), FreeSize); in allocateSection()[all …]