Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspace_map.c147 uint64_t entry_offset = (raw_offset << sm->sm_shift) + in space_map_iterate()
149 uint64_t entry_run = raw_run << sm->sm_shift; in space_map_iterate()
151 VERIFY0(P2PHASE(entry_offset, 1ULL << sm->sm_shift)); in space_map_iterate()
152 VERIFY0(P2PHASE(entry_run, 1ULL << sm->sm_shift)); in space_map_iterate()
335 (raw_offset << sm->sm_shift) + sm->sm_start; in space_map_incremental_destroy()
336 uint64_t entry_run = raw_run << sm->sm_shift; in space_map_incremental_destroy()
338 VERIFY0(P2PHASE(entry_offset, 1ULL << sm->sm_shift)); in space_map_incremental_destroy()
339 VERIFY0(P2PHASE(entry_run, 1ULL << sm->sm_shift)); in space_map_incremental_destroy()
447 for (int i = 0; i < sm->sm_shift; i++) { in space_map_histogram_verify()
476 for (int i = sm->sm_shift; i < RANGE_TREE_HISTOGRAM_SIZE; i++) { in space_map_histogram_add()
[all …]
H A Dmetaslab.c1954 sm->sm_shift, msp->ms_freed); in metaslab_aux_histograms_update()
1958 sm->sm_shift, msp->ms_defer[t]); in metaslab_aux_histograms_update()
1963 sm->sm_shift, msp->ms_freeing); in metaslab_aux_histograms_update()
2830 uint8_t shift = msp->ms_sm->sm_shift; in metaslab_set_fragmentation()
3004 WEIGHT_SET_INDEX(weight, i + sm->sm_shift); in metaslab_weight_from_spacemap()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspace_map.h95 uint8_t sm_shift; /* unit shift */ member
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1574 uint8_t sm_shift; member
1668 SPACE_MAP_HISTOGRAM_SIZE, sm.sm_shift); in metaslab_stats()
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c818 uint8_t mapshift = sm->sm_shift; in dump_spacemap()
944 SPACE_MAP_HISTOGRAM_SIZE, sm->sm_shift); in dump_metaslab()