Searched refs:vd_devid (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | vdev_disk.c | 352 if (ddi_devid_str_decode(vd->vdev_devid, &dvd->vd_devid, in vdev_disk_open() 394 if (ddi_devid_compare(devid, dvd->vd_devid) != 0) { in vdev_disk_open() 416 error = ldi_open_by_devid(dvd->vd_devid, dvd->vd_minor, in vdev_disk_open() 456 if (ddi_devid_compare(devid, dvd->vd_devid) != 0) { in vdev_disk_open() 457 char *vd_devid; in vdev_disk_open() local 459 vd_devid = ddi_devid_str_encode(devid, dvd->vd_minor); in vdev_disk_open() 461 "to %s", vd->vdev_path, vd->vdev_devid, vd_devid); in vdev_disk_open() 463 vd->vdev_devid = spa_strdup(vd_devid); in vdev_disk_open() 464 ddi_devid_str_free(vd_devid); in vdev_disk_open() 598 if (dvd->vd_devid != NULL) { in vdev_disk_close() [all …]
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | vdev_disk.h | 45 ddi_devid_t vd_devid; member
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | vdc.c | 8533 vd_devid_t *vd_devid; in vdc_setup_devid() local 8548 vd_devid = kmem_zalloc(bufsize, KM_SLEEP); in vdc_setup_devid() 8551 rv = vdc_do_op(vdc, VD_OP_GET_DEVID, (caddr_t)vd_devid, in vdc_setup_devid() 8557 kmem_free(vd_devid, bufsize); in vdc_setup_devid() 8561 if (vd_devid->length > bufid_len) { in vdc_setup_devid() 8566 kmem_free(vd_devid, bufsize); in vdc_setup_devid() 8567 bufsize = P2ROUNDUP(VD_DEVID_SIZE(vd_devid->length), in vdc_setup_devid() 8569 vd_devid = kmem_zalloc(bufsize, KM_SLEEP); in vdc_setup_devid() 8572 rv = vdc_do_sync_op(vdc, VD_OP_GET_DEVID, (caddr_t)vd_devid, in vdc_setup_devid() 8576 kmem_free(vd_devid, bufsize); in vdc_setup_devid() [all …]
|
H A D | vds.c | 3713 vd_devid_t *vd_devid; in vd_get_devid() local 3762 vd_devid = kmem_zalloc(bufbytes, KM_SLEEP); in vd_get_devid() 3763 vd_devid->length = devid_len; in vd_get_devid() 3764 vd_devid->type = DEVID_GETTYPE(devid); in vd_get_devid() 3768 bcopy(devid->did_id, vd_devid->id, len); in vd_get_devid() 3775 if ((status = ldc_mem_copy(vd->ldc_handle, (caddr_t)vd_devid, 0, in vd_get_devid() 3783 kmem_free(vd_devid, bufbytes); in vd_get_devid()
|
/titanic_41/usr/src/uts/sun4v/sys/ |
H A D | vdsk_common.h | 287 typedef struct vd_devid { struct
|