Home
last modified time | relevance | path

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

/linux/drivers/message/fusion/
H A Dmptsas.c995 VirtDevice *vdevice; in mptsas_find_vtarget() local
999 vdevice = sdev->hostdata; in mptsas_find_vtarget()
1000 if ((vdevice == NULL) || in mptsas_find_vtarget()
1001 (vdevice->vtarget == NULL)) in mptsas_find_vtarget()
1003 if ((vdevice->vtarget->tflags & in mptsas_find_vtarget()
1005 vdevice->vtarget->raidVolume)) in mptsas_find_vtarget()
1007 if (vdevice->vtarget->id == id && in mptsas_find_vtarget()
1008 vdevice->vtarget->channel == channel) in mptsas_find_vtarget()
1009 vtarget = vdevice->vtarget; in mptsas_find_vtarget()
1717 VirtDevice *vdevice = sdev->hostdata; in mptsas_sdev_configure() local
[all …]
H A Dmptspi.c720 VirtDevice *vdevice; in mptspi_sdev_init() local
728 vdevice = kzalloc_obj(VirtDevice); in mptspi_sdev_init()
729 if (!vdevice) { in mptspi_sdev_init()
735 vdevice->lun = sdev->lun; in mptspi_sdev_init()
736 sdev->hostdata = vdevice; in mptspi_sdev_init()
740 vdevice->vtarget = vtarget; in mptspi_sdev_init()
781 VirtDevice *vdevice = SCpnt->device->hostdata; in mptspi_qcmd() local
784 if (!vdevice || !vdevice->vtarget) { in mptspi_qcmd()
807 VirtDevice *vdevice = sdev->hostdata; in mptspi_sdev_destroy() local
810 if (vtarget->num_luns == 1 && vdevice->configured_lun) { in mptspi_sdev_destroy()
H A 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 …]
H A Dmptfc.c639 VirtDevice *vdevice; in mptfc_sdev_init() local
653 vdevice = kzalloc_obj(VirtDevice); in mptfc_sdev_init()
654 if (!vdevice) { in mptfc_sdev_init()
661 sdev->hostdata = vdevice; in mptfc_sdev_init()
669 vdevice->vtarget = vtarget; in mptfc_sdev_init()
670 vdevice->lun = sdev->lun; in mptfc_sdev_init()
686 VirtDevice *vdevice = SCpnt->device->hostdata; in mptfc_qcmd() local
688 if (!vdevice || !vdevice->vtarget) { in mptfc_qcmd()
/linux/drivers/block/
H A Dxen-blkfront.c206 int vdevice; member
1004 static int xen_translate_vdev(int vdevice, int *minor, unsigned int *offset) in xen_translate_vdev() argument
1007 major = BLKIF_MAJOR(vdevice); in xen_translate_vdev()
1008 *minor = BLKIF_MINOR(vdevice); in xen_translate_vdev()
1087 if ((info->vdevice>>EXT_SHIFT) > 1) { in xlvbd_alloc_gendisk()
1089 …intk(KERN_WARNING "blkfront: vdevice 0x%x is above the extended range; ignoring\n", info->vdevice); in xlvbd_alloc_gendisk()
1093 if (!VDEV_IS_EXTENDED(info->vdevice)) { in xlvbd_alloc_gendisk()
1094 err = xen_translate_vdev(info->vdevice, &minor, &offset); in xlvbd_alloc_gendisk()
1099 minor = BLKIF_MINOR_EXT(info->vdevice); in xlvbd_alloc_gendisk()
1105 "from xvde on\n", info->vdevice); in xlvbd_alloc_gendisk()
[all …]
/linux/arch/um/drivers/
H A Dvector_kern.c1198 struct vector_device *vdevice; in vector_net_open() local
1297 vdevice = find_device(vp->unit); in vector_net_open()
1298 vdevice->opened = 1; in vector_net_open()
1367 struct vector_device *vdevice; in vector_net_load_bpf_flash() local
1389 vdevice = find_device(vp->unit); in vector_net_load_bpf_flash()
1391 if (request_firmware(&fw, efl->data, &vdevice->pdev.dev)) in vector_net_load_bpf_flash()
/linux/Documentation/arch/powerpc/
H A Dhvcs.rst368 /vdevice/vty-server@30000004