Lines Matching refs:vdevice
720 VirtDevice *vdevice;
728 vdevice = kzalloc(sizeof(VirtDevice), GFP_KERNEL);
729 if (!vdevice) {
735 vdevice->lun = sdev->lun;
736 sdev->hostdata = vdevice;
740 vdevice->vtarget = vtarget;
780 VirtDevice *vdevice = SCpnt->device->hostdata;
783 if (!vdevice || !vdevice->vtarget) {
806 VirtDevice *vdevice = sdev->hostdata;
809 if (vtarget->num_luns == 1 && vdevice->configured_lun) {