Lines Matching refs:srp
794 unmap_cmd_data(&evt->iu.srp.cmd, evt, in purge_requests()
799 evt->iu.srp.login_req.opcode != SRP_LOGIN_REQ) in purge_requests()
833 evt_struct->iu.srp.cmd.opcode); in ibmvscsi_timeout()
881 evt_struct->iu.srp.login_req.opcode != SRP_LOGIN_REQ) in ibmvscsi_send_srp_event()
888 evt_struct->iu.srp.cmd.opcode != SRP_TSK_MGMT) { in ibmvscsi_send_srp_event()
910 evt_struct->xfer_iu->srp.rsp.tag = (u64)evt_struct; in ibmvscsi_send_srp_event()
949 unmap_cmd_data(&evt_struct->iu.srp.cmd, evt_struct, hostdata->dev); in ibmvscsi_send_srp_event()
957 unmap_cmd_data(&evt_struct->iu.srp.cmd, evt_struct, hostdata->dev); in ibmvscsi_send_srp_event()
978 struct srp_rsp *rsp = &evt_struct->xfer_iu->srp.rsp; in handle_cmd_rsp()
993 unmap_cmd_data(&evt_struct->iu.srp.cmd, in handle_cmd_rsp()
1039 srp_cmd = &evt_struct->iu.srp.cmd; in ibmvscsi_queuecommand_lck()
1140 switch (evt_struct->xfer_iu->srp.login_rsp.opcode) { in login_rsp()
1145 evt_struct->xfer_iu->srp.login_rej.reason); in login_rsp()
1151 evt_struct->xfer_iu->srp.login_rsp.opcode); in login_rsp()
1165 be32_to_cpu(evt_struct->xfer_iu->srp.login_rsp.req_lim_delta)); in login_rsp()
1189 login = &evt_struct->iu.srp.login_req; in send_srp_login()
1513 tsk_mgmt = &evt->iu.srp.tsk_mgmt; in ibmvscsi_eh_abort_handler()
1550 if (unlikely(srp_rsp.srp.rsp.opcode != SRP_RSP)) { in ibmvscsi_eh_abort_handler()
1553 srp_rsp.srp.rsp.opcode); in ibmvscsi_eh_abort_handler()
1557 if (srp_rsp.srp.rsp.flags & SRP_RSP_FLAG_RSPVALID) in ibmvscsi_eh_abort_handler()
1558 rsp_rc = *((int *)srp_rsp.srp.rsp.data); in ibmvscsi_eh_abort_handler()
1560 rsp_rc = srp_rsp.srp.rsp.status; in ibmvscsi_eh_abort_handler()
1595 unmap_cmd_data(&found_evt->iu.srp.cmd, found_evt, in ibmvscsi_eh_abort_handler()
1636 tsk_mgmt = &evt->iu.srp.tsk_mgmt; in ibmvscsi_eh_device_reset_handler()
1671 if (unlikely(srp_rsp.srp.rsp.opcode != SRP_RSP)) { in ibmvscsi_eh_device_reset_handler()
1674 srp_rsp.srp.rsp.opcode); in ibmvscsi_eh_device_reset_handler()
1678 if (srp_rsp.srp.rsp.flags & SRP_RSP_FLAG_RSPVALID) in ibmvscsi_eh_device_reset_handler()
1679 rsp_rc = *((int *)srp_rsp.srp.rsp.data); in ibmvscsi_eh_device_reset_handler()
1681 rsp_rc = srp_rsp.srp.rsp.status; in ibmvscsi_eh_device_reset_handler()
1700 unmap_cmd_data(&tmp_evt->iu.srp.cmd, tmp_evt, in ibmvscsi_eh_device_reset_handler()
1821 atomic_add(be32_to_cpu(evt_struct->xfer_iu->srp.rsp.req_lim_delta), in ibmvscsi_handle_crq()