Home
last modified time | relevance | path

Searched refs:spa_special_class (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_misc.c1323 ASSERT(metaslab_class_validate(spa_special_class(spa)) == 0); in spa_vdev_config_exit()
1988 spa_special_class(spa_t *spa) in spa_special_class() function
1990 return (spa->spa_special_class); in spa_special_class()
2003 spa->spa_special_class->mc_groups != 0); in spa_special_has_ddt()
2029 boolean_t has_special_class = spa->spa_special_class->mc_groups != 0; in spa_preferred_class()
2035 return (spa_special_class(spa)); in spa_preferred_class()
2044 return (spa_special_class(spa)); in spa_preferred_class()
2051 return (spa_special_class(spa)); in spa_preferred_class()
2063 metaslab_class_t *special = spa_special_class(spa); in spa_preferred_class()
3060 EXPORT_SYMBOL(spa_special_class);
H A Dspa.c416 alloc += metaslab_class_get_alloc(spa_special_class(spa)); in spa_prop_get_config()
421 size += metaslab_class_get_space(spa_special_class(spa)); in spa_prop_get_config()
1690 spa->spa_special_class = metaslab_class_create(spa, msp); in spa_activate()
1861 metaslab_class_destroy(spa->spa_special_class); in spa_deactivate()
1862 spa->spa_special_class = NULL; in spa_deactivate()
8983 old_space += metaslab_class_get_space(spa_special_class(spa));
8991 new_space += metaslab_class_get_space(spa_special_class(spa));
9849 metaslab_class_t *special = spa_special_class(spa);
10252 metaslab_class_evict_old(spa->spa_special_class, txg);
H A Dddt.c1037 ddt_special_over_quota(spa, spa_special_class(spa))) in ddt_over_quota()
H A Ddsl_scan.c1557 alloc += metaslab_class_get_alloc(spa_special_class(spa)); in dsl_scan_should_clear()
H A Dmetaslab.c1235 mc != spa_special_class(spa) && in metaslab_group_allocatable()
H A Dzio.c4080 mc == spa_special_class(spa))) && in zio_dva_allocate()
H A Dvdev.c1483 mc = spa_special_class(spa); in vdev_metaslab_group_create()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h252 metaslab_class_t *spa_special_class; /* special allocation class */ member
H A Dspa.h1067 extern metaslab_class_t *spa_special_class(spa_t *spa);
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c1746 metaslab_class_t *smc = spa_special_class(spa); in dump_metaslab_groups()
7055 zcb->zcb_totalasize += metaslab_class_get_alloc(spa_special_class(spa)); in dump_block_stats()
7107 metaslab_class_get_alloc(spa_special_class(spa)) + in dump_block_stats()
7157 if (spa_special_class(spa)->mc_allocator[0].mca_rotor != NULL) { in dump_block_stats()
7159 spa_special_class(spa)); in dump_block_stats()
7161 spa_special_class(spa)); in dump_block_stats()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3469 spa_special_class(spa)->mc_groups == 1 && ztest_random(2) == 0) { in ztest_vdev_class_add()
3483 mc = spa_special_class(spa); in ztest_vdev_class_add()