Home
last modified time | relevance | path

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

/linux-6.15/fs/xfs/scrub/
H 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()
H 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()
694 sc->ops = &meta_scrub_ops[sm->sm_type]; in xfs_scrub_metadata()
695 sc->sick_mask = xchk_health_mask_for_scrub_type(sm->sm_type); in xfs_scrub_metadata()
969 .sm_type = v->sv_type, in xfs_ioc_scrubv_metadata()
H 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()
H 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()
H 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()
H A Dhealth.h12 struct xfs_btree_cur **curp, unsigned int sm_type);
H 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()
H 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()
H 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()
H 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()
H 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 …]
H A Dquota.c28 switch (sc->sm->sm_type) { in xchk_quota_to_dqtype()
H A Dbmap.c54 sc->sm->sm_type != XFS_SCRUB_TYPE_BMBTA) { in xchk_setup_inode_bmap()
/linux-6.15/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.h508 enum vmw_sm_type sm_type; member
707 return (dev_priv->sm_type >= VMW_SM_4); in has_sm4_context()
718 return (dev_priv->sm_type >= VMW_SM_4_1); in has_sm4_1_context()
729 return (dev_priv->sm_type >= VMW_SM_5); in has_sm5_context()
740 return (dev_priv->sm_type >= VMW_SM_5_1X); in has_gl43_context()
H A Dvmwgfx_drv.c378 names[dev_priv->sm_type]); in vmw_print_sm_type()
538 dev_priv->sm_type = VMW_SM_LEGACY; in vmw_request_device()
1110 dev_priv->sm_type = VMW_SM_4; in vmw_driver_load()
1117 dev_priv->sm_type = VMW_SM_4_1; in vmw_driver_load()
1121 dev_priv->sm_type = VMW_SM_5; in vmw_driver_load()
1123 dev_priv->sm_type = VMW_SM_5_1X; in vmw_driver_load()
H A Dvmwgfx_execbuf.c2137 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type) || in vmw_cmd_dx_set_single_constant_buffer()
2217 !vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader_res()
2251 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader()
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_fs.h699 __u32 sm_type; /* What to check? */ member