Lines Matching refs:Layout
313 static void commitFpm(WritableBinaryStream &MsfBuffer, const MSFLayout &Layout,
316 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator);
319 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator,
324 while (BI < Layout.SB->NumBlocks) {
328 (BI < Layout.SB->NumBlocks) ? Layout.FreePageMap.test(BI) : true;
339 MSFLayout &Layout) {
344 Layout = std::move(*L);
346 uint64_t FileSize = Layout.SB->BlockSize * Layout.SB->NumBlocks;
355 if (auto EC = Writer.writeObject(*Layout.SB))
358 commitFpm(Buffer, Layout, Allocator);
361 msf::blockToOffset(Layout.SB->BlockMapAddr, Layout.SB->BlockSize);
363 if (auto EC = Writer.writeArray(Layout.DirectoryBlocks))
367 Layout, Buffer, Allocator);
369 if (auto EC = DW.writeInteger<uint32_t>(Layout.StreamSizes.size()))
372 if (auto EC = DW.writeArray(Layout.StreamSizes))
375 for (const auto &Blocks : Layout.StreamMap) {