Home
last modified time | relevance | path

Searched refs:vdevice (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/message/fusion/
Dmptscsih.c109 static void mptscsih_synchronize_cache(MPT_SCSI_HOST *hd, VirtDevice *vdevice);
595 VirtDevice *vdevice; in mptscsih_io_done() local
633 VirtDevice *vdevice = sc->device->hostdata; in mptscsih_io_done() local
635 if (!vdevice || !vdevice->vtarget || in mptscsih_io_done()
636 vdevice->vtarget->deleted) { in mptscsih_io_done()
729 vdevice = sc->device->hostdata; in mptscsih_io_done()
730 if (!vdevice) in mptscsih_io_done()
732 vtarget = vdevice->vtarget; in mptscsih_io_done()
749 VirtDevice *vdevice = in mptscsih_io_done() local
756 if (vdevice && vdevice-> in mptscsih_io_done()
[all …]
Dmptsas.c969 VirtDevice *vdevice; in mptsas_find_vtarget() local
973 vdevice = sdev->hostdata; in mptsas_find_vtarget()
974 if ((vdevice == NULL) || in mptsas_find_vtarget()
975 (vdevice->vtarget == NULL)) in mptsas_find_vtarget()
977 if ((vdevice->vtarget->tflags & in mptsas_find_vtarget()
979 vdevice->vtarget->raidVolume)) in mptsas_find_vtarget()
981 if (vdevice->vtarget->id == id && in mptsas_find_vtarget()
982 vdevice->vtarget->channel == channel) in mptsas_find_vtarget()
983 vtarget = vdevice->vtarget; in mptsas_find_vtarget()
1690 VirtDevice *vdevice = sdev->hostdata; in mptsas_slave_configure() local
[all …]
Dmptspi.c725 VirtDevice *vdevice; in mptspi_slave_alloc() local
733 vdevice = kzalloc(sizeof(VirtDevice), GFP_KERNEL); in mptspi_slave_alloc()
734 if (!vdevice) { in mptspi_slave_alloc()
740 vdevice->lun = sdev->lun; in mptspi_slave_alloc()
741 sdev->hostdata = vdevice; in mptspi_slave_alloc()
745 vdevice->vtarget = vtarget; in mptspi_slave_alloc()
785 VirtDevice *vdevice = SCpnt->device->hostdata; in mptspi_qcmd() local
788 if (!vdevice || !vdevice->vtarget) { in mptspi_qcmd()
811 VirtDevice *vdevice = sdev->hostdata; in mptspi_slave_destroy() local
814 if (vtarget->num_luns == 1 && vdevice->configured_lun) { in mptspi_slave_destroy()
Dmptfc.c602 VirtDevice *vdevice; in mptfc_slave_alloc() local
616 vdevice = kzalloc(sizeof(VirtDevice), GFP_KERNEL); in mptfc_slave_alloc()
617 if (!vdevice) { in mptfc_slave_alloc()
624 sdev->hostdata = vdevice; in mptfc_slave_alloc()
632 vdevice->vtarget = vtarget; in mptfc_slave_alloc()
633 vdevice->lun = sdev->lun; in mptfc_slave_alloc()
649 VirtDevice *vdevice = SCpnt->device->hostdata; in mptfc_qcmd() local
651 if (!vdevice || !vdevice->vtarget) { in mptfc_qcmd()
Dmptctl.c1251 VirtDevice *vdevice; in mptctl_getiocinfo() local
1339 vdevice = sdev->hostdata; in mptctl_getiocinfo()
1340 if (vdevice == NULL || vdevice->vtarget == NULL) in mptctl_getiocinfo()
1342 if (vdevice->vtarget->tflags & in mptctl_getiocinfo()
1393 VirtDevice *vdevice; in mptctl_gettargetinfo() local
1462 vdevice = sdev->hostdata; in mptctl_gettargetinfo()
1463 if (vdevice == NULL || vdevice->vtarget == NULL) in mptctl_gettargetinfo()
1465 if (vdevice->vtarget->tflags & in mptctl_gettargetinfo()
1468 lun = (vdevice->vtarget->raidVolume) ? 0x80 : vdevice->lun; in mptctl_gettargetinfo()
1469 *pdata = (((u8)lun << 16) + (vdevice->vtarget->channel << 8) + in mptctl_gettargetinfo()
[all …]
/Linux-v4.19/drivers/block/
Dxen-blkfront.c200 int vdevice; member
1023 static int xen_translate_vdev(int vdevice, int *minor, unsigned int *offset) in xen_translate_vdev() argument
1026 major = BLKIF_MAJOR(vdevice); in xen_translate_vdev()
1027 *minor = BLKIF_MINOR(vdevice); in xen_translate_vdev()
1107 if ((info->vdevice>>EXT_SHIFT) > 1) { in xlvbd_alloc_gendisk()
1109 …intk(KERN_WARNING "blkfront: vdevice 0x%x is above the extended range; ignoring\n", info->vdevice); in xlvbd_alloc_gendisk()
1113 if (!VDEV_IS_EXTENDED(info->vdevice)) { in xlvbd_alloc_gendisk()
1114 err = xen_translate_vdev(info->vdevice, &minor, &offset); in xlvbd_alloc_gendisk()
1119 minor = BLKIF_MINOR_EXT(info->vdevice); in xlvbd_alloc_gendisk()
1125 "from xvde on\n", info->vdevice); in xlvbd_alloc_gendisk()
[all …]
/Linux-v4.19/arch/um/drivers/
Dvector_kern.c1165 struct vector_device *vdevice; in vector_net_open() local
1259 vdevice = find_device(vp->unit); in vector_net_open()
1260 vdevice->opened = 1; in vector_net_open()
/Linux-v4.19/Documentation/powerpc/
Dhvcs.txt365 /vdevice/vty-server@30000004