Home
last modified time | relevance | path

Searched refs:vdev_checkpoint_sm (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_checkpoint.c265 if (vd->vdev_checkpoint_sm != NULL) { in spa_checkpoint_accounting_verify()
267 -space_map_allocated(vd->vdev_checkpoint_sm); in spa_checkpoint_accounting_verify()
328 space_map_length(vd->vdev_checkpoint_sm) / sizeof (uint64_t); in spa_checkpoint_discard_thread_sync()
330 error = space_map_incremental_destroy(vd->vdev_checkpoint_sm, in spa_checkpoint_discard_thread_sync()
334 space_map_length(vd->vdev_checkpoint_sm) / sizeof (uint64_t); in spa_checkpoint_discard_thread_sync()
354 ASSERT0(space_map_allocated(vd->vdev_checkpoint_sm)); in spa_checkpoint_discard_thread_sync()
355 ASSERT0(space_map_length(vd->vdev_checkpoint_sm)); in spa_checkpoint_discard_thread_sync()
357 space_map_free(vd->vdev_checkpoint_sm, tx); in spa_checkpoint_discard_thread_sync()
358 space_map_close(vd->vdev_checkpoint_sm); in spa_checkpoint_discard_thread_sync()
359 vd->vdev_checkpoint_sm = NULL; in spa_checkpoint_discard_thread_sync()
[all …]
H A Dvdev.c1252 tvd->vdev_checkpoint_sm = svd->vdev_checkpoint_sm; in vdev_top_transfer()
1253 svd->vdev_checkpoint_sm = NULL; in vdev_top_transfer()
1646 if (vd->vdev_checkpoint_sm != NULL) { in vdev_metaslab_fini()
1649 space_map_close(vd->vdev_checkpoint_sm); in vdev_metaslab_fini()
1658 vd->vdev_checkpoint_sm = NULL; in vdev_metaslab_fini()
3857 ASSERT3P(vd->vdev_checkpoint_sm, ==, NULL); in vdev_load()
3859 error = space_map_open(&vd->vdev_checkpoint_sm, in vdev_load()
3869 ASSERT3P(vd->vdev_checkpoint_sm, !=, NULL); in vdev_load()
3878 -space_map_allocated(vd->vdev_checkpoint_sm); in vdev_load()
4439 tvd->vdev_checkpoint_sm != NULL) { in vdev_offline_locked()
[all …]
H A Dmetaslab.c4103 vd->vdev_checkpoint_sm == NULL) { in metaslab_sync()
4110 VERIFY0(space_map_open(&vd->vdev_checkpoint_sm, in metaslab_sync()
4112 ASSERT3P(vd->vdev_checkpoint_sm, !=, NULL); in metaslab_sync()
4187 ASSERT3P(vd->vdev_checkpoint_sm, !=, NULL); in metaslab_sync()
4196 space_map_write(vd->vdev_checkpoint_sm, in metaslab_sync()
4205 -space_map_allocated(vd->vdev_checkpoint_sm)); in metaslab_sync()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h290 space_map_t *vdev_checkpoint_sm; /* contains reserved blocks */ member
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c7829 VERIFY3P(current_vd->vdev_checkpoint_sm, ==, NULL); in verify_checkpoint_vdev_spacemaps()
8071 if (vd->vdev_checkpoint_sm != NULL) in mos_leak_vdev()
8072 mos_obj_refd(vd->vdev_checkpoint_sm->sm_object); in mos_leak_vdev()