Home
last modified time | relevance | path

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

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspace_map.c359 sm->sm_phys->smp_alloc -= entry_run; in space_map_incremental_destroy()
361 sm->sm_phys->smp_alloc += entry_run; in space_map_incremental_destroy()
369 ASSERT0(sm->sm_phys->smp_objsize); in space_map_incremental_destroy()
437 bzero(sm->sm_phys->smp_histogram, sizeof (sm->sm_phys->smp_histogram)); in space_map_histogram_clear()
488 sm->sm_phys->smp_histogram[idx] += in space_map_histogram_add()
780 sm->sm_phys = sm->sm_dbuf->db_data; in space_map_open_impl()
822 sm->sm_phys = NULL; in space_map_close()
870 bzero(sm->sm_phys->smp_histogram, in space_map_truncate()
875 sm->sm_phys->smp_objsize = 0; in space_map_truncate()
876 sm->sm_phys->smp_alloc = 0; in space_map_truncate()
[all …]
H A Dmetaslab.c936 msp->ms_sm->sm_phys->smp_histogram[i]; in metaslab_group_histogram_verify()
958 msp->ms_sm->sm_phys->smp_histogram[i]; in metaslab_group_histogram_add()
960 msp->ms_sm->sm_phys->smp_histogram[i]; in metaslab_group_histogram_add()
978 msp->ms_sm->sm_phys->smp_histogram[i]); in metaslab_group_histogram_remove()
980 msp->ms_sm->sm_phys->smp_histogram[i]); in metaslab_group_histogram_remove()
983 msp->ms_sm->sm_phys->smp_histogram[i]; in metaslab_group_histogram_remove()
985 msp->ms_sm->sm_phys->smp_histogram[i]; in metaslab_group_histogram_remove()
1769 if (msp->ms_sm->sm_phys->smp_histogram[i] == 0) in metaslab_set_fragmentation()
1772 space = msp->ms_sm->sm_phys->smp_histogram[i] << (i + shift); in metaslab_set_fragmentation()
1911 if (msp->ms_sm->sm_phys->smp_histogram[i] != 0) { in metaslab_weight_from_spacemap()
[all …]
H A Dvdev_removal.c291 ms->ms_sm->sm_phys->smp_alloc); in vdev_remove_initiate_sync()
1618 msp->ms_sm->sm_phys->smp_alloc); in spa_vdev_remove_cancel_sync()
1620 msp->ms_sm->sm_phys->smp_objsize); in spa_vdev_remove_cancel_sync()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dspace_map.h90 space_map_phys_t *sm_phys; /* on-disk space map */ member
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c787 (longlong_t)sm->sm_phys->smp_object); in dump_spacemap()
789 (longlong_t)sm->sm_phys->smp_objsize); in dump_spacemap()
791 (longlong_t)sm->sm_phys->smp_alloc); in dump_spacemap()
922 dump_histogram(sm->sm_phys->smp_histogram, in dump_metaslab()