Lines Matching refs:vdevice
726 VirtDevice *vdevice;
734 vdevice = kzalloc(sizeof(VirtDevice), GFP_KERNEL);
735 if (!vdevice) {
741 vdevice->lun = sdev->lun;
742 sdev->hostdata = vdevice;
746 vdevice->vtarget = vtarget;
786 VirtDevice *vdevice = SCpnt->device->hostdata;
789 if (!vdevice || !vdevice->vtarget) {
812 VirtDevice *vdevice = sdev->hostdata;
815 if (vtarget->num_luns == 1 && vdevice->configured_lun) {