Lines Matching full:pdu
482 struct iscsi_pdu *pdu = NULL; in iscsit_task_reassign_prepare_unsolicited_dataout() local
502 pdu = &cmd->pdu_list[i]; in iscsit_task_reassign_prepare_unsolicited_dataout()
504 if (pdu->status != ISCSI_PDU_RECEIVED_OK) in iscsit_task_reassign_prepare_unsolicited_dataout()
507 if ((pdu->offset >= cmd->seq_start_offset) && in iscsit_task_reassign_prepare_unsolicited_dataout()
508 ((pdu->offset + pdu->length) <= in iscsit_task_reassign_prepare_unsolicited_dataout()
510 cmd->first_burst_len -= pdu->length; in iscsit_task_reassign_prepare_unsolicited_dataout()
511 cmd->write_data_done -= pdu->length; in iscsit_task_reassign_prepare_unsolicited_dataout()
512 pdu->status = ISCSI_PDU_NOT_RECEIVED; in iscsit_task_reassign_prepare_unsolicited_dataout()
534 pdu = &cmd->pdu_list[j+seq->pdu_start]; in iscsit_task_reassign_prepare_unsolicited_dataout()
536 if (pdu->status != ISCSI_PDU_RECEIVED_OK) in iscsit_task_reassign_prepare_unsolicited_dataout()
539 pdu->status = ISCSI_PDU_NOT_RECEIVED; in iscsit_task_reassign_prepare_unsolicited_dataout()
550 struct iscsi_pdu *pdu = NULL; in iscsit_task_reassign_prepare_write() local
613 * random) PDU Order in (possibly random) Sequence Order of in iscsit_task_reassign_prepare_write()
623 * last PDU before the connection failed. in iscsit_task_reassign_prepare_write()
629 * any single PDU is missing from the sequence. This is because in iscsit_task_reassign_prepare_write()
630 * we have no logical method to determine the next PDU offset, in iscsit_task_reassign_prepare_write()
632 * PDU offset in the current sequence after TASK_REASSIGN in iscsit_task_reassign_prepare_write()
653 pdu = &cmd->pdu_list[i]; in iscsit_task_reassign_prepare_write()
655 if (pdu->status != ISCSI_PDU_RECEIVED_OK) in iscsit_task_reassign_prepare_write()
658 if ((pdu->offset >= r2t->offset) && in iscsit_task_reassign_prepare_write()
659 (pdu->offset < (r2t->offset + in iscsit_task_reassign_prepare_write()
661 cmd->next_burst_len -= pdu->length; in iscsit_task_reassign_prepare_write()
662 cmd->write_data_done -= pdu->length; in iscsit_task_reassign_prepare_write()
663 pdu->status = ISCSI_PDU_NOT_RECEIVED; in iscsit_task_reassign_prepare_write()
691 pdu = &cmd->pdu_list[i+seq->pdu_start]; in iscsit_task_reassign_prepare_write()
693 if (pdu->status != ISCSI_PDU_RECEIVED_OK) in iscsit_task_reassign_prepare_write()
696 pdu->status = ISCSI_PDU_NOT_RECEIVED; in iscsit_task_reassign_prepare_write()