Lines Matching defs:r
129 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_free_request() local
135 static void scsi_check_condition(SCSIDiskReq *r, SCSISense sense) in scsi_check_condition()
143 static void scsi_init_iovec(SCSIDiskReq *r, size_t size) in scsi_init_iovec()
157 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_save_request() local
184 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_load_request() local
221 static bool scsi_handle_rw_error(SCSIDiskReq *r, int ret, bool acct_failed) in scsi_handle_rw_error()
311 static bool scsi_disk_req_check_error(SCSIDiskReq *r, int ret, bool acct_failed) in scsi_disk_req_check_error()
327 SCSIDiskReq *r = (SCSIDiskReq *)opaque; in scsi_aio_complete() local
374 static void scsi_write_do_fua(SCSIDiskReq *r) in scsi_write_do_fua()
392 static void scsi_dma_complete_noio(SCSIDiskReq *r, int ret) in scsi_dma_complete_noio()
415 SCSIDiskReq *r = (SCSIDiskReq *)opaque; in scsi_dma_complete() local
430 static void scsi_read_complete_noio(SCSIDiskReq *r, int ret) in scsi_read_complete_noio()
456 SCSIDiskReq *r = (SCSIDiskReq *)opaque; in scsi_read_complete() local
473 static void scsi_do_read(SCSIDiskReq *r, int ret) in scsi_do_read()
508 SCSIDiskReq *r = (SCSIDiskReq *)opaque; in scsi_do_read_cb() local
525 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_read_data() local
563 static void scsi_write_complete_noio(SCSIDiskReq *r, int ret) in scsi_write_complete_noio()
596 SCSIDiskReq *r = (SCSIDiskReq *)opaque; in scsi_write_complete() local
613 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_write_data() local
668 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_get_buf() local
905 static int scsi_read_disc_information(SCSIDiskState *s, SCSIDiskReq *r, in scsi_read_disc_information()
938 static int scsi_read_dvd_structure(SCSIDiskState *s, SCSIDiskReq *r, in scsi_read_dvd_structure()
1064 static int scsi_get_event_status_notification(SCSIDiskState *s, SCSIDiskReq *r, in scsi_get_event_status_notification()
1344 static int scsi_disk_emulate_mode_sense(SCSIDiskReq *r, uint8_t *outbuf) in scsi_disk_emulate_mode_sense()
1490 static int scsi_disk_emulate_start_stop(SCSIDiskReq *r) in scsi_disk_emulate_start_stop()
1522 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_emulate_read_data() local
1593 static int mode_select_pages(SCSIDiskReq *r, uint8_t *p, int len, bool change) in mode_select_pages()
1652 static void scsi_disk_emulate_mode_select(SCSIDiskReq *r, uint8_t *inbuf) in scsi_disk_emulate_mode_select()
1753 SCSIDiskReq *r; member
1762 SCSIDiskReq *r = data->r; in scsi_unmap_complete_noio() local
1803 SCSIDiskReq *r = data->r; in scsi_unmap_complete() local
1818 static void scsi_disk_emulate_unmap(SCSIDiskReq *r, uint8_t *inbuf) in scsi_disk_emulate_unmap()
1870 SCSIDiskReq *r; member
1880 SCSIDiskReq *r = data->r; in scsi_write_same_complete() local
1917 static void scsi_disk_emulate_write_same(SCSIDiskReq *r, uint8_t *inbuf) in scsi_disk_emulate_write_same()
1982 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_emulate_write_data() local
2027 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_emulate_command() local
2312 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_dma_command() local
2851 SCSIDiskReq *r = &req->req; in scsi_block_sgio_complete() local
2878 SCSIDiskReq *r = &req->req; in scsi_block_do_sgio() local
2969 SCSIBlockReq *r = opaque; in scsi_block_dma_readv() local
2979 SCSIBlockReq *r = opaque; in scsi_block_dma_writev() local
3031 SCSIBlockReq *r = (SCSIBlockReq *)req; in scsi_block_dma_command() local
3112 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_block_update_sense() local
3123 SCSIDiskReq *r = opaque; in scsi_dma_readv() local
3133 SCSIDiskReq *r = opaque; in scsi_dma_writev() local