Home
last modified time | relevance | path

Searched refs:vdev_id (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h130 uint64_t vdev_id; /* child number in vdev parent */ member
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev.c205 uint64_t id = cvd->vdev_id; in vdev_add_child()
246 uint_t id = cvd->vdev_id; in vdev_remove_child()
297 cvd->vdev_id = newc++; in vdev_compact_children()
339 vd->vdev_id = id; in vdev_alloc_common()
765 mvd = vdev_alloc_common(spa, cvd->vdev_id, 0, ops); in vdev_add_parent()
776 cvd->vdev_id = mvd->vdev_children; in vdev_add_parent()
818 cvd->vdev_id = mvd->vdev_id; in vdev_remove_parent()
H A Dmetaslab.c2026 if (msp->ms_group->mg_vd->vdev_id != DVA_GET_VDEV(dva)) in metaslab_distance()
2050 if (DVA_GET_VDEV(&dva[i]) == mg->mg_vd->vdev_id) { in metaslab_group_alloc()
2066 mg->mg_vd->vdev_id, txg, in metaslab_group_alloc()
2330 DVA_SET_VDEV(&dva[d], vd->vdev_id); in metaslab_alloc_dva()
H A Dspa.c4400 tvd->vdev_id = id; in spa_vdev_add()
4589 newvd->vdev_id = pvd->vdev_children; in spa_vdev_attach()
4729 if (pvd->vdev_ops == &vdev_replacing_ops && vd->vdev_id > 0 && in spa_vdev_detach()
4754 vd->vdev_id == 0 && in spa_vdev_detach()
5001 c != spa->spa_root_vdev->vdev_child[c]->vdev_id) { in spa_vdev_split_mirror()
5262 uint64_t id = vd->vdev_id; in spa_vdev_remove_from_namespace()
5510 if (ppvd->vdev_ops == &vdev_spare_ops && pvd->vdev_id == 0 && in spa_vdev_resilver_done()
H A Dvdev_label.c224 fnvlist_add_uint64(nv, ZPOOL_CONFIG_ID, vd->vdev_id); in vdev_config_generate()
/titanic_41/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_pool.c423 uint64_t vdev_id; in populate_VirtualDeviceBean() local
446 result = nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_GUID, &vdev_id); in populate_VirtualDeviceBean()
455 env, object->object, bean->method_setIndex, (jlong)vdev_id); in populate_VirtualDeviceBean()
/titanic_41/usr/src/cmd/zdb/
H A Dzdb.c787 (u_longlong_t)vd->vdev_id, in print_vdev_metaslab_header()
816 (u_longlong_t)tvd->vdev_id, in dump_metaslab_groups()
2496 (u_longlong_t)vd->vdev_id, (u_longlong_t)start, (u_longlong_t)size); in zdb_leak()
3321 DVA_SET_VDEV(&dva[0], vd->vdev_id); in zdb_read_block()
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1958 uint64_t id, vdev_id; in vdev_to_nvlist_iter() local
1991 vdev_id = strtoull(idx, &end, 10); in vdev_to_nvlist_iter()
2000 if (vdev_id == id) in vdev_to_nvlist_iter()