Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev.c699 tvd->vdev_ms = svd->vdev_ms; in vdev_top_transfer()
702 svd->vdev_ms = NULL; in vdev_top_transfer()
864 bcopy(vd->vdev_ms, mspp, oldc * sizeof (*mspp)); in vdev_metaslab_init()
865 kmem_free(vd->vdev_ms, oldc * sizeof (*mspp)); in vdev_metaslab_init()
868 vd->vdev_ms = mspp; in vdev_metaslab_init()
883 &(vd->vdev_ms[m])); in vdev_metaslab_init()
911 if (vd->vdev_ms != NULL) { in vdev_metaslab_fini()
914 metaslab_t *msp = vd->vdev_ms[m]; in vdev_metaslab_fini()
919 kmem_free(vd->vdev_ms, count * sizeof (metaslab_t *)); in vdev_metaslab_fini()
920 vd->vdev_ms = NULL; in vdev_metaslab_fini()
[all …]
H A Dmetaslab.c601 metaslab_t *msp = vd->vdev_ms[m]; in metaslab_group_histogram_verify()
724 metaslab_t *msp = vd->vdev_ms[m]; in metaslab_group_fragmentation()
2385 msp = vd->vdev_ms[offset >> vd->vdev_ms_shift]; in metaslab_free_dva()
2436 msp = vd->vdev_ms[offset >> vd->vdev_ms_shift]; in metaslab_claim_dva()
2575 metaslab_t *msp = vd->vdev_ms[offset >> vd->vdev_ms_shift]; in metaslab_check_free()
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1278 uintptr_t vdev_ms; member
1287 uintptr_t *vdev_ms; in metaslab_stats() local
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()
1302 (uintptr_t)vdev.vdev_ms) == -1) { in metaslab_stats()
1303 mdb_warn("failed to read vdev_ms at %p\n", vdev.vdev_ms); in metaslab_stats()
1313 (uintptr_t)vdev_ms[m], 0) == -1) in metaslab_stats()
1323 mdb_printf("%0?p %6llu %20llx %10s ", vdev_ms[m], ms.ms_id, in metaslab_stats()
1545 if (spa_flags & SPA_FLAG_METASLABS && vdev.vdev_ms != NULL) { in do_print_vdev()
1623 if (GETMEMB(vdevp, "vdev", vdev_ms, mssp) || in metaslab_walk_step()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h164 metaslab_t **vdev_ms; /* metaslab array */ member
/titanic_41/usr/src/cmd/zdb/
H A Dzdb.c632 space_map_t *sm = vd->vdev_ms[m]->ms_sm; in get_metaslab_refcount()
857 vd->vdev_ms[zopt_object[m]]); in dump_metaslabs()
873 dump_metaslab(vd->vdev_ms[m]); in dump_metaslabs()
2553 metaslab_t *msp = vd->vdev_ms[m]; in zdb_leak_init()
2608 metaslab_t *msp = vd->vdev_ms[m]; in zdb_leak_fini()