Home
last modified time | relevance | path

Searched refs:sm_type (Results 1 – 14 of 14) 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 Dalloc.c68 if (sc->sm->sm_type == XFS_SCRUB_TYPE_BNOBT) in xchk_allocbt_xref_other()
147 if (bs->sc->sm->sm_type == XFS_SCRUB_TYPE_BNOBT) in xchk_allocbt_rec()
162 switch (sc->sm->sm_type) { in xchk_allocbt()
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()
963 .sm_type = v->sv_type, in xfs_ioc_scrubv_metadata()
H A Drepair.c928 if (sc->sm->sm_type != XFS_SCRUB_TYPE_BNOBT &&
929 sc->sm->sm_type != XFS_SCRUB_TYPE_CNTBT) {
937 if (sc->sm->sm_type != XFS_SCRUB_TYPE_INOBT && in xrep_reinit_pagf()
938 sc->sm->sm_type != XFS_SCRUB_TYPE_FINOBT) { in xrep_reinit_pagf()
947 if (sc->sm->sm_type != XFS_SCRUB_TYPE_RMAPBT && in xrep_reinit_pagf()
953 if (sc->sm->sm_type != XFS_SCRUB_TYPE_REFCNTBT && in xrep_reinit_pagf()
1056 if (sc->sm->sm_type != XFS_SCRUB_TYPE_RTRMAPBT && in xrep_rtgroup_init()
1061 if (sc->sm->sm_type != XFS_SCRUB_TYPE_RTREFCBT && in xrep_require_rtext_inuse()
H A Dialloc.c144 ASSERT(sc->sm->sm_type == XFS_SCRUB_TYPE_INOBT); in xchk_inobt_chunk_xref_finobt()
234 ASSERT(sc->sm->sm_type == XFS_SCRUB_TYPE_FINOBT); in xchk_finobt_chunk_xref_inobt()
279 if (sc->sm->sm_type == XFS_SCRUB_TYPE_INOBT) in xchk_iallocbt_chunk()
725 switch (sc->sm->sm_type) { in xchk_iallocbt()
751 if (sc->sm->sm_type == XFS_SCRUB_TYPE_INOBT) in xchk_iallocbt()
H A Dstats.c207 if (sm->sm_type >= XFS_SCRUB_TYPE_NR) { in xchk_stats_merge_one()
208 ASSERT(sm->sm_type < XFS_SCRUB_TYPE_NR); in xchk_stats_merge_one()
218 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.c915 __u32 old_type = sc->sm->sm_type;
919 * We must update sm_type temporarily so that the tree-to-tree cross in xrep_revalidate_allocbt()
923 sc->sm->sm_type = XFS_SCRUB_TYPE_BNOBT; in xrep_revalidate_allocbt()
939 sc->sm->sm_type = XFS_SCRUB_TYPE_CNTBT; in xrep_revalidate_allocbt()
946 sc->sm->sm_type = old_type; in xrep_revalidate_allocbt()
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.c1532 if (sc->sm->sm_type == XFS_SCRUB_TYPE_DIR) in xreap_configure_bmapi_limits()
1544 switch (sc->sm->sm_type) { in xreap_configure_bmapi_limits()
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.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.c2142 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type) || in vmw_cmd_dx_set_single_constant_buffer()
2222 !vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader_res()
2256 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader()