Lines Matching refs:SCSIDevice

123     SCSIDevice *s = r->req.dev;  in execute_command()
147 static uint64_t calculate_max_transfer(SCSIDevice *s) in calculate_max_transfer()
159 static int scsi_handle_inquiry_reply(SCSIGenericReq *r, SCSIDevice *s, int len) in scsi_handle_inquiry_reply()
235 static int scsi_generic_emulate_block_limits(SCSIGenericReq *r, SCSIDevice *s) in scsi_generic_emulate_block_limits()
270 SCSIDevice *s = r->req.dev; in scsi_read_complete()
359 SCSIDevice *s = r->req.dev; in scsi_read_data()
381 SCSIDevice *s = r->req.dev; in scsi_write_complete()
407 SCSIDevice *s = r->req.dev; in scsi_write_data()
456 SCSIDevice *s = r->req.dev; in scsi_send_command()
562 static void scsi_generic_set_vpd_bl_emulation(SCSIDevice *s) in scsi_generic_set_vpd_bl_emulation()
598 static void scsi_generic_read_device_identification(SCSIDevice *s) in scsi_generic_read_device_identification()
643 void scsi_generic_read_device_inquiry(SCSIDevice *s) in scsi_generic_read_device_inquiry()
674 SCSIDevice *s = SCSI_DEVICE(dev); in scsi_generic_reset()
680 static void scsi_generic_realize(SCSIDevice *s, Error **errp) in scsi_generic_realize()
769 static SCSIRequest *scsi_new_request(SCSIDevice *d, uint32_t tag, uint32_t lun, in scsi_new_request()
776 DEFINE_PROP_DRIVE("drive", SCSIDevice, conf.blk),
777 DEFINE_PROP_BOOL("share-rw", SCSIDevice, conf.share_rw, false),
778 DEFINE_PROP_UINT32("io_timeout", SCSIDevice, io_timeout,
783 static int scsi_generic_parse_cdb(SCSIDevice *dev, SCSICommand *cmd, in scsi_generic_parse_cdb()
808 .instance_size = sizeof(SCSIDevice),