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()
347 if (FileSize > getMaxFileSizeFromBlockSize(Layout.SB->BlockSize)) { in commit()
359 }(Layout.SB->BlockSize); in commit()
364 FileSize, Layout.SB->BlockSize)); in commit()
375 if (auto EC = Writer.writeObject(*Layout.SB)) in commit()
378 commitFpm(Buffer, Layout, Allocator); in commit()
381 msf::blockToOffset(Layout.SB->BlockMapAddr, Layout.SB->BlockSize); in commit()
383 if (auto EC = Writer.writeArray(Layout.DirectoryBlocks)) in commit()
387 Layout, Buffer, Allocator); in commit()
389 if (auto EC = DW.writeInteger<uint32_t>(Layout.StreamSizes.size())) in commit()
392 if (auto EC = DW.writeArray(Layout.StreamSizes)) in commit()
395 for (const auto &Blocks : Layout.StreamMap) { in commit()