Home
last modified time | relevance | path

Searched refs:vdev_ms_count (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c580 return ((1ULL << mg->mg_vd->vdev_ms_shift) * mg->mg_vd->vdev_ms_count); in metaslab_group_get_space()
600 for (int m = 0; m < vd->vdev_ms_count; m++) { in metaslab_group_histogram_verify()
723 for (int m = 0; m < vd->vdev_ms_count; m++) { in metaslab_group_fragmentation()
733 if (valid_ms <= vd->vdev_ms_count / 2) in metaslab_group_fragmentation()
1488 weight = 2 * weight - (msp->ms_id * weight) / vd->vdev_ms_count; in metaslab_weight()
2378 (offset >> vd->vdev_ms_shift) >= vd->vdev_ms_count) { in metaslab_free_dva()
2433 (offset >> vd->vdev_ms_shift) >= vd->vdev_ms_count) in metaslab_claim_dva()
H A Dvdev.c690 tvd->vdev_ms_count = svd->vdev_ms_count; in vdev_top_transfer()
694 svd->vdev_ms_count = 0; in vdev_top_transfer()
835 uint64_t oldc = vd->vdev_ms_count; in vdev_metaslab_init()
869 vd->vdev_ms_count = newc; in vdev_metaslab_init()
909 uint64_t count = vd->vdev_ms_count; in vdev_metaslab_fini()
2172 for (int m = 0; m < vd->vdev_ms_count; m++) { in vdev_remove()
2893 ASSERT(vd->vdev_ms_count != 0); in vdev_space_update()
3311 if ((vd->vdev_asize >> vd->vdev_ms_shift) > vd->vdev_ms_count) { in vdev_expand()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h162 uint64_t vdev_ms_count; /* number of metaslabs */ member
/titanic_41/usr/src/cmd/zdb/
H A Dzdb.c631 for (int m = 0; m < vd->vdev_ms_count; m++) { in get_metaslab_refcount()
788 "metaslabs", (u_longlong_t)vd->vdev_ms_count, in print_vdev_metaslab_header()
817 (u_longlong_t)tvd->vdev_ms_count); in dump_metaslab_groups()
855 if (zopt_object[m] < vd->vdev_ms_count) in dump_metaslabs()
872 for (m = 0; m < vd->vdev_ms_count; m++) in dump_metaslabs()
2552 for (uint64_t m = 0; m < vd->vdev_ms_count; m++) { in zdb_leak_init()
2572 (longlong_t)vd->vdev_ms_count); in zdb_leak_init()
2607 for (int m = 0; m < vd->vdev_ms_count; m++) { in zdb_leak_fini()
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1279 uint64_t vdev_ms_count; member
1299 vdev_ms = mdb_alloc(vdev.vdev_ms_count * sizeof (void *), in metaslab_stats()
1301 if (mdb_vread(vdev_ms, vdev.vdev_ms_count * sizeof (void *), in metaslab_stats()
1307 for (int m = 0; m < vdev.vdev_ms_count; m++) { in metaslab_stats()
1624 GETMEMB(vdevp, "vdev", vdev_ms_count, mw->mw_nummss)) { in metaslab_walk_step()
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c3052 old_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth()
3122 new_ms_count = tvd->vdev_ms_count; in ztest_vdev_LUN_growth()