Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/message/fusion/
Dmptscsih.c109 static void mptscsih_synchronize_cache(MPT_SCSI_HOST *hd, VirtDevice *vdevice);
593 VirtDevice *vdevice; in mptscsih_io_done() local
631 VirtDevice *vdevice = sc->device->hostdata; in mptscsih_io_done() local
633 if (!vdevice || !vdevice->vtarget || in mptscsih_io_done()
634 vdevice->vtarget->deleted) { in mptscsih_io_done()
727 vdevice = sc->device->hostdata; in mptscsih_io_done()
728 if (!vdevice) in mptscsih_io_done()
730 vtarget = vdevice->vtarget; in mptscsih_io_done()
747 VirtDevice *vdevice = in mptscsih_io_done() local
754 if (vdevice && vdevice-> in mptscsih_io_done()
[all …]
Dmptsas.c996 VirtDevice *vdevice; in mptsas_find_vtarget() local
1000 vdevice = sdev->hostdata; in mptsas_find_vtarget()
1001 if ((vdevice == NULL) || in mptsas_find_vtarget()
1002 (vdevice->vtarget == NULL)) in mptsas_find_vtarget()
1004 if ((vdevice->vtarget->tflags & in mptsas_find_vtarget()
1006 vdevice->vtarget->raidVolume)) in mptsas_find_vtarget()
1008 if (vdevice->vtarget->id == id && in mptsas_find_vtarget()
1009 vdevice->vtarget->channel == channel) in mptsas_find_vtarget()
1010 vtarget = vdevice->vtarget; in mptsas_find_vtarget()
1718 VirtDevice *vdevice = sdev->hostdata; in mptsas_slave_configure() local
[all …]
Dmptspi.c720 VirtDevice *vdevice; in mptspi_slave_alloc() local
728 vdevice = kzalloc(sizeof(VirtDevice), GFP_KERNEL); in mptspi_slave_alloc()
729 if (!vdevice) { in mptspi_slave_alloc()
735 vdevice->lun = sdev->lun; in mptspi_slave_alloc()
736 sdev->hostdata = vdevice; in mptspi_slave_alloc()
740 vdevice->vtarget = vtarget; in mptspi_slave_alloc()
780 VirtDevice *vdevice = SCpnt->device->hostdata; in mptspi_qcmd() local
783 if (!vdevice || !vdevice->vtarget) { in mptspi_qcmd()
806 VirtDevice *vdevice = sdev->hostdata; in mptspi_slave_destroy() local
809 if (vtarget->num_luns == 1 && vdevice->configured_lun) { in mptspi_slave_destroy()
Dmptfc.c601 VirtDevice *vdevice; in mptfc_slave_alloc() local
615 vdevice = kzalloc(sizeof(VirtDevice), GFP_KERNEL); in mptfc_slave_alloc()
616 if (!vdevice) { in mptfc_slave_alloc()
623 sdev->hostdata = vdevice; in mptfc_slave_alloc()
631 vdevice->vtarget = vtarget; in mptfc_slave_alloc()
632 vdevice->lun = sdev->lun; in mptfc_slave_alloc()
648 VirtDevice *vdevice = SCpnt->device->hostdata; in mptfc_qcmd() local
650 if (!vdevice || !vdevice->vtarget) { in mptfc_qcmd()
Dmptctl.c1234 VirtDevice *vdevice; in mptctl_getiocinfo() local
1314 vdevice = sdev->hostdata; in mptctl_getiocinfo()
1315 if (vdevice == NULL || vdevice->vtarget == NULL) in mptctl_getiocinfo()
1317 if (vdevice->vtarget->tflags & in mptctl_getiocinfo()
1367 VirtDevice *vdevice; in mptctl_gettargetinfo() local
1422 vdevice = sdev->hostdata; in mptctl_gettargetinfo()
1423 if (vdevice == NULL || vdevice->vtarget == NULL) in mptctl_gettargetinfo()
1425 if (vdevice->vtarget->tflags & in mptctl_gettargetinfo()
1428 lun = (vdevice->vtarget->raidVolume) ? 0x80 : vdevice->lun; in mptctl_gettargetinfo()
1429 *pdata = (((u8)lun << 16) + (vdevice->vtarget->channel << 8) + in mptctl_gettargetinfo()
[all …]
/linux-6.1.9/drivers/block/
Dxen-blkfront.c206 int vdevice; member
1000 static int xen_translate_vdev(int vdevice, int *minor, unsigned int *offset) in xen_translate_vdev() argument
1003 major = BLKIF_MAJOR(vdevice); in xen_translate_vdev()
1004 *minor = BLKIF_MINOR(vdevice); in xen_translate_vdev()
1083 if ((info->vdevice>>EXT_SHIFT) > 1) { in xlvbd_alloc_gendisk()
1085 …intk(KERN_WARNING "blkfront: vdevice 0x%x is above the extended range; ignoring\n", info->vdevice); in xlvbd_alloc_gendisk()
1089 if (!VDEV_IS_EXTENDED(info->vdevice)) { in xlvbd_alloc_gendisk()
1090 err = xen_translate_vdev(info->vdevice, &minor, &offset); in xlvbd_alloc_gendisk()
1095 minor = BLKIF_MINOR_EXT(info->vdevice); in xlvbd_alloc_gendisk()
1101 "from xvde on\n", info->vdevice); in xlvbd_alloc_gendisk()
[all …]
/linux-6.1.9/arch/um/drivers/
Dvector_kern.c1209 struct vector_device *vdevice; in vector_net_open() local
1312 vdevice = find_device(vp->unit); in vector_net_open()
1313 vdevice->opened = 1; in vector_net_open()
1382 struct vector_device *vdevice; in vector_net_load_bpf_flash() local
1406 vdevice = find_device(vp->unit); in vector_net_load_bpf_flash()
1408 if (request_firmware(&fw, efl->data, &vdevice->pdev.dev)) in vector_net_load_bpf_flash()
/linux-6.1.9/Documentation/powerpc/
Dhvcs.rst368 /vdevice/vty-server@30000004