Lines Matching refs:SegsSizes
81 ContiguousPageBasedLayoutSizes SegsSizes; in getContiguousPageBasedLayoutSizes() local
93 SegsSizes.StandardSegs += SegSize; in getContiguousPageBasedLayoutSizes()
95 SegsSizes.FinalizeSegs += SegSize; in getContiguousPageBasedLayoutSizes()
98 return SegsSizes; in getContiguousPageBasedLayoutSizes()
324 auto SegsSizes = BL.getContiguousPageBasedLayoutSizes(PageSize); in allocate() local
325 if (!SegsSizes) { in allocate()
326 OnAllocated(SegsSizes.takeError()); in allocate()
332 if (SegsSizes->total() > std::numeric_limits<size_t>::max()) { in allocate()
334 "Total requested size " + formatv("{0:x}", SegsSizes->total()) + in allocate()
356 Slab = sys::Memory::allocateMappedMemory(SegsSizes->total(), nullptr, in allocate()
368 static_cast<size_t>(SegsSizes->StandardSegs)}; in allocate()
369 FinalizeSegsMem = {(void *)((char *)Slab.base() + SegsSizes->StandardSegs), in allocate()
370 static_cast<size_t>(SegsSizes->FinalizeSegs)}; in allocate()
378 if (SegsSizes->StandardSegs) in allocate()
384 if (SegsSizes->FinalizeSegs) in allocate()