Lines Matching refs:Addr
51 uintptr_t Addr = 0; in allocateSection() local
69 Addr = (uintptr_t)FreeMB.Free.base(); in allocateSection()
70 uintptr_t EndOfBlock = Addr + FreeMB.Free.size(); in allocateSection()
72 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1); in allocateSection()
76 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
85 Addr + Size - (uintptr_t)PendingMB.base()); in allocateSection()
90 sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection()
91 return (uint8_t *)Addr; in allocateSection()
118 Addr = (uintptr_t)MB.base(); in allocateSection()
119 uintptr_t EndOfBlock = Addr + MB.size(); in allocateSection()
122 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1); in allocateSection()
125 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
129 unsigned FreeSize = EndOfBlock - Addr - Size; in allocateSection()
132 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), FreeSize); in allocateSection()
138 return (uint8_t *)Addr; in allocateSection()