Lines Matching refs:sm_flags
193 sc->sm->sm_flags = sub->old_smflags | in xchk_scrub_free_subord()
194 (sc->sm->sm_flags & XFS_SCRUB_FLAGS_OUT); in xchk_scrub_free_subord()
222 if (error == 0 && (sc->sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR)) in xchk_teardown()
457 sm->sm_flags &= ~XFS_SCRUB_FLAGS_OUT; in xchk_validate_inputs()
458 if (sm->sm_flags & ~XFS_SCRUB_FLAGS_IN) in xchk_validate_inputs()
497 if ((sm->sm_flags & XFS_SCRUB_IFLAG_FORCE_REBUILD) && in xchk_validate_inputs()
498 !(sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR)) in xchk_validate_inputs()
507 if (sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR) { in xchk_validate_inputs()
530 if ((sc->sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR) && in xchk_postmortem()
531 (sc->sm->sm_flags & (XFS_SCRUB_OFLAG_CORRUPT | in xchk_postmortem()
542 if (sc->sm->sm_flags & (XFS_SCRUB_OFLAG_CORRUPT | in xchk_postmortem()
565 sub->old_smflags = sc->sm->sm_flags; in xchk_scrub_create_subord()
570 sub->sc.sm->sm_flags &= ~XFS_SCRUB_FLAGS_OUT; in xchk_scrub_create_subord()
628 if (sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR) { in xfs_scrub_metadata()
656 if (error || (sm->sm_flags & XFS_SCRUB_OFLAG_INCOMPLETE)) in xfs_scrub_metadata()
667 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_NO_REPAIR_NEEDED; in xfs_scrub_metadata()
702 sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; in xfs_scrub_metadata()
896 .sm_flags = v->sv_flags, in xfs_ioc_scrubv_metadata()
913 v->sv_flags = sm.sm_flags; in xfs_ioc_scrubv_metadata()