Home
last modified time | relevance | path

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

/linux/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()
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 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 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 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 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 Dcommon.c443 if (sc->sm->sm_type != XFS_SCRUB_TYPE_AGF && in want_ag_read_header_failure()
444 sc->sm->sm_type != XFS_SCRUB_TYPE_AGFL && in want_ag_read_header_failure()
445 sc->sm->sm_type != XFS_SCRUB_TYPE_AGI) in want_ag_read_header_failure()
452 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 Dreap.c1496 if (sc->sm->sm_type == XFS_SCRUB_TYPE_DIR) in xreap_bmapi_binval_mapcount()
1508 switch (sc->sm->sm_type) { in xreap_bmapi_binval_blocksize()
H A Dbmap.c54 sc->sm->sm_type != XFS_SCRUB_TYPE_BMBTA) { in xchk_setup_inode_bmap()
/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()
/linux/fs/xfs/libxfs/
H A Dxfs_fs.h699 __u32 sm_type; /* What to check? */ member