Searched refs:spa_normal_class (Results 1 – 12 of 12) sorted by relevance
165 metaslab_class_get_deferred(spa_normal_class(dp->dp_spa)); in dsl_sync_task_sync()
1113 ASSERT(metaslab_class_validate(spa_normal_class(spa)) == 0); in spa_vdev_config_exit()1659 spa->spa_dspace = metaslab_class_get_dspace(spa_normal_class(spa)) + in spa_update_dspace()1692 spa_normal_class(spa_t *spa) in spa_normal_class() function1694 return (spa->spa_normal_class); in spa_normal_class()
112 metaslab_class_get_dspace(spa_normal_class(spa)) / 1000; in spa_history_create_obj()
203 metaslab_class_t *mc = spa_normal_class(spa); in spa_prop_get_config()208 alloc = metaslab_class_get_alloc(spa_normal_class(spa)); in spa_prop_get_config()209 size = metaslab_class_get_space(spa_normal_class(spa)); in spa_prop_get_config()1053 spa->spa_normal_class = metaslab_class_create(spa, zfs_metaslab_ops); in spa_activate()1133 metaslab_class_destroy(spa->spa_normal_class); in spa_deactivate()1134 spa->spa_normal_class = NULL; in spa_deactivate()5737 old_space = metaslab_class_get_space(spa_normal_class(spa)); in spa_async_thread()5739 new_space = metaslab_class_get_space(spa_normal_class(spa)); in spa_async_thread()
1986 error = metaslab_alloc(spa, spa_normal_class(spa), SPA_GANGBLOCKSIZE, in zio_write_gang_block()2493 metaslab_class_t *mc = spa_normal_class(spa); in zio_dva_allocate()2597 error = metaslab_alloc(spa, spa_normal_class(spa), size, in zio_alloc_zil()
526 spa_log_class(spa) : spa_normal_class(spa), vd); in vdev_alloc()2893 if (mc == spa_normal_class(spa)) { in vdev_space_update()
1189 deferred = metaslab_class_get_deferred(spa_normal_class(spa)); in dsl_dir_tempreserve_impl()
770 mc != spa_normal_class(spa) || mc->mc_alloc_groups == 0); in metaslab_group_allocatable()
140 metaslab_class_t *spa_normal_class; /* normal data class */ member
785 extern metaslab_class_t *spa_normal_class(spa_t *spa);
773 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(ztest_spa)); in ztest_kill()774 zs->zs_space = metaslab_class_get_space(spa_normal_class(ztest_spa)); in ztest_kill()5731 zs->zs_alloc = metaslab_class_get_alloc(spa_normal_class(spa)); in ztest_run()5732 zs->zs_space = metaslab_class_get_space(spa_normal_class(spa)); in ztest_run()5823 uint64_t capacity = metaslab_class_get_space(spa_normal_class(spa)) / 2; in ztest_freeze()5837 metaslab_class_get_alloc(spa_normal_class(spa)) < capacity) { in ztest_freeze()
810 metaslab_class_t *mc = spa_normal_class(spa); in dump_metaslab_groups()2742 zcb.zcb_totalasize = metaslab_class_get_alloc(spa_normal_class(spa)); in dump_block_stats()2778 norm_alloc = metaslab_class_get_alloc(spa_normal_class(spa)); in dump_block_stats()2779 norm_space = metaslab_class_get_space(spa_normal_class(spa)); in dump_block_stats()