Lines Matching refs:vd_devid
8533 vd_devid_t *vd_devid;
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, bufsize);
8592 DMSG(vdc, 2, ": devid length = %d\n", vd_devid->length);
8595 if (ddi_devid_init(vdc->dip, DEVID_ENCAP, vd_devid->length,
8596 vd_devid->id, &vdisk_devid) != DDI_SUCCESS) {
8598 kmem_free(vd_devid, bufsize);
8602 DEVID_FORMTYPE((impl_devid_t *)vdisk_devid, vd_devid->type);
8606 kmem_free(vd_devid, bufsize);