Home
last modified time | relevance | path

Searched refs:sm_type (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dhealth.c142 switch (type_to_health_flag[sc->sm->sm_type].group) { in xchk_update_health()
195 if (sc->sm->sm_type == XFS_SCRUB_TYPE_BNOBT) in xchk_ag_btree_healthy_enough()
200 if (sc->sm->sm_type == XFS_SCRUB_TYPE_CNTBT) in xchk_ag_btree_healthy_enough()
205 if (sc->sm->sm_type == XFS_SCRUB_TYPE_INOBT) in xchk_ag_btree_healthy_enough()
210 if (sc->sm->sm_type == XFS_SCRUB_TYPE_FINOBT) in xchk_ag_btree_healthy_enough()
215 if (sc->sm->sm_type == XFS_SCRUB_TYPE_RMAPBT) in xchk_ag_btree_healthy_enough()
220 if (sc->sm->sm_type == XFS_SCRUB_TYPE_REFCNTBT) in xchk_ag_btree_healthy_enough()
236 type_to_health_flag[sc->sm->sm_type].group == XHG_AG) in xchk_ag_btree_healthy_enough()
H A Dtrace.h128 __entry->type = sm->sm_type;
167 __entry->type = sc->sm->sm_type;
198 __entry->type = sc->sm->sm_type;
230 __entry->type = sc->sm->sm_type;
257 __entry->type = sc->sm->sm_type;
292 __entry->type = sc->sm->sm_type;
328 __entry->type = sc->sm->sm_type;
360 __entry->type = sc->sm->sm_type;
388 __entry->type = sc->sm->sm_type;
431 __entry->type = sc->sm->sm_type;
[all...]
H A Dcommon.c386 if (sc->sm->sm_type != XFS_SCRUB_TYPE_AGF && in want_ag_read_header_failure()
387 sc->sm->sm_type != XFS_SCRUB_TYPE_AGFL && in want_ag_read_header_failure()
388 sc->sm->sm_type != XFS_SCRUB_TYPE_AGI) in want_ag_read_header_failure()
395 if (sc->sm->sm_type == type) in want_ag_read_header_failure()
1134 __u32 smtype = sc->sm->sm_type; in xchk_metadata_inode_subtype()
1137 sc->sm->sm_type = scrub_type; in xchk_metadata_inode_subtype()
1152 sc->sm->sm_type = smtype; in xchk_metadata_inode_subtype()
H A Dstats.c188 if (sm->sm_type >= XFS_SCRUB_TYPE_NR) { in xchk_stats_merge_one()
189 ASSERT(sm->sm_type < XFS_SCRUB_TYPE_NR); in xchk_stats_merge_one()
193 css = &cs->cs_stats[sm->sm_type]; in xchk_stats_merge_one()
H A Dscrub.c384 if (sm->sm_type >= XFS_SCRUB_TYPE_NR) in xchk_validate_inputs()
386 ops = &meta_scrub_ops[sm->sm_type]; in xchk_validate_inputs()
508 sc->ops = &meta_scrub_ops[sm->sm_type]; in xfs_scrub_metadata()
509 sc->sick_mask = xchk_health_mask_for_scrub_type(sm->sm_type); in xfs_scrub_metadata()
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()
H A Dalloc.c56 if (sc->sm->sm_type == XFS_SCRUB_TYPE_BNOBT) in xchk_allocbt_xref_other()
H A Dquota.c26 switch (sc->sm->sm_type) { in xchk_quota_to_dqtype()
H A Dbmap.c49 sc->sm->sm_type != XFS_SCRUB_TYPE_BMBTA) { in xchk_setup_inode_bmap()
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Dhealth.c137 switch (type_to_health_flag[sc->sm->sm_type].group) { in xchk_update_health()
190 if (sc->sm->sm_type == XFS_SCRUB_TYPE_BNOBT) in xchk_ag_btree_healthy_enough()
195 if (sc->sm->sm_type == XFS_SCRUB_TYPE_CNTBT) in xchk_ag_btree_healthy_enough()
200 if (sc->sm->sm_type == XFS_SCRUB_TYPE_INOBT) in xchk_ag_btree_healthy_enough()
205 if (sc->sm->sm_type == XFS_SCRUB_TYPE_FINOBT) in xchk_ag_btree_healthy_enough()
210 if (sc->sm->sm_type == XFS_SCRUB_TYPE_RMAPBT) in xchk_ag_btree_healthy_enough()
215 if (sc->sm->sm_type == XFS_SCRUB_TYPE_REFCNTBT) in xchk_ag_btree_healthy_enough()
H A Dtrace.h99 __entry->type = sm->sm_type;
142 __entry->type = sc->sm->sm_type;
174 __entry->type = sc->sm->sm_type;
209 __entry->type = sc->sm->sm_type;
244 __entry->type = sc->sm->sm_type;
280 __entry->type = sc->sm->sm_type;
312 __entry->type = sc->sm->sm_type;
340 __entry->type = sc->sm->sm_type;
383 __entry->type = sc->sm->sm_type;
423 __entry->type = sc->sm->sm_type;
[all...]
H A Dcommon.c380 if (sc->sm->sm_type != XFS_SCRUB_TYPE_AGF && in want_ag_read_header_failure()
381 sc->sm->sm_type != XFS_SCRUB_TYPE_AGFL && in want_ag_read_header_failure()
382 sc->sm->sm_type != XFS_SCRUB_TYPE_AGI) in want_ag_read_header_failure()
389 if (sc->sm->sm_type == type) in want_ag_read_header_failure()
856 smtype = sc->sm->sm_type; in xchk_metadata_inode_forks()
857 sc->sm->sm_type = XFS_SCRUB_TYPE_BMBTD; in xchk_metadata_inode_forks()
859 sc->sm->sm_type = smtype; in xchk_metadata_inode_forks()
H A Dscrub.c378 if (sm->sm_type >= XFS_SCRUB_TYPE_NR) in xchk_validate_inputs()
380 ops = &meta_scrub_ops[sm->sm_type]; in xchk_validate_inputs()
491 sc.ops = &meta_scrub_ops[sm->sm_type]; in xfs_scrub_metadata()
492 sc.sick_mask = xchk_health_mask_for_scrub_type(sm->sm_type); in xfs_scrub_metadata()
H A Dalloc.c47 if (sc->sm->sm_type == XFS_SCRUB_TYPE_BNOBT) in xchk_allocbt_xref_other()
H A Dquota.c25 switch (sc->sm->sm_type) { in xchk_quota_to_dqtype()
H A Dialloc.c66 if (sc->sm->sm_type == XFS_SCRUB_TYPE_FINOBT) in xchk_iallocbt_chunk_xref_other()
H A Dbmap.c47 sc->sm->sm_type == XFS_SCRUB_TYPE_BMBTD) { in xchk_setup_inode_bmap()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.c454 dev_priv->sm_type = VMW_SM_LEGACY; in vmw_request_device()
925 dev_priv->sm_type = VMW_SM_4; in vmw_driver_load()
937 dev_priv->sm_type = VMW_SM_4_1; in vmw_driver_load()
943 dev_priv->sm_type = VMW_SM_5; in vmw_driver_load()
958 if (dev_priv->sm_type == VMW_SM_5) in vmw_driver_load()
960 if (dev_priv->sm_type == VMW_SM_4_1) in vmw_driver_load()
962 if (dev_priv->sm_type == VMW_SM_4) in vmw_driver_load()
H A Dvmwgfx_drv.h530 enum vmw_sm_type sm_type; member
709 return (dev_priv->sm_type >= VMW_SM_4); in has_sm4_context()
720 return (dev_priv->sm_type >= VMW_SM_4_1); in has_sm4_1_context()
731 return (dev_priv->sm_type >= VMW_SM_5); in has_sm5_context()
H A Dvmwgfx_execbuf.c2139 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type) || in vmw_cmd_dx_set_single_constant_buffer()
2181 !vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader_res()
2215 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.c374 names[dev_priv->sm_type]); in vmw_print_sm_type()
537 dev_priv->sm_type = VMW_SM_LEGACY; in vmw_request_device()
1115 dev_priv->sm_type = VMW_SM_4; in vmw_driver_load()
1122 dev_priv->sm_type = VMW_SM_4_1; in vmw_driver_load()
1126 dev_priv->sm_type = VMW_SM_5; in vmw_driver_load()
1128 dev_priv->sm_type = VMW_SM_5_1X; in vmw_driver_load()
H A Dvmwgfx_drv.h535 enum vmw_sm_type sm_type; member
731 return (dev_priv->sm_type >= VMW_SM_4); in has_sm4_context()
742 return (dev_priv->sm_type >= VMW_SM_4_1); in has_sm4_1_context()
753 return (dev_priv->sm_type >= VMW_SM_5); in has_sm5_context()
764 return (dev_priv->sm_type >= VMW_SM_5_1X); in has_gl43_context()
H A Dvmwgfx_execbuf.c2136 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type) || in vmw_cmd_dx_set_single_constant_buffer()
2216 !vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader_res()
2250 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_fs.h677 __u32 sm_type; /* What to check? */ member
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_fs.h674 __u32 sm_type; /* What to check? */ member

Completed in 34 milliseconds