Lines Matching full:layout
236 // The directory has the following layout, where each item is a ulittle32_t:
252 llvm::TimeTraceScope timeScope("MSF: Generate layout");
315 static void commitFpm(WritableBinaryStream &MsfBuffer, const MSFLayout &Layout,
318 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator);
321 WritableMappedBlockStream::createFpmStream(Layout, MsfBuffer, Allocator,
326 while (BI < Layout.SB->NumBlocks) {
330 (BI < Layout.SB->NumBlocks) ? Layout.FreePageMap.test(BI) : true;
341 MSFLayout &Layout) {
348 Layout = std::move(*L);
350 uint64_t FileSize = uint64_t(Layout.SB->BlockSize) * Layout.SB->NumBlocks;
352 if (FileSize > getMaxFileSizeFromBlockSize(Layout.SB->BlockSize)) {
364 }(Layout.SB->BlockSize);
369 FileSize, Layout.SB->BlockSize));
373 bytesToBlocks(Layout.SB->NumDirectoryBytes, Layout.SB->BlockSize);
376 if (DirectoryBlockMapSize > Layout.SB->BlockSize) {
381 Layout.SB->BlockSize));
392 if (auto EC = Writer.writeObject(*Layout.SB))
395 commitFpm(Buffer, Layout, Allocator);
398 msf::blockToOffset(Layout.SB->BlockMapAddr, Layout.SB->BlockSize);
400 if (auto EC = Writer.writeArray(Layout.DirectoryBlocks))
404 Layout, Buffer, Allocator);
406 if (auto EC = DW.writeInteger<uint32_t>(Layout.StreamSizes.size()))
409 if (auto EC = DW.writeArray(Layout.StreamSizes))
412 for (const auto &Blocks : Layout.StreamMap) {