Searched refs:spa_normal_class (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c1212 ASSERT(metaslab_class_validate(spa_normal_class(spa)) == 0);
1765 spa->spa_dspace = metaslab_class_get_dspace(spa_normal_class(spa)) +
1819 spa_normal_class(spa_t *spa) function
1821 return (spa->spa_normal_class);
1853 return (spa_normal_class(spa));
1864 return (spa_normal_class(spa));
1872 return (spa_normal_class(spa));
1879 return (spa_normal_class(spa));
1900 return (spa_normal_class(spa));
H A Dvdev_removal.c950 if (mc != spa_normal_class(spa) && mc->mc_groups <= 1)
951 mc = spa_normal_class(spa);
954 if (error == ENOSPC && mc != spa_normal_class(spa)) {
955 error = metaslab_alloc_dva(spa, spa_normal_class(spa), size,
1888 if (mc != spa_normal_class(spa) && mc->mc_groups > 1) {
H A Dspa_history.c113 metaslab_class_get_dspace(spa_normal_class(spa)) / 1000;
H A Dzio.c2405 metaslab_class_t *mc = spa_normal_class(spa);
3208 if (error == ENOSPC && mc != spa_normal_class(spa)) {
3220 mc = spa_normal_class(spa);
3225 mc = spa_normal_class(spa);
3323 error = metaslab_alloc(spa, spa_normal_class(spa), size,
H A Dspa.c275 metaslab_class_t *mc = spa_normal_class(spa);
1148 spa->spa_normal_class = metaslab_class_create(spa, zfs_metaslab_ops);
1255 metaslab_class_destroy(spa->spa_normal_class);
1256 spa->spa_normal_class = NULL;
7495 old_space = metaslab_class_get_space(spa_normal_class(spa));
7501 new_space = metaslab_class_get_space(spa_normal_class(spa));
8241 metaslab_class_t *normal = spa_normal_class(spa);
H A Ddsl_pool.c858 metaslab_class_get_deferred(spa_normal_class(dp->dp_spa));
H A Dmetaslab.c1038 if ((mc != spa_normal_class(spa) &&
3501 uint64_t free_space = metaslab_class_get_space(spa_normal_class(spa)) -
3502 metaslab_class_get_alloc(spa_normal_class(spa));
H A Dvdev.c1160 mc = spa_normal_class(spa);
1172 mc == spa_normal_class(spa) && vd->vdev_aux == NULL) {
H A Ddsl_scan.c1223 uint64_t alloc = metaslab_class_get_alloc(spa_normal_class(
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h222 metaslab_class_t *spa_normal_class; /* normal data class */ member in struct:spa
H A Dspa.h997 extern metaslab_class_t *spa_normal_class(spa_t *spa);
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1003 metaslab_class_t *mc = spa_normal_class(spa);
3806 spa->spa_normal_class->mc_ops = &zdb_metaslab_ops;
4058 zcb.zcb_totalasize = metaslab_class_get_alloc(spa_normal_class(spa));
4102 norm_alloc = metaslab_class_get_alloc(spa_normal_class(spa));
4103 norm_space = metaslab_class_get_space(spa_normal_class(spa));
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c872 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(ztest_spa));
873 zs->zs_space = metaslab_class_get_space(spa_normal_class(ztest_spa));
6625 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(spa));
6626 zs->zs_space = metaslab_class_get_space(spa_normal_class(spa));
6717 uint64_t capacity = metaslab_class_get_space(spa_normal_class(spa)) / 2;
6731 metaslab_class_get_alloc(spa_normal_class(spa)) < capacity) {
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1271 uintptr_t spa_normal_class; member in struct:mdb_spa_print
1391 spa_class_histogram(spa.spa_normal_class);

Completed in 327 milliseconds