Searched refs:vd_devid (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_disk.h45 ddi_devid_t vd_devid; member in struct:vdev_disk
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_disk.c324 if (ddi_devid_str_decode(vd->vdev_devid, &dvd->vd_devid,
366 if (ddi_devid_compare(devid, dvd->vd_devid) != 0) {
388 error = ldi_open_by_devid(dvd->vd_devid, dvd->vd_minor,
428 if (ddi_devid_compare(devid, dvd->vd_devid) != 0) {
429 char *vd_devid; local
431 vd_devid = ddi_devid_str_encode(devid, dvd->vd_minor);
433 "to %s", vd->vdev_path, vd->vdev_devid, vd_devid);
435 vd->vdev_devid = spa_strdup(vd_devid);
436 ddi_devid_str_free(vd_devid);
567 if (dvd->vd_devid !
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdc.c8533 vd_devid_t *vd_devid; local
8548 vd_devid = kmem_zalloc(bufsize, KM_SLEEP);
8551 rv = vdc_do_op(vdc, VD_OP_GET_DEVID, (caddr_t)vd_devid,
8557 kmem_free(vd_devid, bufsize);
8561 if (vd_devid->length > bufid_len) {
8566 kmem_free(vd_devid, bufsize);
8567 bufsize = P2ROUNDUP(VD_DEVID_SIZE(vd_devid->length),
8569 vd_devid = kmem_zalloc(bufsize, KM_SLEEP);
8572 rv = vdc_do_sync_op(vdc, VD_OP_GET_DEVID, (caddr_t)vd_devid,
8576 kmem_free(vd_devid, bufsiz
[all...]
H A Dvds.c3713 vd_devid_t *vd_devid; local
3762 vd_devid = kmem_zalloc(bufbytes, KM_SLEEP);
3763 vd_devid->length = devid_len;
3764 vd_devid->type = DEVID_GETTYPE(devid);
3768 bcopy(devid->did_id, vd_devid->id, len);
3775 if ((status = ldc_mem_copy(vd->ldc_handle, (caddr_t)vd_devid, 0,
3783 kmem_free(vd_devid, bufbytes);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvdsk_common.h287 typedef struct vd_devid { struct

Completed in 99 milliseconds