Home
last modified time | relevance | path

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

/linux/fs/xfs/scrub/
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()
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()
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 Dhealth.h12 struct xfs_btree_cur **curp, unsigned int sm_type);
H A Dalloc_repair.c913 __u32 old_type = sc->sm->sm_type; in xrep_revalidate_allocbt()
921 sc->sm->sm_type = XFS_SCRUB_TYPE_BNOBT; in xrep_revalidate_allocbt()
937 sc->sm->sm_type = XFS_SCRUB_TYPE_CNTBT; in xrep_revalidate_allocbt()
944 sc->sm->sm_type = old_type; in xrep_revalidate_allocbt()
H A Dialloc_repair.c853 __u32 old_type = sc->sm->sm_type; in xrep_revalidate_iallocbt()
861 sc->sm->sm_type = XFS_SCRUB_TYPE_INOBT; in xrep_revalidate_iallocbt()
878 sc->sm->sm_type = XFS_SCRUB_TYPE_FINOBT; in xrep_revalidate_iallocbt()
886 sc->sm->sm_type = old_type; in xrep_revalidate_iallocbt()
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 …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.h498 enum vmw_sm_type sm_type; member
697 return (dev_priv->sm_type >= VMW_SM_4); in has_sm4_context()
708 return (dev_priv->sm_type >= VMW_SM_4_1); in has_sm4_1_context()
719 return (dev_priv->sm_type >= VMW_SM_5); in has_sm5_context()
730 return (dev_priv->sm_type >= VMW_SM_5_1X); in has_gl43_context()
H A Dvmwgfx_drv.c358 names[dev_priv->sm_type]); in vmw_print_sm_type()
520 dev_priv->sm_type = VMW_SM_LEGACY; in vmw_request_device()
1088 dev_priv->sm_type = VMW_SM_4; in vmw_driver_load()
1095 dev_priv->sm_type = VMW_SM_4_1; in vmw_driver_load()
1099 dev_priv->sm_type = VMW_SM_5; in vmw_driver_load()
1101 dev_priv->sm_type = VMW_SM_5_1X; in vmw_driver_load()
H A Dvmwgfx_execbuf.c2126 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type) || in vmw_cmd_dx_set_single_constant_buffer()
2206 !vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader_res()
2240 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader()