Home
last modified time | relevance | path

Searched refs:vdev_ms_shift (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c295 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_histogram_verify()
333 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_fragmentation()
378 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_expandable_space()
580 return ((1ULL << mg->mg_vd->vdev_ms_shift) * mg->mg_vd->vdev_ms_count); in metaslab_group_get_space()
1224 ms->ms_start = id << vd->vdev_ms_shift; in metaslab_init()
1225 ms->ms_size = 1ULL << vd->vdev_ms_shift; in metaslab_init()
1445 ASSERT0(vd->vdev_ms_shift); in metaslab_weight()
2022 uint64_t ms_shift = msp->ms_group->mg_vd->vdev_ms_shift; in metaslab_distance()
2281 if (distance <= (1ULL << vd->vdev_ms_shift)) in metaslab_alloc_dva()
2378 (offset >> vd->vdev_ms_shift) >= vd->vdev_ms_count) { in metaslab_free_dva()
[all …]
H A Dvdev.c129 return (P2ALIGN(vd->vdev_asize, 1ULL << vd->vdev_ms_shift)); in vdev_get_min_asize()
512 &vd->vdev_ms_shift); in vdev_alloc()
689 tvd->vdev_ms_shift = svd->vdev_ms_shift; in vdev_top_transfer()
693 svd->vdev_ms_shift = 0; in vdev_top_transfer()
836 uint64_t newc = vd->vdev_asize >> vd->vdev_ms_shift; in vdev_metaslab_init()
845 if (vd->vdev_ms_shift == 0) in vdev_metaslab_init()
1604 vd->vdev_ms_shift = highbit64(vd->vdev_asize / metaslabs_per_vdev); in vdev_metaslab_set_size()
1605 vd->vdev_ms_shift = MAX(vd->vdev_ms_shift, SPA_MAXBLOCKSHIFT); in vdev_metaslab_set_size()
2234 if (vd->vdev_ms_array == 0 && vd->vdev_ms_shift != 0) { in vdev_sync()
3311 if ((vd->vdev_asize >> vd->vdev_ms_shift) > vd->vdev_ms_count) { in vdev_expand()
H A Dvdev_label.c277 vd->vdev_ms_shift); in vdev_config_generate()
H A Dspa.c5015 vml[c]->vdev_top->vdev_ms_shift) == 0); in spa_vdev_split_mirror()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h161 uint64_t vdev_ms_shift; /* metaslab size shift */ member
/titanic_41/usr/src/cmd/zdb/
H A Dzdb.c775 ASSERT(msp->ms_size == (1ULL << vd->vdev_ms_shift)); in dump_metaslab()
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c5922 1ULL << spa->spa_root_vdev->vdev_child[0]->vdev_ms_shift; in ztest_init()