Lines Matching refs:iue

936 	struct iu_entry *iue = cmd->iue;  in ibmvscsis_free_cmd_resources()  local
959 cmd->iue = NULL; in ibmvscsis_free_cmd_resources()
961 srp_iu_put(iue); in ibmvscsis_free_cmd_resources()
1285 struct iu_entry *iue; in ibmvscsis_get_free_cmd() local
1287 iue = srp_iu_get(&vscsi->target); in ibmvscsis_get_free_cmd()
1288 if (iue) { in ibmvscsis_get_free_cmd()
1296 cmd->iue = iue; in ibmvscsis_get_free_cmd()
1300 srp_iu_put(iue); in ibmvscsis_get_free_cmd()
1453 struct iu_entry *iue = cmd->iue; in ibmvscsis_copy_crq_packet() local
1466 vscsi->dds.window[LOCAL].liobn, iue->sbuf->dma); in ibmvscsis_copy_crq_packet()
1471 iue->remote_token = crq->IU_data_ptr; in ibmvscsis_copy_crq_packet()
1472 iue->iu_len = len; in ibmvscsis_copy_crq_packet()
1510 struct iu_entry *iue) in ibmvscsis_adapter_info() argument
1512 struct viosrp_adapter_info *mad = &vio_iu(iue)->mad.adapter_info; in ibmvscsis_adapter_info()
1529 iue->target); in ibmvscsis_adapter_info()
1620 static int ibmvscsis_cap_mad(struct scsi_info *vscsi, struct iu_entry *iue) in ibmvscsis_cap_mad() argument
1622 struct viosrp_capabilities *mad = &vio_iu(iue)->mad.capabilities; in ibmvscsis_cap_mad()
1647 iue->target); in ibmvscsis_cap_mad()
1734 static long ibmvscsis_process_mad(struct scsi_info *vscsi, struct iu_entry *iue) in ibmvscsis_process_mad() argument
1736 struct mad_common *mad = (struct mad_common *)&vio_iu(iue)->mad; in ibmvscsis_process_mad()
1742 empty = &vio_iu(iue)->mad.empty_iu; in ibmvscsis_process_mad()
1748 rc = ibmvscsis_adapter_info(vscsi, iue); in ibmvscsis_process_mad()
1751 rc = ibmvscsis_cap_mad(vscsi, iue); in ibmvscsis_process_mad()
1888 struct iu_entry *iue; in ibmvscsis_send_messages() local
1942 iue = cmd->iue; in ibmvscsis_send_messages()
1996 struct iu_entry *iue = cmd->iue; in ibmvscsis_send_mad_resp() local
1997 struct mad_common *mad = (struct mad_common *)&vio_iu(iue)->mad; in ibmvscsis_send_mad_resp()
2003 vscsi->dds.window[LOCAL].liobn, iue->sbuf->dma, in ibmvscsis_send_mad_resp()
2038 struct iu_entry *iue; in ibmvscsis_mad() local
2079 iue = cmd->iue; in ibmvscsis_mad()
2084 mad = (struct mad_common *)&vio_iu(iue)->mad; in ibmvscsis_mad()
2088 rc = ibmvscsis_process_mad(vscsi, iue); in ibmvscsis_mad()
2114 struct iu_entry *iue = cmd->iue; in ibmvscsis_login_rsp() local
2115 struct srp_login_rsp *rsp = &vio_iu(iue)->srp.login_rsp; in ibmvscsis_login_rsp()
2135 iue->sbuf->dma, vscsi->dds.window[REMOTE].liobn, in ibmvscsis_login_rsp()
2136 be64_to_cpu(iue->remote_token)); in ibmvscsis_login_rsp()
2174 struct iu_entry *iue = cmd->iue; in ibmvscsis_srp_login_rej() local
2175 struct srp_login_rej *rej = &vio_iu(iue)->srp.login_rej; in ibmvscsis_srp_login_rej()
2192 iue->sbuf->dma, vscsi->dds.window[REMOTE].liobn, in ibmvscsis_srp_login_rej()
2193 be64_to_cpu(iue->remote_token)); in ibmvscsis_srp_login_rej()
2290 struct iu_entry *iue = cmd->iue; in ibmvscsis_srp_login() local
2291 struct srp_login_req *req = &vio_iu(iue)->srp.login_req; in ibmvscsis_srp_login()
2364 struct iu_entry *iue = cmd->iue; in ibmvscsis_srp_i_logout() local
2365 struct srp_i_logout *log_out = &vio_iu(iue)->srp.i_logout; in ibmvscsis_srp_i_logout()
2389 struct iu_entry *iue; in ibmvscsis_srp_cmd() local
2409 iue = cmd->iue; in ibmvscsis_srp_cmd()
2410 srp = &vio_iu(iue)->srp.cmd; in ibmvscsis_srp_cmd()
2425 tsk = &vio_iu(iue)->srp.tsk_mgmt; in ibmvscsis_srp_cmd()
2678 struct iu_entry *iue = cmd->iue; in ibmvscsis_parse_cmd() local
2679 struct srp_cmd *srp = (struct srp_cmd *)iue->sbuf->buf; in ibmvscsis_parse_cmd()
2773 struct iu_entry *iue = cmd->iue; in ibmvscsis_parse_task() local
2774 struct srp_tsk_mgmt *srp_tsk = &vio_iu(iue)->srp.tsk_mgmt; in ibmvscsis_parse_task()
3068 struct iu_entry *iue = cmd->iue; in ibmvscsis_fast_fail() local
3070 struct srp_cmd *srp = (struct srp_cmd *)iue->sbuf->buf; in ibmvscsis_fast_fail()
3099 struct iu_entry *iue = cmd->iue; in srp_build_response() local
3110 rsp = &vio_iu(iue)->srp.rsp; in srp_build_response()
3181 rc = h_copy_rdma(len, vscsi->dds.window[LOCAL].liobn, iue->sbuf->dma, in srp_build_response()
3183 be64_to_cpu(iue->remote_token)); in srp_build_response()
3214 struct iu_entry *iue = cmd->iue; in ibmvscsis_rdma() local
3215 struct srp_target *target = iue->target; in ibmvscsis_rdma()
3768 struct iu_entry *iue = cmd->iue; in ibmvscsis_write_pending() local
3783 rc = srp_transfer_data(cmd, &vio_iu(iue)->srp.cmd, ibmvscsis_rdma, in ibmvscsis_write_pending()
3815 struct iu_entry *iue = cmd->iue; in ibmvscsis_queue_data_in() local
3821 rc = srp_transfer_data(cmd, &vio_iu(iue)->srp.cmd, ibmvscsis_rdma, 1, in ibmvscsis_queue_data_in()
3862 struct iu_entry *iue = iue = cmd->iue; in ibmvscsis_queue_tm_rsp() local
3863 struct srp_tsk_mgmt *srp_tsk = &vio_iu(iue)->srp.tsk_mgmt; in ibmvscsis_queue_tm_rsp()