Lines Matching refs:m_sb
115 if (sb->sb_blocksize != cpu_to_be32(mp->m_sb.sb_blocksize)) in xchk_superblock()
118 if (sb->sb_dblocks != cpu_to_be64(mp->m_sb.sb_dblocks)) in xchk_superblock()
121 if (sb->sb_rblocks != cpu_to_be64(mp->m_sb.sb_rblocks)) in xchk_superblock()
124 if (sb->sb_rextents != cpu_to_be64(mp->m_sb.sb_rextents)) in xchk_superblock()
127 if (!uuid_equal(&sb->sb_uuid, &mp->m_sb.sb_uuid)) in xchk_superblock()
130 if (sb->sb_logstart != cpu_to_be64(mp->m_sb.sb_logstart)) in xchk_superblock()
133 if (sb->sb_rootino != cpu_to_be64(mp->m_sb.sb_rootino)) in xchk_superblock()
136 if (sb->sb_rbmino != cpu_to_be64(mp->m_sb.sb_rbmino)) in xchk_superblock()
139 if (sb->sb_rsumino != cpu_to_be64(mp->m_sb.sb_rsumino)) in xchk_superblock()
142 if (sb->sb_rextsize != cpu_to_be32(mp->m_sb.sb_rextsize)) in xchk_superblock()
145 if (sb->sb_agblocks != cpu_to_be32(mp->m_sb.sb_agblocks)) in xchk_superblock()
148 if (sb->sb_agcount != cpu_to_be32(mp->m_sb.sb_agcount)) in xchk_superblock()
151 if (sb->sb_rbmblocks != cpu_to_be32(mp->m_sb.sb_rbmblocks)) in xchk_superblock()
154 if (sb->sb_logblocks != cpu_to_be32(mp->m_sb.sb_logblocks)) in xchk_superblock()
168 (cpu_to_be16(mp->m_sb.sb_versionnum) & vernum_mask)) in xchk_superblock()
176 (cpu_to_be16(mp->m_sb.sb_versionnum) & vernum_mask)) in xchk_superblock()
179 if (sb->sb_sectsize != cpu_to_be16(mp->m_sb.sb_sectsize)) in xchk_superblock()
182 if (sb->sb_inodesize != cpu_to_be16(mp->m_sb.sb_inodesize)) in xchk_superblock()
185 if (sb->sb_inopblock != cpu_to_be16(mp->m_sb.sb_inopblock)) in xchk_superblock()
188 if (memcmp(sb->sb_fname, mp->m_sb.sb_fname, sizeof(sb->sb_fname))) in xchk_superblock()
191 if (sb->sb_blocklog != mp->m_sb.sb_blocklog) in xchk_superblock()
194 if (sb->sb_sectlog != mp->m_sb.sb_sectlog) in xchk_superblock()
197 if (sb->sb_inodelog != mp->m_sb.sb_inodelog) in xchk_superblock()
200 if (sb->sb_inopblog != mp->m_sb.sb_inopblog) in xchk_superblock()
203 if (sb->sb_agblklog != mp->m_sb.sb_agblklog) in xchk_superblock()
206 if (sb->sb_rextslog != mp->m_sb.sb_rextslog) in xchk_superblock()
209 if (sb->sb_imax_pct != mp->m_sb.sb_imax_pct) in xchk_superblock()
217 if (sb->sb_uquotino != cpu_to_be64(mp->m_sb.sb_uquotino)) in xchk_superblock()
220 if (sb->sb_gquotino != cpu_to_be64(mp->m_sb.sb_gquotino)) in xchk_superblock()
228 if (sb->sb_flags != mp->m_sb.sb_flags) in xchk_superblock()
231 if (sb->sb_shared_vn != mp->m_sb.sb_shared_vn) in xchk_superblock()
234 if (sb->sb_inoalignmt != cpu_to_be32(mp->m_sb.sb_inoalignmt)) in xchk_superblock()
237 if (sb->sb_unit != cpu_to_be32(mp->m_sb.sb_unit)) in xchk_superblock()
240 if (sb->sb_width != cpu_to_be32(mp->m_sb.sb_width)) in xchk_superblock()
243 if (sb->sb_dirblklog != mp->m_sb.sb_dirblklog) in xchk_superblock()
246 if (sb->sb_logsectlog != mp->m_sb.sb_logsectlog) in xchk_superblock()
249 if (sb->sb_logsectsize != cpu_to_be16(mp->m_sb.sb_logsectsize)) in xchk_superblock()
252 if (sb->sb_logsunit != cpu_to_be32(mp->m_sb.sb_logsunit)) in xchk_superblock()
256 if (!xfs_sb_version_hasmorebits(&mp->m_sb)) { in xchk_superblock()
261 if (xfs_sb_is_v5(&mp->m_sb)) in xchk_superblock()
277 (cpu_to_be32(mp->m_sb.sb_features2) & features_mask)) in xchk_superblock()
283 (cpu_to_be32(mp->m_sb.sb_features2) & features_mask)) in xchk_superblock()
295 cpu_to_be32(mp->m_sb.sb_features_compat)) in xchk_superblock()
300 cpu_to_be32(mp->m_sb.sb_features_ro_compat)) in xchk_superblock()
308 if ((cpu_to_be32(mp->m_sb.sb_features_incompat) ^ in xchk_superblock()
313 if ((cpu_to_be32(mp->m_sb.sb_features_incompat) ^ in xchk_superblock()
327 if (sb->sb_spino_align != cpu_to_be32(mp->m_sb.sb_spino_align)) in xchk_superblock()
330 if (sb->sb_pquotino != cpu_to_be64(mp->m_sb.sb_pquotino)) in xchk_superblock()
338 if (!uuid_equal(&sb->sb_meta_uuid, &mp->m_sb.sb_meta_uuid)) in xchk_superblock()