Lines Matching refs:BlockSize
186 static uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { in bytesToBlocks() argument
187 return RoundUpToAlignment(NumBytes, BlockSize) / BlockSize; in bytesToBlocks()
190 static uint64_t blockToOffset(uint64_t BlockNumber, uint64_t BlockSize) { in blockToOffset() argument
191 return BlockNumber * BlockSize; in blockToOffset()
200 outs() << "BlockSize: " << SB->BlockSize << '\n'; in dumpStructure()
209 if (SB->BlockSize % sizeof(support::ulittle32_t) != 0) in dumpStructure()
221 bytesToBlocks(SB->NumDirectoryBytes, SB->BlockSize); in dumpStructure()
229 if (NumDirectoryBlocks > SB->BlockSize / sizeof(support::ulittle32_t)) in dumpStructure()
234 uint64_t BlockMapOffset = (uint64_t)SB->BlockMapAddr * SB->BlockSize; in dumpStructure()
274 blockToOffset(DirectoryBlockAddr, SB->BlockSize); in dumpStructure()
278 SB->BlockSize / sizeof(support::ulittle32_t)); in dumpStructure()
315 bytesToBlocks(StreamSizes[StreamIdx], SB->BlockSize); in dumpStructure()
362 uint64_t StreamBlockOffset = blockToOffset(StreamBlockAddr, SB->BlockSize); in dumpStructure()
368 BytesLeftToReadInStream, static_cast<uint32_t>(SB->BlockSize)); in dumpStructure()