Symbol: vds
usr/src/cmd/fs.d/udfs/common/ud_lib.c
440
ud_parse_fill_vds(ud_handle_t h, struct vds *v,
usr/src/cmd/fs.d/udfs/common/ud_lib.c
450
struct vol_desc_ptr *vds;
usr/src/cmd/fs.d/udfs/common/ud_lib.c
49
static int32_t ud_parse_fill_vds(ud_handle_t, struct vds *, uint32_t, uint32_t);
usr/src/cmd/fs.d/udfs/common/ud_lib.c
498
vds = (struct vol_desc_ptr *)taddr;
usr/src/cmd/fs.d/udfs/common/ud_lib.c
500
if (SWAP_32(vds->vdp_nvdse.ext_len) != 0) {
usr/src/cmd/fs.d/udfs/common/ud_lib.c
501
vds_loc = SWAP_32(vds->vdp_nvdse.ext_loc);
usr/src/cmd/fs.d/udfs/common/ud_lib.c
502
vds_len = SWAP_32(vds->vdp_nvdse.ext_len);
usr/src/cmd/fs.d/udfs/common/ud_lib.h
95
struct vds mvds;
usr/src/cmd/fs.d/udfs/common/ud_lib.h
96
struct vds rvds;
usr/src/cmd/fs.d/udfs/fstyp/fstyp.c
178
struct vds *v;
usr/src/cmd/fs.d/udfs/fstyp/fstyp.c
223
print_vds(fstyp_udfs_t *h, struct vds *v, FILE *fout, FILE *ferr)
usr/src/cmd/fs.d/udfs/fstyp/fstyp.c
54
static int print_vds(fstyp_udfs_t *h, struct vds *,
usr/src/cmd/fs.d/udfs/labelit/labelit.c
291
print_info(struct vds *v, char *name, ud_handle_t udh)
usr/src/cmd/fs.d/udfs/labelit/labelit.c
369
label_vds(struct vds *v, uint32_t set_flags, ud_handle_t udh)
usr/src/cmd/fs.d/udfs/labelit/labelit.c
71
static void print_info(struct vds *, char *, ud_handle_t);
usr/src/cmd/fs.d/udfs/labelit/labelit.c
72
static void label_vds(struct vds *, uint32_t, ud_handle_t);
usr/src/lib/libzfs/common/libzfs_pool.c
2057
zpool_translate_vdev_guids(zpool_handle_t *zhp, nvlist_t *vds,
usr/src/lib/libzfs/common/libzfs_pool.c
2063
for (nvpair_t *elem = nvlist_next_nvpair(vds, NULL); elem != NULL;
usr/src/lib/libzfs/common/libzfs_pool.c
2064
elem = nvlist_next_nvpair(vds, elem)) {
usr/src/lib/libzfs/common/libzfs_pool.c
2200
nvlist_t *vds)
usr/src/lib/libzfs/common/libzfs_pool.c
2211
err = zpool_translate_vdev_guids(zhp, vds, vdev_guids,
usr/src/lib/libzfs/common/libzfs_pool.c
2282
zpool_trim(zpool_handle_t *zhp, pool_trim_func_t cmd_type, nvlist_t *vds,
usr/src/lib/libzfs/common/libzfs_pool.c
2294
err = zpool_translate_vdev_guids(zhp, vds, vdev_guids,
usr/src/uts/sun4v/io/vds.c
446
vds_t *vds; /* server for this vdisk */
usr/src/uts/sun4v/io/vds.c
5386
vds_t *vds;
usr/src/uts/sun4v/io/vds.c
5403
if ((vds = ddi_get_soft_state(vds_state, instance)) == NULL) {
usr/src/uts/sun4v/io/vds.c
5410
mod_hash_walk(vds->vd_table, vds_check_for_vd, &vd_present);
usr/src/uts/sun4v/io/vds.c
5417
if (vds->initialized & VDS_MDEG) {
usr/src/uts/sun4v/io/vds.c
5418
(void) mdeg_unregister(vds->mdeg);
usr/src/uts/sun4v/io/vds.c
5419
kmem_free(vds->ispecp->specp, sizeof (vds_prop_template));
usr/src/uts/sun4v/io/vds.c
5420
kmem_free(vds->ispecp, sizeof (mdeg_node_spec_t));
usr/src/uts/sun4v/io/vds.c
5421
vds->ispecp = NULL;
usr/src/uts/sun4v/io/vds.c
5422
vds->mdeg = 0;
usr/src/uts/sun4v/io/vds.c
5425
vds_driver_types_free(vds);
usr/src/uts/sun4v/io/vds.c
5427
if (vds->initialized & VDS_LDI)
usr/src/uts/sun4v/io/vds.c
5428
(void) ldi_ident_release(vds->ldi_ident);
usr/src/uts/sun4v/io/vds.c
5429
mod_hash_destroy_hash(vds->vd_table);
usr/src/uts/sun4v/io/vds.c
5602
vd->vds->ldi_ident);
usr/src/uts/sun4v/io/vds.c
5607
&vd->ldi_handle[slice], vd->vds->ldi_ident);
usr/src/uts/sun4v/io/vds.c
5903
!(DEVI_IS_ATTACHING(vd->vds->dip)))) {
usr/src/uts/sun4v/io/vds.c
5925
vd->vds->ldi_ident);
usr/src/uts/sun4v/io/vds.c
6066
if (ddi_devid_init(vd->vds->dip, DEVID_FAB, 0, 0,
usr/src/uts/sun4v/io/vds.c
6110
&vd->ldi_handle[0], vd->vds->ldi_ident);
usr/src/uts/sun4v/io/vds.c
6119
kcred, &vd->ldi_handle[0], vd->vds->ldi_ident);
usr/src/uts/sun4v/io/vds.c
6512
vds_t *vds = vd->vds;
usr/src/uts/sun4v/io/vds.c
6535
for (i = 0; i < vds->num_drivers; i++) {
usr/src/uts/sun4v/io/vds.c
6536
if (vds->driver_types[i].type == VD_DRIVER_UNKNOWN) {
usr/src/uts/sun4v/io/vds.c
6540
if (strcmp(drv_name, vds->driver_types[i].name) == 0) {
usr/src/uts/sun4v/io/vds.c
6541
drv_type = vds->driver_types[i].type;
usr/src/uts/sun4v/io/vds.c
6681
!(DEVI_IS_ATTACHING(vd->vds->dip))) {
usr/src/uts/sun4v/io/vds.c
6709
if ((vd->ioq = ddi_taskq_create(vd->vds->dip, tq_name,
usr/src/uts/sun4v/io/vds.c
6720
vds_do_init_vd(vds_t *vds, uint64_t id, char *device_path, uint64_t options,
usr/src/uts/sun4v/io/vds.c
6730
ASSERT(vds != NULL);
usr/src/uts/sun4v/io/vds.c
6741
vd->vds = vds;
usr/src/uts/sun4v/io/vds.c
6780
if (ddi_get_soft_iblock_cookie(vds->dip, DDI_SOFTINT_MED,
usr/src/uts/sun4v/io/vds.c
6793
if ((vd->startq = ddi_taskq_create(vds->dip, tq_name, 1,
usr/src/uts/sun4v/io/vds.c
6800
if ((vd->completionq = ddi_taskq_create(vds->dip, tq_name, 1,
usr/src/uts/sun4v/io/vds.c
6815
ldc_attr.instance = ddi_get_instance(vds->dip);
usr/src/uts/sun4v/io/vds.c
682
static void vds_driver_types_free(vds_t *vds);
usr/src/uts/sun4v/io/vds.c
6851
if (mod_hash_insert(vds->vd_table, (mod_hash_key_t)id, vd) != 0) {
usr/src/uts/sun4v/io/vds.c
7005
vds_init_vd(vds_t *vds, uint64_t id, char *device_path, uint64_t options,
usr/src/uts/sun4v/io/vds.c
7012
if ((status = vds_do_init_vd(vds, id, device_path, options,
usr/src/uts/sun4v/io/vds.c
7129
vds_driver_types_free(vds_t *vds)
usr/src/uts/sun4v/io/vds.c
7131
if (vds->driver_types != NULL) {
usr/src/uts/sun4v/io/vds.c
7132
kmem_free(vds->driver_types, sizeof (vd_driver_type_t) *
usr/src/uts/sun4v/io/vds.c
7133
vds->num_drivers);
usr/src/uts/sun4v/io/vds.c
7134
vds->driver_types = NULL;
usr/src/uts/sun4v/io/vds.c
7135
vds->num_drivers = 0;
usr/src/uts/sun4v/io/vds.c
7143
vds_driver_types_update(vds_t *vds)
usr/src/uts/sun4v/io/vds.c
7148
if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, vds->dip,
usr/src/uts/sun4v/io/vds.c
7161
vds->num_drivers = num;
usr/src/uts/sun4v/io/vds.c
7162
vds->driver_types = kmem_zalloc(sizeof (vd_driver_type_t) * num,
usr/src/uts/sun4v/io/vds.c
7194
vds->driver_types[i].type = VD_DRIVER_DISK;
usr/src/uts/sun4v/io/vds.c
7198
vds->driver_types[i].type = VD_DRIVER_VOLUME;
usr/src/uts/sun4v/io/vds.c
7207
(void) strncpy(vds->driver_types[i].name, list[i], len);
usr/src/uts/sun4v/io/vds.c
7219
vds_driver_types_free(vds);
usr/src/uts/sun4v/io/vds.c
7224
vds_add_vd(vds_t *vds, md_t *md, mde_cookie_t vd_node)
usr/src/uts/sun4v/io/vds.c
7247
if (vds_init_vd(vds, id, device_path, options, ldc_id) != 0) {
usr/src/uts/sun4v/io/vds.c
7249
if (mod_hash_destroy(vds->vd_table, (mod_hash_key_t)id) != 0)
usr/src/uts/sun4v/io/vds.c
7256
vds_remove_vd(vds_t *vds, md_t *md, mde_cookie_t vd_node)
usr/src/uts/sun4v/io/vds.c
7267
if (mod_hash_destroy(vds->vd_table, (mod_hash_key_t)id) != 0)
usr/src/uts/sun4v/io/vds.c
7272
vds_change_vd(vds_t *vds, md_t *prev_md, mde_cookie_t prev_vd_node,
usr/src/uts/sun4v/io/vds.c
7342
if (mod_hash_destroy(vds->vd_table, (mod_hash_key_t)prev_id) != 0)
usr/src/uts/sun4v/io/vds.c
7346
if (vds_init_vd(vds, curr_id, curr_dev, curr_options,
usr/src/uts/sun4v/io/vds.c
7357
vds_t *vds = arg;
usr/src/uts/sun4v/io/vds.c
7362
ASSERT(vds != NULL);
usr/src/uts/sun4v/io/vds.c
7365
vds_remove_vd(vds, md->removed.mdp, md->removed.mdep[i]);
usr/src/uts/sun4v/io/vds.c
7367
vds_change_vd(vds, md->match_prev.mdp, md->match_prev.mdep[i],
usr/src/uts/sun4v/io/vds.c
7370
vds_add_vd(vds, md->added.mdp, md->added.mdep[i]);
usr/src/uts/sun4v/io/vds.c
7382
vds_t *vds;
usr/src/uts/sun4v/io/vds.c
7412
if ((vds = ddi_get_soft_state(vds_state, instance)) == NULL) {
usr/src/uts/sun4v/io/vds.c
7418
vds->dip = dip;
usr/src/uts/sun4v/io/vds.c
7419
vds->vd_table = mod_hash_create_ptrhash("vds_vd_table", VDS_NCHAINS,
usr/src/uts/sun4v/io/vds.c
7422
ASSERT(vds->vd_table != NULL);
usr/src/uts/sun4v/io/vds.c
7424
if ((status = ldi_ident_from_dip(dip, &vds->ldi_ident)) != 0) {
usr/src/uts/sun4v/io/vds.c
7428
vds->initialized |= VDS_LDI;
usr/src/uts/sun4v/io/vds.c
7442
if (mdeg_register(ispecp, &vd_match, vds_process_md, vds,
usr/src/uts/sun4v/io/vds.c
7443
&vds->mdeg) != MDEG_SUCCESS) {
usr/src/uts/sun4v/io/vds.c
7450
vds->ispecp = ispecp;
usr/src/uts/sun4v/io/vds.c
7451
vds->initialized |= VDS_MDEG;
usr/src/uts/sun4v/io/vds.c
7461
vds_driver_types_update(vds);