Searched refs:sm_type (Results 1 – 13 of 13) sorted by relevance
142 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()
128 __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 …]
384 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()
188 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()
386 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()
142 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()
56 if (sc->sm->sm_type == XFS_SCRUB_TYPE_BNOBT) in xchk_allocbt_xref_other()
26 switch (sc->sm->sm_type) { in xchk_quota_to_dqtype()
49 sc->sm->sm_type != XFS_SCRUB_TYPE_BMBTA) { in xchk_setup_inode_bmap()
535 enum vmw_sm_type sm_type; member731 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()
374 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()
2134 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type) || in vmw_cmd_dx_set_single_constant_buffer()2214 !vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader_res()2248 if (!vmw_shadertype_is_valid(dev_priv->sm_type, cmd->body.type)) { in vmw_cmd_dx_set_shader()
674 __u32 sm_type; /* What to check? */ member