Lines Matching refs:DO_UPCAST

131     SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req);  in scsi_free_request()
147 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_init_iovec()
159 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_save_request()
177 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_save_request()
186 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_load_request()
209 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_load_request()
226 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_handle_rw_error()
330 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_aio_complete()
378 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_write_do_fua()
418 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_dma_complete()
434 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_read_complete_noio()
459 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_read_complete()
477 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_do_read()
511 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_do_read_cb()
527 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_read_data()
528 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_read_data()
567 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_write_complete_noio()
599 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_write_complete()
615 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_write_data()
616 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_write_data()
670 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_get_buf()
677 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_vpd_page()
832 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_inquiry()
1348 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_disk_emulate_mode_sense()
1461 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_read_toc()
1495 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_start_stop()
1524 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_emulate_read_data()
1597 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in mode_select_pages()
1656 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_disk_emulate_mode_select()
1765 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_unmap_complete_noio()
1806 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_unmap_complete()
1822 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_disk_emulate_unmap()
1883 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_write_same_complete()
1922 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_write_same()
1984 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_emulate_write_data()
2029 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_emulate_command()
2030 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_command()
2314 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_dma_command()
2315 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_dma_command()
2401 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev.qdev, dev); in scsi_disk_reset()
2505 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, dev); in scsi_disk_unit_attention_reported()
2514 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, dev); in scsi_realize()
2615 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, dev); in scsi_hd_realize()
2635 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, dev); in scsi_cd_realize()
2737 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, d); in scsi_new_request()
2782 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, dev); in scsi_block_realize()
2881 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_block_do_sgio()
3034 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_block_dma_command()
3088 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, d); in scsi_block_new_request()
3103 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, d); in scsi_block_parse_cdb()
3114 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_block_update_sense()
3115 SCSIBlockReq *br = DO_UPCAST(SCSIBlockReq, req, r); in scsi_block_update_sense()
3126 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_dma_readv()
3136 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_dma_writev()