Lines Matching refs:m_sb

78 	if (xfs_sb_version_hasmorebits(&mp->m_sb))  in xchk_superblock_ondisk_size()
153 if (sb->sb_blocksize != cpu_to_be32(mp->m_sb.sb_blocksize)) in xchk_superblock()
156 if (sb->sb_dblocks != cpu_to_be64(mp->m_sb.sb_dblocks)) in xchk_superblock()
159 if (sb->sb_rblocks != cpu_to_be64(mp->m_sb.sb_rblocks)) in xchk_superblock()
162 if (sb->sb_rextents != cpu_to_be64(mp->m_sb.sb_rextents)) in xchk_superblock()
165 if (!uuid_equal(&sb->sb_uuid, &mp->m_sb.sb_uuid)) in xchk_superblock()
168 if (sb->sb_logstart != cpu_to_be64(mp->m_sb.sb_logstart)) in xchk_superblock()
171 if (sb->sb_rootino != cpu_to_be64(mp->m_sb.sb_rootino)) in xchk_superblock()
181 if (sb->sb_rbmino != cpu_to_be64(mp->m_sb.sb_rbmino)) in xchk_superblock()
184 if (sb->sb_rsumino != cpu_to_be64(mp->m_sb.sb_rsumino)) in xchk_superblock()
188 if (sb->sb_rextsize != cpu_to_be32(mp->m_sb.sb_rextsize)) in xchk_superblock()
191 if (sb->sb_agblocks != cpu_to_be32(mp->m_sb.sb_agblocks)) in xchk_superblock()
194 if (sb->sb_agcount != cpu_to_be32(mp->m_sb.sb_agcount)) in xchk_superblock()
197 if (sb->sb_rbmblocks != cpu_to_be32(mp->m_sb.sb_rbmblocks)) in xchk_superblock()
200 if (sb->sb_logblocks != cpu_to_be32(mp->m_sb.sb_logblocks)) in xchk_superblock()
213 (cpu_to_be16(mp->m_sb.sb_versionnum) & vernum_mask)) in xchk_superblock()
221 (cpu_to_be16(mp->m_sb.sb_versionnum) & vernum_mask)) in xchk_superblock()
224 if (sb->sb_sectsize != cpu_to_be16(mp->m_sb.sb_sectsize)) in xchk_superblock()
227 if (sb->sb_inodesize != cpu_to_be16(mp->m_sb.sb_inodesize)) in xchk_superblock()
230 if (sb->sb_inopblock != cpu_to_be16(mp->m_sb.sb_inopblock)) in xchk_superblock()
233 if (memcmp(sb->sb_fname, mp->m_sb.sb_fname, sizeof(sb->sb_fname))) in xchk_superblock()
236 if (sb->sb_blocklog != mp->m_sb.sb_blocklog) in xchk_superblock()
239 if (sb->sb_sectlog != mp->m_sb.sb_sectlog) in xchk_superblock()
242 if (sb->sb_inodelog != mp->m_sb.sb_inodelog) in xchk_superblock()
245 if (sb->sb_inopblog != mp->m_sb.sb_inopblog) in xchk_superblock()
248 if (sb->sb_agblklog != mp->m_sb.sb_agblklog) in xchk_superblock()
251 if (sb->sb_rextslog != mp->m_sb.sb_rextslog) in xchk_superblock()
254 if (sb->sb_imax_pct != mp->m_sb.sb_imax_pct) in xchk_superblock()
269 if (sb->sb_uquotino != cpu_to_be64(mp->m_sb.sb_uquotino)) in xchk_superblock()
272 if (sb->sb_gquotino != cpu_to_be64(mp->m_sb.sb_gquotino)) in xchk_superblock()
281 if (sb->sb_flags != mp->m_sb.sb_flags) in xchk_superblock()
284 if (sb->sb_shared_vn != mp->m_sb.sb_shared_vn) in xchk_superblock()
287 if (sb->sb_inoalignmt != cpu_to_be32(mp->m_sb.sb_inoalignmt)) in xchk_superblock()
290 if (sb->sb_unit != cpu_to_be32(mp->m_sb.sb_unit)) in xchk_superblock()
293 if (sb->sb_width != cpu_to_be32(mp->m_sb.sb_width)) in xchk_superblock()
296 if (sb->sb_dirblklog != mp->m_sb.sb_dirblklog) in xchk_superblock()
299 if (sb->sb_logsectlog != mp->m_sb.sb_logsectlog) in xchk_superblock()
302 if (sb->sb_logsectsize != cpu_to_be16(mp->m_sb.sb_logsectsize)) in xchk_superblock()
305 if (sb->sb_logsunit != cpu_to_be32(mp->m_sb.sb_logsunit)) in xchk_superblock()
309 if (!xfs_sb_version_hasmorebits(&mp->m_sb)) { in xchk_superblock()
314 if (xfs_sb_is_v5(&mp->m_sb)) in xchk_superblock()
330 (cpu_to_be32(mp->m_sb.sb_features2) & features_mask)) in xchk_superblock()
336 (cpu_to_be32(mp->m_sb.sb_features2) & features_mask)) in xchk_superblock()
348 cpu_to_be32(mp->m_sb.sb_features_compat)) in xchk_superblock()
353 cpu_to_be32(mp->m_sb.sb_features_ro_compat)) in xchk_superblock()
361 if ((cpu_to_be32(mp->m_sb.sb_features_incompat) ^ in xchk_superblock()
366 if ((cpu_to_be32(mp->m_sb.sb_features_incompat) ^ in xchk_superblock()
380 if (sb->sb_spino_align != cpu_to_be32(mp->m_sb.sb_spino_align)) in xchk_superblock()
387 if (sb->sb_pquotino != cpu_to_be64(mp->m_sb.sb_pquotino)) in xchk_superblock()
396 if (!uuid_equal(&sb->sb_meta_uuid, &mp->m_sb.sb_meta_uuid)) in xchk_superblock()
401 if (sb->sb_metadirino != cpu_to_be64(mp->m_sb.sb_metadirino)) in xchk_superblock()
404 if (sb->sb_rgcount != cpu_to_be32(mp->m_sb.sb_rgcount)) in xchk_superblock()
407 if (sb->sb_rgextents != cpu_to_be32(mp->m_sb.sb_rgextents)) in xchk_superblock()
410 if (sb->sb_rgblklog != mp->m_sb.sb_rgblklog) in xchk_superblock()