Home
last modified time | relevance | path

Searched refs:sm_flags (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.12.1/fs/xfs/scrub/
Dscrub.c193 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()
[all …]
Dcommon.c102 sc->sm->sm_flags |= errflag; in __xchk_process_error()
165 sc->sm->sm_flags |= errflag; in __xchk_fblock_process_error()
216 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_PREEN; in xchk_block_set_preen()
230 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_PREEN; in xchk_ino_set_preen()
239 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; in xchk_set_corrupt()
249 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; in xchk_block_set_corrupt()
261 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; in xchk_qcheck_set_corrupt()
272 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_XCORRUPT; in xchk_block_xref_set_corrupt()
286 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; in xchk_ino_set_corrupt()
296 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_XCORRUPT; in xchk_ino_xref_set_corrupt()
[all …]
Dstats.c199 if (!(sm->sm_flags & XFS_SCRUB_OFLAG_UNCLEAN)) in xchk_stats_merge_one()
201 if (sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_stats_merge_one()
203 if (sm->sm_flags & XFS_SCRUB_OFLAG_PREEN) in xchk_stats_merge_one()
205 if (sm->sm_flags & XFS_SCRUB_OFLAG_XFAIL) in xchk_stats_merge_one()
207 if (sm->sm_flags & XFS_SCRUB_OFLAG_XCORRUPT) in xchk_stats_merge_one()
209 if (sm->sm_flags & XFS_SCRUB_OFLAG_INCOMPLETE) in xchk_stats_merge_one()
211 if (sm->sm_flags & XFS_SCRUB_OFLAG_WARNING) in xchk_stats_merge_one()
Dhealth.c131 if (!(sc->sm->sm_flags & (XFS_SCRUB_OFLAG_CORRUPT | in xchk_mark_healthy_if_clean()
196 !(sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) { in xchk_update_health()
204 bad = (sc->sm->sm_flags & (XFS_SCRUB_OFLAG_CORRUPT | in xchk_update_health()
227 if (sc->sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR) in xchk_update_health()
281 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_XFAIL; in xchk_ag_btree_del_cursor_if_sick()
Ddir.c301 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_dir_actor()
369 if (ds->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_dir_rec()
489 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_directory_data_bestfree()
558 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_directory_data_bestfree()
688 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_directory_leaf1_bestfree()
715 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_directory_leaf1_bestfree()
818 while (found && !(sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) { in xchk_directory_blocks()
849 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_directory_blocks()
867 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_directory_blocks()
873 while (found && !(sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) { in xchk_directory_blocks()
[all …]
Drtbitmap.c117 (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) in xchk_rtbitmap_check_extents()
189 if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) in xchk_rtbitmap()
193 if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) in xchk_rtbitmap()
Drmap.c118 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_rmapbt_xref()
156 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_PREEN) in xchk_rmapbt_check_unwritten_in_keyflags()
209 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_rmapbt_check_overlapping()
271 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_rmapbt_check_mergeable()
296 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_rmapbt_mark_bitmap()
516 if (sc->sm->sm_flags & (XFS_SCRUB_OFLAG_CORRUPT | in xchk_rmapbt_check_bitmaps()
Dcommon.h175 return sm->sm_flags & (XFS_SCRUB_OFLAG_CORRUPT | in xchk_skip_xref()
186 return sm->sm_flags & (XFS_SCRUB_OFLAG_CORRUPT | in xchk_needs_repair()
199 return (sc->sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR) && in xchk_could_repair()
Dattr.c375 if (!(ds->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) in xchk_xattr_entry()
445 if (ds->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_xattr_block()
466 if (ds->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_xattr_block()
506 if (ds->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_xattr_rec()
665 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_xattr()
Dquota.c248 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_quota_item()
268 if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) in xchk_quota_data_fork()
313 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_quota()
Dalloc.c104 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_allocbt_xref()
121 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_allocbt_mergeable()
Dbmap.c451 if (info->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_bmap_iextent()
611 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_bmap_check_rmap()
625 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_bmap_check_rmap()
749 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_bmap_want_check_rmaps()
771 (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) { in xchk_bmap_check_rmaps()
981 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_bmap()
999 (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) in xchk_bmap()
Dagheader.c44 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_superblock_xref()
507 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_agf_xref()
642 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_agfl_block_xref()
670 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_agfl_block()
695 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_agfl_xref()
742 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_agfl()
850 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_agi_xref()
Ddabtree.c49 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; in xchk_da_process_error()
73 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; in xchk_da_set_corrupt()
89 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_PREEN; in xchk_da_set_preen()
567 (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) in xchk_da_btree()
Dorphanage.h22 ASSERT(sc->sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR); in xrep_orphanage_try_create()
Dparent.c316 if (pp->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_parent_pptr_and_dotdot()
634 if (pp->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_parent_finish_slow_pptrs()
779 if (pp->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_parent_pptr()
801 if (pp->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_parent_pptr()
Dnlinks.c761 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_nlinks_compare_inode()
874 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_nlinks_compare()
908 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_nlinks_compare()
1036 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_INCOMPLETE) in xchk_nlinks()
Drtsummary.c249 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_rtsum_compare()
341 if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) in xchk_rtsummary()
Drepair.c78 sc->sm->sm_flags &= ~XFS_SCRUB_FLAGS_OUT; in xrep_attempt()
289 if (!(sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR)) in xrep_calc_ag_resblks()
989 if (sc->sm->sm_flags & XFS_SCRUB_IFLAG_FORCE_REBUILD) in xrep_will_attempt()
1049 sub->sc.sm->sm_flags &= ~XFS_SCRUB_FLAGS_OUT; in xrep_metadata_inode_subtype()
Dfscounters.c487 if (sc->sm->sm_flags & XFS_SCRUB_IFLAG_REPAIR) in xchk_fscount_within_range()
567 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_INCOMPLETE) in xchk_fscounters()
Dialloc.c271 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_iallocbt_chunk()
596 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_iallocbt_rec()
635 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_iallocbt_rec()
Dquotacheck.c595 if (xqc->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xqcheck_compare_dquot()
663 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xqcheck_compare_dqtype()
842 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_INCOMPLETE) in xchk_quotacheck()
Dbtree.c46 sc->sm->sm_flags |= errflag; in __xchk_btree_process_error()
92 sc->sm->sm_flags |= errflag; in __xchk_btree_set_corrupt()
756 (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) in xchk_btree()
Drefcount.c336 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_refcountbt_xref()
437 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_refcountbt_check_mergeable()
Dinode.c692 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_inode_xref()
780 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_inode()

12