Home
last modified time | relevance | path

Searched refs:sm_type (Results 1 – 14 of 14) sorted by relevance

/fs/xfs/scrub/
A Dhealth.c205 if (sc->sm->sm_type == XFS_SCRUB_TYPE_HEALTHY && in xchk_update_health()
215 switch (type_to_health_flag[sc->sm->sm_type].group) { in xchk_update_health()
274 unsigned int sm_type) in xchk_ag_btree_del_cursor_if_sick() argument
285 if (sc->sm->sm_type == sm_type) in xchk_ag_btree_del_cursor_if_sick()
295 type_to_health_flag[sc->sm->sm_type].group == XHG_AG) in xchk_ag_btree_del_cursor_if_sick()
A Dscrub.c204 sc->sm->sm_type = sub->old_smtype; in xchk_scrub_free_subord()
512 if (sm->sm_type >= XFS_SCRUB_TYPE_NR) in xchk_validate_inputs()
514 ops = &meta_scrub_ops[sm->sm_type]; in xchk_validate_inputs()
639 sub->old_smtype = sc->sm->sm_type; in xchk_scrub_create_subord()
644 sub->sc.sm->sm_type = subtype; in xchk_scrub_create_subord()
692 sc->ops = &meta_scrub_ops[sm->sm_type]; in xfs_scrub_metadata()
693 sc->sick_mask = xchk_health_mask_for_scrub_type(sm->sm_type); in xfs_scrub_metadata()
964 .sm_type = v->sv_type, in xfs_ioc_scrubv_metadata()
A Drepair.c882 if (sc->sm->sm_type != XFS_SCRUB_TYPE_BNOBT && in xrep_ag_btcur_init()
883 sc->sm->sm_type != XFS_SCRUB_TYPE_CNTBT) { in xrep_ag_btcur_init()
891 if (sc->sm->sm_type != XFS_SCRUB_TYPE_INOBT && in xrep_ag_btcur_init()
892 sc->sm->sm_type != XFS_SCRUB_TYPE_FINOBT) { in xrep_ag_btcur_init()
901 if (sc->sm->sm_type != XFS_SCRUB_TYPE_RMAPBT && in xrep_ag_btcur_init()
907 if (sc->sm->sm_type != XFS_SCRUB_TYPE_REFCNTBT && in xrep_ag_btcur_init()
1010 if (sc->sm->sm_type != XFS_SCRUB_TYPE_RTRMAPBT && in xrep_rtgroup_btcur_init()
1015 if (sc->sm->sm_type != XFS_SCRUB_TYPE_RTREFCBT && in xrep_rtgroup_btcur_init()
A Dialloc.c142 ASSERT(sc->sm->sm_type == XFS_SCRUB_TYPE_INOBT); in xchk_inobt_chunk_xref_finobt()
230 ASSERT(sc->sm->sm_type == XFS_SCRUB_TYPE_FINOBT); in xchk_finobt_chunk_xref_inobt()
275 if (sc->sm->sm_type == XFS_SCRUB_TYPE_INOBT) in xchk_iallocbt_chunk()
720 switch (sc->sm->sm_type) { in xchk_iallocbt()
746 if (sc->sm->sm_type == XFS_SCRUB_TYPE_INOBT) in xchk_iallocbt()
A Dstats.c195 if (sm->sm_type >= XFS_SCRUB_TYPE_NR) { in xchk_stats_merge_one()
196 ASSERT(sm->sm_type < XFS_SCRUB_TYPE_NR); in xchk_stats_merge_one()
200 css = &cs->cs_stats[sm->sm_type]; in xchk_stats_merge_one()
A Dalloc.c68 if (sc->sm->sm_type == XFS_SCRUB_TYPE_BNOBT) in xchk_allocbt_xref_other()
161 switch (sc->sm->sm_type) { in xchk_allocbt()
A Dalloc_repair.c916 __u32 old_type = sc->sm->sm_type; in xrep_revalidate_allocbt()
924 sc->sm->sm_type = XFS_SCRUB_TYPE_BNOBT; in xrep_revalidate_allocbt()
929 sc->sm->sm_type = XFS_SCRUB_TYPE_CNTBT; in xrep_revalidate_allocbt()
932 sc->sm->sm_type = old_type; in xrep_revalidate_allocbt()
A Dialloc_repair.c856 __u32 old_type = sc->sm->sm_type; in xrep_revalidate_iallocbt()
864 sc->sm->sm_type = XFS_SCRUB_TYPE_INOBT; in xrep_revalidate_iallocbt()
870 sc->sm->sm_type = XFS_SCRUB_TYPE_FINOBT; in xrep_revalidate_iallocbt()
875 sc->sm->sm_type = old_type; in xrep_revalidate_iallocbt()
A Dhealth.h12 struct xfs_btree_cur **curp, unsigned int sm_type);
A Dcommon.c439 if (sc->sm->sm_type != XFS_SCRUB_TYPE_AGF && in want_ag_read_header_failure()
440 sc->sm->sm_type != XFS_SCRUB_TYPE_AGFL && in want_ag_read_header_failure()
441 sc->sm->sm_type != XFS_SCRUB_TYPE_AGI) in want_ag_read_header_failure()
448 if (sc->sm->sm_type == type) in want_ag_read_header_failure()
A Dtrace.h166 __entry->type = sm->sm_type;
207 __entry->type = sc->sm->sm_type;
313 __entry->type = sc->sm->sm_type;
345 __entry->type = sc->sm->sm_type;
372 __entry->type = sc->sm->sm_type;
407 __entry->type = sc->sm->sm_type;
443 __entry->type = sc->sm->sm_type;
547 __entry->type = sc->sm->sm_type;
575 __entry->type = sc->sm->sm_type;
618 __entry->type = sc->sm->sm_type;
[all …]
A Dquota.c28 switch (sc->sm->sm_type) { in xchk_quota_to_dqtype()
A Dbmap.c54 sc->sm->sm_type != XFS_SCRUB_TYPE_BMBTA) { in xchk_setup_inode_bmap()
/fs/xfs/libxfs/
A Dxfs_fs.h699 __u32 sm_type; /* What to check? */ member

Completed in 43 milliseconds