Lines Matching refs:tmfio

653 efct_lio_null_tmf_done(struct efct_io *tmfio,  in efct_lio_null_tmf_done()  argument
657 efct_lio_tmfio_printf(tmfio, "cmd=%p status=%d, flags=0x%x\n", in efct_lio_null_tmf_done()
658 &tmfio->tgt_io.cmd, scsi_status, flags); in efct_lio_null_tmf_done()
661 efct_scsi_io_complete(tmfio); in efct_lio_null_tmf_done()
704 struct efct_io *tmfio = container_of(ocp, struct efct_io, tgt_io); in efct_lio_queue_tm_rsp() local
708 efct_lio_tmfio_printf(tmfio, "cmd=%p function=0x%x tmr->response=%d\n", in efct_lio_queue_tm_rsp()
725 efct_scsi_send_tmf_resp(tmfio, rspcode, NULL, efct_lio_tmf_done, NULL); in efct_lio_queue_tm_rsp()
1411 efct_scsi_recv_tmf(struct efct_io *tmfio, u32 lun, enum efct_scsi_tmf_cmd cmd, in efct_scsi_recv_tmf() argument
1415 struct efct *efct = tmfio->efct; in efct_scsi_recv_tmf()
1416 struct efct_scsi_tgt_io *ocp = &tmfio->tgt_io; in efct_scsi_recv_tmf()
1422 efct_set_lio_io_state(tmfio, EFCT_LIO_STATE_SCSI_RECV_TMF); in efct_scsi_recv_tmf()
1424 efct_lio_tmfio_printf(tmfio, "%s: new tmf %x lun=%u\n", in efct_scsi_recv_tmf()
1425 tmfio->display_name, cmd, lun); in efct_scsi_recv_tmf()
1452 tmfio->tgt_io.tmf = tmr_func; in efct_scsi_recv_tmf()
1453 tmfio->tgt_io.lun = lun; in efct_scsi_recv_tmf()
1454 tmfio->tgt_io.io_to_abort = io_to_abort; in efct_scsi_recv_tmf()
1456 tgt_node = tmfio->node; in efct_scsi_recv_tmf()
1463 GFP_ATOMIC, tmfio->init_task_tag, TARGET_SCF_ACK_KREF); in efct_scsi_recv_tmf()
1465 efct_set_lio_io_state(tmfio, EFCT_LIO_STATE_TGT_SUBMIT_TMR); in efct_scsi_recv_tmf()
1472 efct_scsi_send_tmf_resp(tmfio, EFCT_SCSI_TMF_FUNCTION_REJECTED, in efct_scsi_recv_tmf()