Lines Matching refs:Layout
314 static void commitFpm(WritableBinaryStream &MsfBuffer, const MSFLayout &Layout, in commitFpm() argument
317 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator); in commitFpm()
320 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator, in commitFpm()
325 while (BI < Layout.SB->NumBlocks) { in commitFpm()
329 (BI < Layout.SB->NumBlocks) ? Layout.FreePageMap.test(BI) : true; in commitFpm()
340 MSFLayout &Layout) { in commit() argument
345 Layout = std::move(*L); in commit()
347 uint64_t FileSize = Layout.SB->BlockSize * Layout.SB->NumBlocks; in commit()
356 if (auto EC = Writer.writeObject(*Layout.SB)) in commit()
359 commitFpm(Buffer, Layout, Allocator); in commit()
362 msf::blockToOffset(Layout.SB->BlockMapAddr, Layout.SB->BlockSize); in commit()
364 if (auto EC = Writer.writeArray(Layout.DirectoryBlocks)) in commit()
368 Layout, Buffer, Allocator); in commit()
370 if (auto EC = DW.writeInteger<uint32_t>(Layout.StreamSizes.size())) in commit()
373 if (auto EC = DW.writeArray(Layout.StreamSizes)) in commit()
376 for (const auto &Blocks : Layout.StreamMap) { in commit()