/linux/drivers/scsi/ |
A D | libiscsi_tcp.c | 471 r2t = tcp_task->r2t; in iscsi_tcp_cleanup_task() 634 r2t->sent = 0; in iscsi_tcp_r2t_rsp() 1031 r2t = tcp_task->r2t; in iscsi_tcp_get_curr_r2t() 1033 if (r2t->data_length <= r2t->sent) { in iscsi_tcp_get_curr_r2t() 1039 tcp_task->r2t = r2t = NULL; in iscsi_tcp_get_curr_r2t() 1047 r2t = NULL; in iscsi_tcp_get_curr_r2t() 1049 r2t = tcp_task->r2t; in iscsi_tcp_get_curr_r2t() 1054 return r2t; in iscsi_tcp_get_curr_r2t() 1102 r2t, r2t->datasn - 1, task->hdr->itt, in iscsi_tcp_task_xmit() 1103 r2t->data_offset + r2t->sent, r2t->data_count); in iscsi_tcp_task_xmit() [all …]
|
A D | libiscsi.c | 138 unsigned int left = r2t->data_length - r2t->sent; in iscsi_prep_data_out_pdu() 143 hdr->ttt = r2t->ttt; in iscsi_prep_data_out_pdu() 144 hdr->datasn = cpu_to_be32(r2t->datasn); in iscsi_prep_data_out_pdu() 145 r2t->datasn++; in iscsi_prep_data_out_pdu() 149 hdr->exp_statsn = r2t->exp_statsn; in iscsi_prep_data_out_pdu() 150 hdr->offset = cpu_to_be32(r2t->data_offset + r2t->sent); in iscsi_prep_data_out_pdu() 153 r2t->data_count = conn->max_xmit_dlength; in iscsi_prep_data_out_pdu() 157 r2t->data_count = left; in iscsi_prep_data_out_pdu() 374 memset(r2t, 0, sizeof(*r2t)); in iscsi_prep_scsi_cmd_pdu() 391 r2t->data_offset = task->imm_count; in iscsi_prep_scsi_cmd_pdu() [all …]
|
/linux/drivers/target/iscsi/ |
A D | iscsi_target_tmr.c | 596 if (r2t->seq_complete) in iscsit_task_reassign_prepare_write() 599 if (r2t->recovery_r2t) in iscsit_task_reassign_prepare_write() 650 cmd->r2t_offset -= r2t->xfer_len; in iscsit_task_reassign_prepare_write() 660 r2t->xfer_len))) { in iscsit_task_reassign_prepare_write() 672 r2t->xfer_len); in iscsit_task_reassign_prepare_write() 729 if (r2t->seq_complete) { in iscsit_task_reassign_prepare_write() 735 r2t->offset, r2t->xfer_len); in iscsit_task_reassign_prepare_write() 740 if (r2t->recovery_r2t) { in iscsit_task_reassign_prepare_write() 741 iscsit_free_r2t(r2t, cmd); in iscsit_task_reassign_prepare_write() 762 cmd->r2t_offset -= r2t->xfer_len; in iscsit_task_reassign_prepare_write() [all …]
|
A D | iscsi_target_util.c | 41 struct iscsi_r2t *r2t; in iscsit_add_r2t_to_list() local 48 if (!r2t) { in iscsit_add_r2t_to_list() 56 r2t->offset = offset; in iscsit_add_r2t_to_list() 72 struct iscsi_r2t *r2t; in iscsit_get_r2t_for_eos() local 77 (r2t->offset + r2t->xfer_len) >= (offset + length)) { in iscsit_get_r2t_for_eos() 79 return r2t; in iscsit_get_r2t_for_eos() 91 struct iscsi_r2t *r2t; in iscsit_get_r2t_from_list() local 95 if (!r2t->sent_r2t) { in iscsit_get_r2t_from_list() 97 return r2t; in iscsit_get_r2t_from_list() 227 struct iscsi_r2t *r2t; in iscsit_get_holder_for_r2tsn() local [all …]
|
A D | iscsi_target_erl1.c | 91 struct iscsi_r2t *r2t) in iscsit_send_recovery_r2t_for_snack() argument 99 if (!r2t->sent_r2t) { in iscsit_send_recovery_r2t_for_snack() 103 r2t->sent_r2t = 0; in iscsit_send_recovery_r2t_for_snack() 118 struct iscsi_r2t *r2t; in iscsit_handle_r2t_snack() local 149 r2t = iscsit_get_holder_for_r2tsn(cmd, begrun); in iscsit_handle_r2t_snack() 150 if (!r2t) in iscsit_handle_r2t_snack() 152 if (iscsit_send_recovery_r2t_for_snack(cmd, r2t) < 0) in iscsit_handle_r2t_snack() 1057 struct iscsi_r2t *r2t; in iscsit_set_dataout_timeout_values() local 1076 if (r2t->sent_r2t && !r2t->recovery_r2t && !r2t->seq_complete) { in iscsit_set_dataout_timeout_values() 1077 *offset = r2t->offset; in iscsit_set_dataout_timeout_values() [all …]
|
A D | iscsi_target_erl0.c | 482 struct iscsi_r2t *r2t; in iscsit_dataout_update_r2t() local 487 r2t = iscsit_get_r2t_for_eos(cmd, offset, length); in iscsit_dataout_update_r2t() 488 if (!r2t) in iscsit_dataout_update_r2t() 492 r2t->seq_complete = 1; in iscsit_dataout_update_r2t()
|
A D | iscsi_target.c | 3075 struct iscsi_r2t *r2t; in iscsit_send_r2t() local 3079 r2t = iscsit_get_r2t_from_list(cmd); in iscsit_send_r2t() 3080 if (!r2t) in iscsit_send_r2t() 3093 r2t->targ_xfer_tag = session_get_next_ttt(conn->sess); in iscsit_send_r2t() 3094 hdr->ttt = cpu_to_be32(r2t->targ_xfer_tag); in iscsit_send_r2t() 3098 hdr->r2tsn = cpu_to_be32(r2t->r2t_sn); in iscsit_send_r2t() 3099 hdr->data_offset = cpu_to_be32(r2t->offset); in iscsit_send_r2t() 3100 hdr->data_length = cpu_to_be32(r2t->xfer_len); in iscsit_send_r2t() 3105 r2t->targ_xfer_tag, ntohl(hdr->statsn), r2t->r2t_sn, in iscsit_send_r2t() 3106 r2t->offset, r2t->xfer_len, conn->cid); in iscsit_send_r2t() [all …]
|
/linux/drivers/infiniband/ulp/iser/ |
A D | iscsi_iser.c | 297 struct iscsi_r2t_info *r2t = &task->unsol_r2t; in iscsi_iser_task_xmit_unsol_data() local 303 iscsi_prep_data_out_pdu(task, r2t, &hdr); in iscsi_iser_task_xmit_unsol_data() 305 hdr.itt, r2t->data_count); in iscsi_iser_task_xmit_unsol_data() 311 r2t->datasn--; in iscsi_iser_task_xmit_unsol_data() 314 r2t->sent += r2t->data_count; in iscsi_iser_task_xmit_unsol_data() 316 r2t->data_length - r2t->sent); in iscsi_iser_task_xmit_unsol_data()
|
/linux/arch/s390/mm/ |
A D | gmap.c | 1473 unsigned long *r2t) in __gmap_unshadow_r2t() argument 1481 if (!(r2t[i] & _REGION_ENTRY_ORIGIN)) in __gmap_unshadow_r2t() 1484 r2t[i] = _REGION2_ENTRY_EMPTY; in __gmap_unshadow_r2t() 1502 unsigned long r1o, *r1e, *r2t; in gmap_unshadow_r2t() local 1514 __gmap_unshadow_r2t(sg, raddr, r2t); in gmap_unshadow_r2t() 1516 page = pfn_to_page(__pa(r2t) >> PAGE_SHIFT); in gmap_unshadow_r2t() 1532 unsigned long asce, *r2t; in __gmap_unshadow_r1t() local 1542 __gmap_unshadow_r2t(sg, raddr, r2t); in __gmap_unshadow_r1t() 1753 page->index = r2t & _REGION_ENTRY_ORIGIN; in gmap_shadow_r2t() 1776 *table |= (r2t & _REGION_ENTRY_PROTECT); in gmap_shadow_r2t() [all …]
|
/linux/include/linux/ |
A D | nvme-tcp.h | 185 struct nvme_tcp_r2t_pdu r2t; member
|
/linux/include/scsi/ |
A D | libiscsi_tcp.h | 71 struct iscsi_r2t_info *r2t; /* in progress solict R2T */ member
|
A D | libiscsi.h | 455 struct iscsi_r2t_info *r2t,
|
/linux/drivers/target/iscsi/cxgbit/ |
A D | cxgbit_ddp.c | 231 struct iscsi_r2t *r2t) in cxgbit_get_r2t_ttt() argument 260 r2t->targ_xfer_tag = ttinfo->tag; in cxgbit_get_r2t_ttt()
|
/linux/drivers/scsi/cxgbi/ |
A D | libcxgbi.c | 2065 struct iscsi_r2t_info *r2t; in cxgbi_prep_iso_info() local 2092 r2t = &task->unsol_r2t; in cxgbi_prep_iso_info() 2094 r2t = tcp_task->r2t; in cxgbi_prep_iso_info() 2096 if (r2t) { in cxgbi_prep_iso_info() 2101 r2t->data_length, r2t->sent); in cxgbi_prep_iso_info() 2103 r2t_dlength = r2t->data_length - r2t->sent; in cxgbi_prep_iso_info() 2104 segment_offset = r2t->sent; in cxgbi_prep_iso_info() 2105 r2t->datasn += num_pdu - 1; in cxgbi_prep_iso_info() 2108 if (!r2t || !r2t->sent) in cxgbi_prep_iso_info()
|
/linux/arch/s390/include/asm/ |
A D | gmap.h | 129 int gmap_shadow_r2t(struct gmap *sg, unsigned long saddr, unsigned long r2t,
|
/linux/drivers/scsi/qedi/ |
A D | qedi_fw_api.c | 509 cxt->ystorm_st_context.pdu_hdr.r2t.desired_data_trns_len = val; in init_rw_iscsi_task()
|
/linux/include/linux/qed/ |
A D | iscsi_common.h | 696 struct iscsi_r2t_hdr r2t; member
|