Lines Matching refs:srp
2107 struct srp_login_rsp *rsp = &vio_iu(iue)->srp.login_rsp; in ibmvscsis_login_rsp()
2167 struct srp_login_rej *rej = &vio_iu(iue)->srp.login_rej; in ibmvscsis_srp_login_rej()
2282 struct srp_login_req *req = &vio_iu(iue)->srp.login_req; in ibmvscsis_srp_login()
2356 struct srp_i_logout *log_out = &vio_iu(iue)->srp.i_logout; in ibmvscsis_srp_i_logout()
2381 struct srp_cmd *srp; in ibmvscsis_srp_cmd() local
2401 srp = &vio_iu(iue)->srp.cmd; in ibmvscsis_srp_cmd()
2410 switch (srp->opcode) { in ibmvscsis_srp_cmd()
2416 tsk = &vio_iu(iue)->srp.tsk_mgmt; in ibmvscsis_srp_cmd()
2428 srp->tag, srp->tag); in ibmvscsis_srp_cmd()
2429 cmd->rsp.tag = srp->tag; in ibmvscsis_srp_cmd()
2449 (uint)srp->opcode); in ibmvscsis_srp_cmd()
2454 } else if (srp->opcode == SRP_LOGIN_REQ && vscsi->state == CONNECTED) { in ibmvscsis_srp_cmd()
2672 struct srp_cmd *srp = (struct srp_cmd *)iue->sbuf->buf; in ibmvscsis_parse_cmd() local
2688 if (srp->add_cdb_len & 0x03) { in ibmvscsis_parse_cmd()
2697 if (srp_get_desc_table(srp, &dir, &data_len)) { in ibmvscsis_parse_cmd()
2699 srp->tag); in ibmvscsis_parse_cmd()
2703 cmd->rsp.sol_not = srp->sol_not; in ibmvscsis_parse_cmd()
2705 switch (srp->task_attr) { in ibmvscsis_parse_cmd()
2720 srp->task_attr); in ibmvscsis_parse_cmd()
2724 cmd->se_cmd.tag = be64_to_cpu(srp->tag); in ibmvscsis_parse_cmd()
2730 srp->lun.scsi_lun[0] &= 0x3f; in ibmvscsis_parse_cmd()
2732 rc = target_submit_cmd(&cmd->se_cmd, nexus->se_sess, srp->cdb, in ibmvscsis_parse_cmd()
2733 cmd->sense_buf, scsilun_to_int(&srp->lun), in ibmvscsis_parse_cmd()
2767 struct srp_tsk_mgmt *srp_tsk = &vio_iu(iue)->srp.tsk_mgmt; in ibmvscsis_parse_task()
3063 struct srp_cmd *srp = (struct srp_cmd *)iue->sbuf->buf; in ibmvscsis_fast_fail() local
3067 if (vscsi->fast_fail && (READ_CMD(srp->cdb) || WRITE_CMD(srp->cdb))) in ibmvscsis_fast_fail()
3103 rsp = &vio_iu(iue)->srp.rsp; in srp_build_response()
3771 rc = srp_transfer_data(cmd, &vio_iu(iue)->srp.cmd, ibmvscsis_rdma, in ibmvscsis_write_pending()
3804 rc = srp_transfer_data(cmd, &vio_iu(iue)->srp.cmd, ibmvscsis_rdma, 1, in ibmvscsis_queue_data_in()
3846 struct srp_tsk_mgmt *srp_tsk = &vio_iu(iue)->srp.tsk_mgmt; in ibmvscsis_queue_tm_rsp()