Lines Matching refs:tmfio
639 efct_lio_null_tmf_done(struct efct_io *tmfio, in efct_lio_null_tmf_done() argument
643 efct_lio_tmfio_printf(tmfio, "cmd=%p status=%d, flags=0x%x\n", in efct_lio_null_tmf_done()
644 &tmfio->tgt_io.cmd, scsi_status, flags); in efct_lio_null_tmf_done()
647 efct_scsi_io_complete(tmfio); in efct_lio_null_tmf_done()
690 struct efct_io *tmfio = container_of(ocp, struct efct_io, tgt_io); in efct_lio_queue_tm_rsp() local
694 efct_lio_tmfio_printf(tmfio, "cmd=%p function=0x%x tmr->response=%d\n", in efct_lio_queue_tm_rsp()
711 efct_scsi_send_tmf_resp(tmfio, rspcode, NULL, efct_lio_tmf_done, NULL); in efct_lio_queue_tm_rsp()
1397 efct_scsi_recv_tmf(struct efct_io *tmfio, u32 lun, enum efct_scsi_tmf_cmd cmd, in efct_scsi_recv_tmf() argument
1401 struct efct *efct = tmfio->efct; in efct_scsi_recv_tmf()
1402 struct efct_scsi_tgt_io *ocp = &tmfio->tgt_io; in efct_scsi_recv_tmf()
1408 efct_set_lio_io_state(tmfio, EFCT_LIO_STATE_SCSI_RECV_TMF); in efct_scsi_recv_tmf()
1410 efct_lio_tmfio_printf(tmfio, "%s: new tmf %x lun=%u\n", in efct_scsi_recv_tmf()
1411 tmfio->display_name, cmd, lun); in efct_scsi_recv_tmf()
1438 tmfio->tgt_io.tmf = tmr_func; in efct_scsi_recv_tmf()
1439 tmfio->tgt_io.lun = lun; in efct_scsi_recv_tmf()
1440 tmfio->tgt_io.io_to_abort = io_to_abort; in efct_scsi_recv_tmf()
1442 tgt_node = tmfio->node; in efct_scsi_recv_tmf()
1449 GFP_ATOMIC, tmfio->init_task_tag, TARGET_SCF_ACK_KREF); in efct_scsi_recv_tmf()
1451 efct_set_lio_io_state(tmfio, EFCT_LIO_STATE_TGT_SUBMIT_TMR); in efct_scsi_recv_tmf()
1458 efct_scsi_send_tmf_resp(tmfio, EFCT_SCSI_TMF_FUNCTION_REJECTED, in efct_scsi_recv_tmf()