Lines Matching refs:r2t
3115 struct iscsi_r2t *r2t; in iscsit_send_r2t() local
3119 r2t = iscsit_get_r2t_from_list(cmd); in iscsit_send_r2t()
3120 if (!r2t) in iscsit_send_r2t()
3131 conn->conn_transport->iscsit_get_r2t_ttt(conn, cmd, r2t); in iscsit_send_r2t()
3133 r2t->targ_xfer_tag = session_get_next_ttt(conn->sess); in iscsit_send_r2t()
3134 hdr->ttt = cpu_to_be32(r2t->targ_xfer_tag); in iscsit_send_r2t()
3138 hdr->r2tsn = cpu_to_be32(r2t->r2t_sn); in iscsit_send_r2t()
3139 hdr->data_offset = cpu_to_be32(r2t->offset); in iscsit_send_r2t()
3140 hdr->data_length = cpu_to_be32(r2t->xfer_len); in iscsit_send_r2t()
3144 (!r2t->recovery_r2t) ? "" : "Recovery ", cmd->init_task_tag, in iscsit_send_r2t()
3145 r2t->targ_xfer_tag, ntohl(hdr->statsn), r2t->r2t_sn, in iscsit_send_r2t()
3146 r2t->offset, r2t->xfer_len, conn->cid); in iscsit_send_r2t()
3149 r2t->sent_r2t = 1; in iscsit_send_r2t()