Lines Matching refs:SB
19 Error llvm::msf::validateSuperBlock(const SuperBlock &SB) { in validateSuperBlock() argument
21 if (std::memcmp(SB.MagicBytes, Magic, sizeof(Magic)) != 0) in validateSuperBlock()
25 if (!isValidBlockSize(SB.BlockSize)) in validateSuperBlock()
30 if (SB.NumDirectoryBytes % sizeof(support::ulittle32_t) != 0) in validateSuperBlock()
37 bytesToBlocks(SB.NumDirectoryBytes, SB.BlockSize); in validateSuperBlock()
42 if (NumDirectoryBlocks > SB.BlockSize / sizeof(support::ulittle32_t)) in validateSuperBlock()
46 if (SB.BlockMapAddr == 0) in validateSuperBlock()
50 if (SB.BlockMapAddr >= SB.NumBlocks) in validateSuperBlock()
54 if (SB.FreeBlockMapBlock != 1 && SB.FreeBlockMapBlock != 2) in validateSuperBlock()
77 FL.Length = NumFpmIntervals * Msf.SB->BlockSize; in getFpmStreamLayout()
79 FL.Length = divideCeil(Msf.SB->NumBlocks, 8); in getFpmStreamLayout()