Lines Matching refs:DataInHdr
2570 ISCSI_SCSI_DATA_IN *DataInHdr; in IScsiOnDataInRcvd() local
2573 DataInHdr = (ISCSI_SCSI_DATA_IN *) NetbufGetByte (Pdu, 0, NULL); in IScsiOnDataInRcvd()
2574 if (DataInHdr == NULL) { in IScsiOnDataInRcvd()
2578 DataInHdr->InitiatorTaskTag = NTOHL (DataInHdr->InitiatorTaskTag); in IScsiOnDataInRcvd()
2579 DataInHdr->ExpCmdSN = NTOHL (DataInHdr->ExpCmdSN); in IScsiOnDataInRcvd()
2580 DataInHdr->MaxCmdSN = NTOHL (DataInHdr->MaxCmdSN); in IScsiOnDataInRcvd()
2581 DataInHdr->DataSN = NTOHL (DataInHdr->DataSN); in IScsiOnDataInRcvd()
2586 Status = IScsiCheckSN (&Tcb->ExpDataSN, DataInHdr->DataSN); in IScsiOnDataInRcvd()
2591 if (DataInHdr->InitiatorTaskTag != Tcb->InitiatorTaskTag) { in IScsiOnDataInRcvd()
2597 IScsiUpdateCmdSN (Tcb->Conn->Session, DataInHdr->MaxCmdSN, DataInHdr->ExpCmdSN); in IScsiOnDataInRcvd()
2599 if (ISCSI_FLAG_ON (DataInHdr, SCSI_DATA_IN_PDU_FLAG_STATUS_VALID)) { in IScsiOnDataInRcvd()
2600 if (!ISCSI_FLAG_ON (DataInHdr, ISCSI_BHS_FLAG_FINAL)) { in IScsiOnDataInRcvd()
2609 … if (ISCSI_FLAG_ON (DataInHdr, SCSI_DATA_IN_PDU_FLAG_OVERFLOW | SCSI_DATA_IN_PDU_FLAG_UNDERFLOW)) { in IScsiOnDataInRcvd()
2618 Status = IScsiCheckSN (&Tcb->Conn->ExpStatSN, NTOHL (DataInHdr->StatSN)); in IScsiOnDataInRcvd()
2624 Packet->TargetStatus = DataInHdr->Status; in IScsiOnDataInRcvd()
2626 if (ISCSI_FLAG_ON (DataInHdr, SCSI_RSP_PDU_FLAG_OVERFLOW)) { in IScsiOnDataInRcvd()
2627 Packet->InTransferLength += NTOHL (DataInHdr->ResidualCount); in IScsiOnDataInRcvd()
2631 if (ISCSI_FLAG_ON (DataInHdr, SCSI_RSP_PDU_FLAG_UNDERFLOW)) { in IScsiOnDataInRcvd()
2632 Packet->InTransferLength -= NTOHL (DataInHdr->ResidualCount); in IScsiOnDataInRcvd()