Lines Matching refs:Addr
50 uintptr_t Addr = 0; in allocateSection() local
68 Addr = (uintptr_t)FreeMB.Free.base(); in allocateSection()
69 uintptr_t EndOfBlock = Addr + FreeMB.Free.allocatedSize(); in allocateSection()
71 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1); in allocateSection()
75 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
84 Addr + Size - (uintptr_t)PendingMB.base()); in allocateSection()
89 sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection()
90 return (uint8_t *)Addr; in allocateSection()
126 Addr = (uintptr_t)MB.base(); in allocateSection()
127 uintptr_t EndOfBlock = Addr + MB.allocatedSize(); in allocateSection()
130 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1); in allocateSection()
133 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
137 unsigned FreeSize = EndOfBlock - Addr - Size; in allocateSection()
140 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), FreeSize); in allocateSection()
146 return (uint8_t *)Addr; in allocateSection()