Lines Matching refs:SCSIDevice
74 static inline SCSIDevice *virtio_scsi_device_get(VirtIOSCSI *s, uint8_t *lun) in virtio_scsi_device_get()
313 static inline void virtio_scsi_ctx_check(VirtIOSCSI *s, SCSIDevice *d) in virtio_scsi_ctx_check()
323 SCSIDevice *d = virtio_scsi_device_get(s, req->req.tmf.lun); in virtio_scsi_do_one_tmf_bh()
348 SCSIDevice *d1 = SCSI_DEVICE(kid->child); in virtio_scsi_do_one_tmf_bh()
435 SCSIDevice *d = virtio_scsi_device_get(s, req->req.tmf.lun); in virtio_scsi_do_tmf()
732 static int virtio_scsi_parse_cdb(SCSIDevice *dev, SCSICommand *cmd, in virtio_scsi_parse_cdb()
782 SCSIDevice *d; in virtio_scsi_handle_cmd_req_prepare()
1033 static void virtio_scsi_change(SCSIBus *bus, SCSIDevice *dev, SCSISense sense) in virtio_scsi_change()
1056 SCSIDevice *sd = SCSI_DEVICE(dev); in virtio_scsi_pre_hotplug()
1065 SCSIDevice *sd = SCSI_DEVICE(dev); in virtio_scsi_hotplug()
1098 SCSIDevice *sd = SCSI_DEVICE(dev); in virtio_scsi_hotunplug()