Searched refs:vdev_obsolete_sm (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_indirect.c | 426 if (vd->vdev_obsolete_sm == NULL) { in vdev_indirect_should_condense() 431 ASSERT(vd->vdev_obsolete_sm != NULL); in vdev_indirect_should_condense() 433 ASSERT3U(obsolete_sm_obj, ==, space_map_object(vd->vdev_obsolete_sm)); in vdev_indirect_should_condense() 436 uint64_t bytes_obsolete = space_map_allocated(vd->vdev_obsolete_sm); in vdev_indirect_should_condense() 438 uint64_t obsolete_sm_size = space_map_length(vd->vdev_obsolete_sm); in vdev_indirect_should_condense() 785 space_map_close(vd->vdev_obsolete_sm); in spa_condense_indirect_start_sync() 786 vd->vdev_obsolete_sm = NULL; in spa_condense_indirect_start_sync() 838 VERIFY0(space_map_open(&vd->vdev_obsolete_sm, in vdev_indirect_sync_obsolete() 843 ASSERT(vd->vdev_obsolete_sm != NULL); in vdev_indirect_sync_obsolete() 845 space_map_object(vd->vdev_obsolete_sm)); in vdev_indirect_sync_obsolete() [all …]
|
H A D | vdev_removal.c | 1891 ASSERT(vd->vdev_obsolete_sm != NULL); in spa_vdev_remove_cancel_sync() 1893 space_map_object(vd->vdev_obsolete_sm)); in spa_vdev_remove_cancel_sync() 1895 space_map_free(vd->vdev_obsolete_sm, tx); in spa_vdev_remove_cancel_sync() 1898 space_map_close(vd->vdev_obsolete_sm); in spa_vdev_remove_cancel_sync() 1899 vd->vdev_obsolete_sm = NULL; in spa_vdev_remove_cancel_sync()
|
H A D | vdev.c | 1171 if (vd->vdev_obsolete_sm != NULL) { in vdev_free() 1174 space_map_close(vd->vdev_obsolete_sm); in vdev_free() 1175 vd->vdev_obsolete_sm = NULL; in vdev_free() 1276 ASSERT3P(tvd->vdev_obsolete_sm, ==, NULL); in vdev_top_transfer() 1289 tvd->vdev_obsolete_sm = svd->vdev_obsolete_sm; in vdev_top_transfer() 1295 svd->vdev_obsolete_sm = NULL; in vdev_top_transfer() 3909 ASSERT3P(vd->vdev_obsolete_sm, ==, NULL); in vdev_load() 3911 if ((error = space_map_open(&vd->vdev_obsolete_sm, mos, in vdev_load()
|
H A D | spa.c | 9856 ASSERT(vd->vdev_obsolete_sm != NULL); 9862 space_map_object(vd->vdev_obsolete_sm)); 9864 space_map_allocated(vd->vdev_obsolete_sm));
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | vdev_impl.h | 377 space_map_t *vdev_obsolete_sm; member
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 1457 ASSERT3P(vd->vdev_obsolete_sm, ==, NULL); in get_obsolete_refcount() 1851 ASSERT(vd->vdev_obsolete_sm != NULL); in print_vdev_indirect() 1852 ASSERT3U(space_map_object(vd->vdev_obsolete_sm), ==, in print_vdev_indirect() 1854 dump_spacemap(mos, vd->vdev_obsolete_sm); in print_vdev_indirect() 6396 EQUIV(obsolete_sm_object != 0, vd->vdev_obsolete_sm != NULL); in zdb_load_obsolete_counts() 6398 if (vd->vdev_obsolete_sm != NULL) { in zdb_load_obsolete_counts() 6400 vd->vdev_obsolete_sm); in zdb_load_obsolete_counts() 8143 if (vd->vdev_obsolete_sm != NULL) in mos_leak_vdev() 8144 mos_obj_refd(vd->vdev_obsolete_sm->sm_object); in mos_leak_vdev()
|