Searched refs:spa_normal_class (Results 1 – 14 of 14) sorted by relevance
1320 ASSERT(metaslab_class_validate(spa_normal_class(spa)) == 0); in spa_vdev_config_exit()1915 spa->spa_dspace = metaslab_class_get_dspace(spa_normal_class(spa)) + in spa_update_dspace()1970 spa_normal_class(spa_t *spa) in spa_normal_class() function1972 return (spa->spa_normal_class); in spa_normal_class()2037 return (spa_normal_class(spa)); in spa_preferred_class()2046 return (spa_normal_class(spa)); in spa_preferred_class()2053 return (spa_normal_class(spa)); in spa_preferred_class()2074 return (spa_normal_class(spa)); in spa_preferred_class()3058 EXPORT_SYMBOL(spa_normal_class);
201 metaslab_class_t *normal = spa_normal_class(spa); in vdev_passivate()1170 mc = spa_normal_class(spa); in spa_vdev_copy_segment()1173 if (error == ENOSPC && mc != spa_normal_class(spa)) { in spa_vdev_copy_segment()1174 error = metaslab_alloc_dva(spa, spa_normal_class(spa), size, in spa_vdev_copy_segment()2190 metaslab_class_t *normal = spa_normal_class(spa); in spa_vdev_remove_top_check()
945 metaslab_class_get_deferred(spa_normal_class(dp->dp_spa)); in dsl_pool_unreserved_space()953 return (metaslab_class_get_deferred(spa_normal_class(dp->dp_spa))); in dsl_pool_deferred_space()
113 metaslab_class_get_dspace(spa_normal_class(spa)) / 1000; in spa_history_create_obj()
410 metaslab_class_t *mc = spa_normal_class(spa); in spa_prop_get_config()1687 spa->spa_normal_class = metaslab_class_create(spa, msp); in spa_activate()1852 metaslab_class_destroy(spa->spa_normal_class); in spa_deactivate()1853 spa->spa_normal_class = NULL; in spa_deactivate()8982 old_space = metaslab_class_get_space(spa_normal_class(spa));8990 new_space = metaslab_class_get_space(spa_normal_class(spa));9848 metaslab_class_t *normal = spa_normal_class(spa);10249 metaslab_class_evict_old(spa->spa_normal_class, txg);
1234 if ((mc != spa_normal_class(spa) && in metaslab_group_allocatable()2560 if (spa_normal_class(msp->ms_group->mg_class->mc_spa) == in metaslab_load()4346 uint64_t free_space = metaslab_class_get_space(spa_normal_class(spa)) - in metaslab_sync_done()4347 metaslab_class_get_alloc(spa_normal_class(spa)); in metaslab_sync_done()
4071 if (error == ENOSPC && mc != spa_normal_class(spa)) { in zio_dva_allocate()4104 spa_normal_class(spa), in zio_dva_allocate()4108 zio->io_metaslab_class = mc = spa_normal_class(spa); in zio_dva_allocate()4228 error = metaslab_alloc(spa, spa_normal_class(spa), size, in zio_alloc_zil()
1489 mc = spa_normal_class(spa); in vdev_metaslab_group_create()1506 mc == spa_normal_class(spa) && vd->vdev_aux == NULL) { in vdev_metaslab_group_create()1583 if (vd->vdev_mg->mg_class == spa_normal_class(spa) && in vdev_metaslab_init()
1556 alloc = metaslab_class_get_alloc(spa_normal_class(spa)); in dsl_scan_should_clear()
605 avail = metaslab_class_get_space(spa_normal_class(spa)); in zvol_geom_bio_getattr()606 avail -= metaslab_class_get_alloc(spa_normal_class(spa)); in zvol_geom_bio_getattr()611 refd = metaslab_class_get_alloc(spa_normal_class(spa)); in zvol_geom_bio_getattr()1193 avail = metaslab_class_get_space(spa_normal_class(spa)); in zvol_cdev_ioctl()1195 spa_normal_class(spa)); in zvol_cdev_ioctl()1198 refd = metaslab_class_get_alloc(spa_normal_class(spa)); in zvol_cdev_ioctl()
249 metaslab_class_t *spa_normal_class; /* normal data class */ member
1064 extern metaslab_class_t *spa_normal_class(spa_t *spa);
1223 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(ztest_spa)); in ztest_kill()1224 zs->zs_space = metaslab_class_get_space(spa_normal_class(ztest_spa)); in ztest_kill()7690 if (metaslab_class_get_alloc(spa_normal_class(spa)) > in ztest_rzx_thread()7950 uint64_t capacity = metaslab_class_get_space(spa_normal_class(spa)) / 2; in ztest_freeze()7964 metaslab_class_get_alloc(spa_normal_class(spa)) < capacity) { in ztest_freeze()8195 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(spa)); in ztest_raidz_expand_run()8196 zs->zs_space = metaslab_class_get_space(spa_normal_class(spa)); in ztest_raidz_expand_run()8346 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(spa)); in ztest_generic_run()8347 zs->zs_space = metaslab_class_get_space(spa_normal_class(spa)); in ztest_generic_run()
1745 metaslab_class_t *mc = spa_normal_class(spa); in dump_metaslab_groups()6685 spa->spa_normal_class->mc_ops = &zdb_metaslab_ops; in zdb_leak_init()7054 zcb->zcb_totalasize = metaslab_class_get_alloc(spa_normal_class(spa)); in dump_block_stats()7101 norm_alloc = metaslab_class_get_alloc(spa_normal_class(spa)); in dump_block_stats()7102 norm_space = metaslab_class_get_space(spa_normal_class(spa)); in dump_block_stats()