Lines Matching refs:sm
183 const struct xfs_scrub_metadata *sm, in xchk_stats_merge_one() argument
188 if (sm->sm_type >= XFS_SCRUB_TYPE_NR) { in xchk_stats_merge_one()
189 ASSERT(sm->sm_type < XFS_SCRUB_TYPE_NR); in xchk_stats_merge_one()
193 css = &cs->cs_stats[sm->sm_type]; in xchk_stats_merge_one()
196 if (!(sm->sm_flags & XFS_SCRUB_OFLAG_UNCLEAN)) in xchk_stats_merge_one()
198 if (sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_stats_merge_one()
200 if (sm->sm_flags & XFS_SCRUB_OFLAG_PREEN) in xchk_stats_merge_one()
202 if (sm->sm_flags & XFS_SCRUB_OFLAG_XFAIL) in xchk_stats_merge_one()
204 if (sm->sm_flags & XFS_SCRUB_OFLAG_XCORRUPT) in xchk_stats_merge_one()
206 if (sm->sm_flags & XFS_SCRUB_OFLAG_INCOMPLETE) in xchk_stats_merge_one()
208 if (sm->sm_flags & XFS_SCRUB_OFLAG_WARNING) in xchk_stats_merge_one()
225 const struct xfs_scrub_metadata *sm, in xchk_stats_merge() argument
228 xchk_stats_merge_one(&global_stats, sm, run); in xchk_stats_merge()
229 xchk_stats_merge_one(mp->m_scrub_stats, sm, run); in xchk_stats_merge()