Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/fs/zfs/
H A Dvdev.c700 tvd->vdev_ms = svd->vdev_ms; in vdev_top_transfer()
703 svd->vdev_ms = NULL; in vdev_top_transfer()
865 bcopy(vd->vdev_ms, mspp, oldc * sizeof (*mspp)); in vdev_metaslab_init()
866 kmem_free(vd->vdev_ms, oldc * sizeof (*mspp)); in vdev_metaslab_init()
869 vd->vdev_ms = mspp; in vdev_metaslab_init()
884 &(vd->vdev_ms[m])); in vdev_metaslab_init()
912 if (vd->vdev_ms != NULL) { in vdev_metaslab_fini()
915 metaslab_t *msp = vd->vdev_ms[m]; in vdev_metaslab_fini()
920 kmem_free(vd->vdev_ms, count * sizeof (metaslab_t *)); in vdev_metaslab_fini()
921 vd->vdev_ms = NULL; in vdev_metaslab_fini()
[all …]
H A Dmetaslab.c602 metaslab_t *msp = vd->vdev_ms[m]; in metaslab_group_histogram_verify()
725 metaslab_t *msp = vd->vdev_ms[m]; in metaslab_group_fragmentation()
2387 msp = vd->vdev_ms[offset >> vd->vdev_ms_shift]; in metaslab_free_dva()
2438 msp = vd->vdev_ms[offset >> vd->vdev_ms_shift]; in metaslab_claim_dva()
2577 metaslab_t *msp = vd->vdev_ms[offset >> vd->vdev_ms_shift]; in metaslab_check_free()
/titanic_50/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1280 uintptr_t vdev_ms; member
1289 uintptr_t *vdev_ms; in metaslab_stats() local
1301 vdev_ms = mdb_alloc(vdev.vdev_ms_count * sizeof (void *), in metaslab_stats()
1303 if (mdb_vread(vdev_ms, vdev.vdev_ms_count * sizeof (void *), in metaslab_stats()
1304 (uintptr_t)vdev.vdev_ms) == -1) { in metaslab_stats()
1305 mdb_warn("failed to read vdev_ms at %p\n", vdev.vdev_ms); in metaslab_stats()
1315 (uintptr_t)vdev_ms[m], 0) == -1) in metaslab_stats()
1325 mdb_printf("%0?p %6llu %20llx %10s ", vdev_ms[m], ms.ms_id, in metaslab_stats()
1547 if (spa_flags & SPA_FLAG_METASLABS && vdev.vdev_ms != NULL) { in do_print_vdev()
1625 if (GETMEMB(vdevp, "vdev", vdev_ms, mssp) || in metaslab_walk_step()
/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h164 metaslab_t **vdev_ms; /* metaslab array */ member
/titanic_50/usr/src/cmd/zdb/
H A Dzdb.c639 space_map_t *sm = vd->vdev_ms[m]->ms_sm; in get_metaslab_refcount()
868 vd->vdev_ms[zopt_object[m]]); in dump_metaslabs()
884 dump_metaslab(vd->vdev_ms[m]); in dump_metaslabs()
2605 metaslab_t *msp = vd->vdev_ms[m]; in zdb_leak_init()
2660 metaslab_t *msp = vd->vdev_ms[m]; in zdb_leak_fini()