Lines Matching refs:Layout
312 static void commitFpm(WritableBinaryStream &MsfBuffer, const MSFLayout &Layout, in commitFpm() argument
315 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator); in commitFpm()
318 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator, in commitFpm()
323 while (BI < Layout.SB->NumBlocks) { in commitFpm()
327 (BI < Layout.SB->NumBlocks) ? Layout.FreePageMap.test(BI) : true; in commitFpm()
338 MSFLayout &Layout) { in commit() argument
343 Layout = std::move(*L); in commit()
345 uint64_t FileSize = uint64_t(Layout.SB->BlockSize) * Layout.SB->NumBlocks; in commit()
365 if (auto EC = Writer.writeObject(*Layout.SB)) in commit()
368 commitFpm(Buffer, Layout, Allocator); in commit()
371 msf::blockToOffset(Layout.SB->BlockMapAddr, Layout.SB->BlockSize); in commit()
373 if (auto EC = Writer.writeArray(Layout.DirectoryBlocks)) in commit()
377 Layout, Buffer, Allocator); in commit()
379 if (auto EC = DW.writeInteger<uint32_t>(Layout.StreamSizes.size())) in commit()
382 if (auto EC = DW.writeArray(Layout.StreamSizes)) in commit()
385 for (const auto &Blocks : Layout.StreamMap) { in commit()