Lines Matching refs:tgt_io
292 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); in efct_lio_check_stop_free()
312 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); in efct_lio_aborted_task()
330 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); in efct_lio_release_cmd()
357 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); in efct_lio_get_cmd_state()
359 return io->tgt_io.state; in efct_lio_get_cmd_state()
365 struct efct_scsi_tgt_io *ocp = &io->tgt_io; in efct_lio_sg_map()
378 struct efct_scsi_tgt_io *ocp = &io->tgt_io; in efct_lio_sg_unmap()
394 struct efct_scsi_tgt_io *ocp = &io->tgt_io; in efct_lio_status_done()
409 transport_generic_free_cmd(&io->tgt_io.cmd, 0); in efct_lio_status_done()
422 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); in efct_lio_write_pending()
467 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); in efct_lio_queue_data_in()
535 struct efct_scsi_tgt_io *ocp = &io->tgt_io; in efct_lio_send_resp()
536 struct se_cmd *cmd = &io->tgt_io.cmd; in efct_lio_send_resp()
542 transport_generic_free_cmd(&io->tgt_io.cmd, 0); in efct_lio_send_resp()
549 rsp.sense_data = (uint8_t *)io->tgt_io.sense_buffer; in efct_lio_send_resp()
563 transport_generic_free_cmd(&io->tgt_io.cmd, 0); in efct_lio_send_resp()
573 struct efct_scsi_tgt_io *ocp = &io->tgt_io; in efct_lio_datamove_done()
602 if (io->tgt_io.aborting) { in efct_lio_datamove_done()
609 io->tgt_io.cmd.transport_state); in efct_lio_datamove_done()
611 transport_generic_request_failure(&io->tgt_io.cmd, in efct_lio_datamove_done()
618 target_execute_cmd(&io->tgt_io.cmd); in efct_lio_datamove_done()
631 &io->tgt_io.cmd, scsi_status, flags); in efct_lio_tmf_done()
634 transport_generic_free_cmd(&io->tgt_io.cmd, 0); in efct_lio_tmf_done()
644 &tmfio->tgt_io.cmd, scsi_status, flags); in efct_lio_null_tmf_done()
657 struct efct_io *io = container_of(ocp, struct efct_io, tgt_io); in efct_lio_queue_status()
668 rsp.sense_data = (u8 *)io->tgt_io.sense_buffer; in efct_lio_queue_status()
690 struct efct_io *tmfio = container_of(ocp, struct efct_io, tgt_io); in efct_lio_queue_tm_rsp()
1324 struct efct_scsi_tgt_io *ocp = &io->tgt_io; in efct_scsi_recv_cmd()
1325 struct se_cmd *se_cmd = &io->tgt_io.cmd; in efct_scsi_recv_cmd()
1381 rc = target_init_cmd(se_cmd, se_sess, &io->tgt_io.sense_buffer[0], in efct_scsi_recv_cmd()
1403 struct efct_scsi_tgt_io *ocp = &tmfio->tgt_io; in efct_scsi_recv_tmf()
1439 tmfio->tgt_io.tmf = tmr_func; in efct_scsi_recv_tmf()
1440 tmfio->tgt_io.lun = lun; in efct_scsi_recv_tmf()
1441 tmfio->tgt_io.io_to_abort = io_to_abort; in efct_scsi_recv_tmf()