Home
last modified time | relevance | path

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

/linux/fs/xfs/scrub/
A Dhealth.c195 if (sc->sm->sm_type == XFS_SCRUB_TYPE_HEALTHY && in xchk_update_health()
206 switch (type_to_health_flag[sc->sm->sm_type].group) { in xchk_update_health()
256 unsigned int sm_type) in xchk_ag_btree_del_cursor_if_sick() argument
267 if (sc->sm->sm_type == sm_type) in xchk_ag_btree_del_cursor_if_sick()
277 type_to_health_flag[sc->sm->sm_type].group == XHG_AG) in xchk_ag_btree_del_cursor_if_sick()
A Dscrub.c192 sc->sm->sm_type = sub->old_smtype; in xchk_scrub_free_subord()
466 if (sm->sm_type >= XFS_SCRUB_TYPE_NR) in xchk_validate_inputs()
468 ops = &meta_scrub_ops[sm->sm_type]; in xchk_validate_inputs()
564 sub->old_smtype = sc->sm->sm_type; in xchk_scrub_create_subord()
569 sub->sc.sm->sm_type = subtype; in xchk_scrub_create_subord()
620 sc->ops = &meta_scrub_ops[sm->sm_type]; in xfs_scrub_metadata()
621 sc->sick_mask = xchk_health_mask_for_scrub_type(sm->sm_type); in xfs_scrub_metadata()
895 .sm_type = v->sv_type, in xfs_ioc_scrubv_metadata()
A Dstats.c191 if (sm->sm_type >= XFS_SCRUB_TYPE_NR) { in xchk_stats_merge_one()
192 ASSERT(sm->sm_type < XFS_SCRUB_TYPE_NR); in xchk_stats_merge_one()
196 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 Dhealth.h12 struct xfs_btree_cur **curp, unsigned int sm_type);
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()
722 switch (sc->sm->sm_type) { in xchk_iallocbt()
748 if (sc->sm->sm_type == XFS_SCRUB_TYPE_INOBT) in xchk_iallocbt()
A Drepair.c839 if (sc->sm->sm_type != XFS_SCRUB_TYPE_BNOBT && in xrep_ag_btcur_init()
840 sc->sm->sm_type != XFS_SCRUB_TYPE_CNTBT) { in xrep_ag_btcur_init()
848 if (sc->sm->sm_type != XFS_SCRUB_TYPE_INOBT && in xrep_ag_btcur_init()
849 sc->sm->sm_type != XFS_SCRUB_TYPE_FINOBT) { in xrep_ag_btcur_init()
858 if (sc->sm->sm_type != XFS_SCRUB_TYPE_RMAPBT && in xrep_ag_btcur_init()
864 if (sc->sm->sm_type != XFS_SCRUB_TYPE_REFCNTBT && in xrep_ag_btcur_init()
A Dalloc_repair.c915 __u32 old_type = sc->sm->sm_type; in xrep_revalidate_allocbt()
923 sc->sm->sm_type = XFS_SCRUB_TYPE_BNOBT; in xrep_revalidate_allocbt()
928 sc->sm->sm_type = XFS_SCRUB_TYPE_CNTBT; in xrep_revalidate_allocbt()
931 sc->sm->sm_type = old_type; in xrep_revalidate_allocbt()
A Dialloc_repair.c863 __u32 old_type = sc->sm->sm_type; in xrep_revalidate_iallocbt()
871 sc->sm->sm_type = XFS_SCRUB_TYPE_INOBT; in xrep_revalidate_iallocbt()
877 sc->sm->sm_type = XFS_SCRUB_TYPE_FINOBT; in xrep_revalidate_iallocbt()
882 sc->sm->sm_type = old_type; in xrep_revalidate_iallocbt()
A Dcommon.c423 if (sc->sm->sm_type != XFS_SCRUB_TYPE_AGF && in want_ag_read_header_failure()
424 sc->sm->sm_type != XFS_SCRUB_TYPE_AGFL && in want_ag_read_header_failure()
425 sc->sm->sm_type != XFS_SCRUB_TYPE_AGI) in want_ag_read_header_failure()
432 if (sc->sm->sm_type == type) in want_ag_read_header_failure()
A Dtrace.h154 __entry->type = sm->sm_type;
195 __entry->type = sc->sm->sm_type;
301 __entry->type = sc->sm->sm_type;
333 __entry->type = sc->sm->sm_type;
360 __entry->type = sc->sm->sm_type;
395 __entry->type = sc->sm->sm_type;
431 __entry->type = sc->sm->sm_type;
535 __entry->type = sc->sm->sm_type;
563 __entry->type = sc->sm->sm_type;
606 __entry->type = sc->sm->sm_type;
[all …]
A Dquota.c28 switch (sc->sm->sm_type) { in xchk_quota_to_dqtype()
A Dbmap.c51 sc->sm->sm_type != XFS_SCRUB_TYPE_BMBTA) { in xchk_setup_inode_bmap()
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_drv.h509 enum vmw_sm_type sm_type; member
708 return (dev_priv->sm_type >= VMW_SM_4); in has_sm4_context()
719 return (dev_priv->sm_type >= VMW_SM_4_1); in has_sm4_1_context()
730 return (dev_priv->sm_type >= VMW_SM_5); in has_sm5_context()
741 return (dev_priv->sm_type >= VMW_SM_5_1X); in has_gl43_context()
A Dvmwgfx_drv.c376 names[dev_priv->sm_type]); in vmw_print_sm_type()
539 dev_priv->sm_type = VMW_SM_LEGACY; in vmw_request_device()
1113 dev_priv->sm_type = VMW_SM_4; in vmw_driver_load()
1120 dev_priv->sm_type = VMW_SM_4_1; in vmw_driver_load()
1124 dev_priv->sm_type = VMW_SM_5; in vmw_driver_load()
1126 dev_priv->sm_type = VMW_SM_5_1X; in vmw_driver_load()
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/fs/xfs/libxfs/
A Dxfs_fs.h683 __u32 sm_type; /* What to check? */ member

Completed in 61 milliseconds