Searched refs:ms_sm (Results 1 – 4 of 4) sorted by relevance
551 if (txg != spa_syncing_txg(spa) || msp->ms_sm == NULL || in metaslab_verify_space()555 sm_free_space = msp->ms_size - space_map_allocated(msp->ms_sm) - in metaslab_verify_space()556 space_map_alloc_delta(msp->ms_sm); in metaslab_verify_space()804 if (msp->ms_sm == NULL) in metaslab_group_histogram_verify()809 msp->ms_sm->sm_phys->smp_histogram[i]; in metaslab_group_histogram_verify()825 if (msp->ms_sm == NULL) in metaslab_group_histogram_add()831 msp->ms_sm->sm_phys->smp_histogram[i]; in metaslab_group_histogram_add()833 msp->ms_sm->sm_phys->smp_histogram[i]; in metaslab_group_histogram_add()845 if (msp->ms_sm == NULL) in metaslab_group_histogram_remove()851 msp->ms_sm->sm_phys->smp_histogram[i]); in metaslab_group_histogram_remove()[all …]
2394 if (msp == NULL || msp->ms_sm == NULL) in vdev_remove()2407 VERIFY0(space_map_allocated(msp->ms_sm)); in vdev_remove()2408 space_map_free(msp->ms_sm, tx); in vdev_remove()2409 space_map_close(msp->ms_sm); in vdev_remove()2410 msp->ms_sm = NULL; in vdev_remove()
311 space_map_t *ms_sm; member
646 space_map_t *sm = vd->vdev_ms[m]->ms_sm; in get_metaslab_refcount()754 space_map_t *sm = msp->ms_sm; in dump_metaslab()792 dump_spacemap(spa->spa_meta_objset, msp->ms_sm); in dump_metaslab()2617 if (msp->ms_sm != NULL) { in zdb_leak_init()2634 VERIFY0(space_map_load(msp->ms_sm, in zdb_leak_init()