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.c1188 ASSERT(metaslab_class_validate(spa_normal_class(spa)) == 0);
1729 spa->spa_dspace = metaslab_class_get_dspace(spa_normal_class(spa)) +
1783 spa_normal_class(spa_t *spa) function
1785 return (spa->spa_normal_class);
1817 return (spa_normal_class(spa));
1828 return (spa_normal_class(spa));
1836 return (spa_normal_class(spa));
1843 return (spa_normal_class(spa));
1864 return (spa_normal_class(spa));
H A Dvdev_removal.c949 if (mc != spa_normal_class(spa) && mc->mc_groups <= 1)
950 mc = spa_normal_class(spa);
953 if (error == ENOSPC && mc != spa_normal_class(spa)) {
954 error = metaslab_alloc_dva(spa, spa_normal_class(spa), size,
1857 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.c2379 metaslab_class_t *mc = spa_normal_class(spa);
3182 if (error == ENOSPC && mc != spa_normal_class(spa)) {
3194 mc = spa_normal_class(spa);
3199 mc = spa_normal_class(spa);
3297 error = metaslab_alloc(spa, spa_normal_class(spa), size,
H A Dspa.c273 metaslab_class_t *mc = spa_normal_class(spa);
1145 spa->spa_normal_class = metaslab_class_create(spa, zfs_metaslab_ops);
1252 metaslab_class_destroy(spa->spa_normal_class);
1253 spa->spa_normal_class = NULL;
7173 old_space = metaslab_class_get_space(spa_normal_class(spa));
7179 new_space = metaslab_class_get_space(spa_normal_class(spa));
7886 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.c1026 if ((mc != spa_normal_class(spa) &&
2949 uint64_t free_space = metaslab_class_get_space(spa_normal_class(spa)) -
2950 metaslab_class_get_alloc(spa_normal_class(spa));
H A Dvdev.c1142 mc = spa_normal_class(spa);
1154 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.h221 metaslab_class_t *spa_normal_class; /* normal data class */ member in struct:spa
H A Dspa.h946 extern metaslab_class_t *spa_normal_class(spa_t *spa);
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c960 metaslab_class_t *mc = spa_normal_class(spa);
3576 spa->spa_normal_class->mc_ops = &zdb_metaslab_ops;
3829 zcb.zcb_totalasize = metaslab_class_get_alloc(spa_normal_class(spa));
3873 norm_alloc = metaslab_class_get_alloc(spa_normal_class(spa));
3874 norm_space = metaslab_class_get_space(spa_normal_class(spa));
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c869 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(ztest_spa));
870 zs->zs_space = metaslab_class_get_space(spa_normal_class(ztest_spa));
6549 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(spa));
6550 zs->zs_space = metaslab_class_get_space(spa_normal_class(spa));
6641 uint64_t capacity = metaslab_class_get_space(spa_normal_class(spa)) / 2;
6655 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 322 milliseconds