Searched refs:r2t (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/drivers/scsi/ |
D | libiscsi_tcp.c | 453 struct iscsi_r2t_info *r2t; in iscsi_tcp_cleanup_task() local 460 while (kfifo_out(&tcp_task->r2tqueue, (void*)&r2t, sizeof(void*))) { in iscsi_tcp_cleanup_task() 461 kfifo_in(&tcp_task->r2tpool.queue, (void*)&r2t, in iscsi_tcp_cleanup_task() 466 r2t = tcp_task->r2t; in iscsi_tcp_cleanup_task() 467 if (r2t != NULL) { in iscsi_tcp_cleanup_task() 468 kfifo_in(&tcp_task->r2tpool.queue, (void*)&r2t, in iscsi_tcp_cleanup_task() 470 tcp_task->r2t = NULL; in iscsi_tcp_cleanup_task() 529 struct iscsi_r2t_info *r2t; in iscsi_tcp_r2t_rsp() local 556 rc = kfifo_out(&tcp_task->r2tpool.queue, (void*)&r2t, sizeof(void*)); in iscsi_tcp_r2t_rsp() 564 r2t->exp_statsn = rhdr->statsn; in iscsi_tcp_r2t_rsp() [all …]
|
D | libiscsi.c | 159 void iscsi_prep_data_out_pdu(struct iscsi_task *task, struct iscsi_r2t_info *r2t, in iscsi_prep_data_out_pdu() argument 163 unsigned int left = r2t->data_length - r2t->sent; in iscsi_prep_data_out_pdu() 168 hdr->ttt = r2t->ttt; in iscsi_prep_data_out_pdu() 169 hdr->datasn = cpu_to_be32(r2t->datasn); in iscsi_prep_data_out_pdu() 170 r2t->datasn++; in iscsi_prep_data_out_pdu() 174 hdr->exp_statsn = r2t->exp_statsn; in iscsi_prep_data_out_pdu() 175 hdr->offset = cpu_to_be32(r2t->data_offset + r2t->sent); in iscsi_prep_data_out_pdu() 178 r2t->data_count = conn->max_xmit_dlength; in iscsi_prep_data_out_pdu() 182 r2t->data_count = left; in iscsi_prep_data_out_pdu() 415 struct iscsi_r2t_info *r2t = &task->unsol_r2t; in iscsi_prep_scsi_cmd_pdu() local [all …]
|
/linux-2.6.39/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 211 struct iscsi_r2t_info *r2t = &task->unsol_r2t; in iscsi_iser_task_xmit_unsol_data() local 217 iscsi_prep_data_out_pdu(task, r2t, &hdr); in iscsi_iser_task_xmit_unsol_data() 219 hdr.itt, r2t->data_count); in iscsi_iser_task_xmit_unsol_data() 225 r2t->datasn--; in iscsi_iser_task_xmit_unsol_data() 228 r2t->sent += r2t->data_count; in iscsi_iser_task_xmit_unsol_data() 230 r2t->data_length - r2t->sent); in iscsi_iser_task_xmit_unsol_data()
|
/linux-2.6.39/include/scsi/ |
D | libiscsi_tcp.h | 82 struct iscsi_r2t_info *r2t; /* in progress solict R2T */ member
|
D | libiscsi.h | 406 struct iscsi_r2t_info *r2t,
|