Lines Matching defs:bhsdi
621 const struct iscsi_bhs_data_in *bhsdi;
633 bhsdi = (const struct iscsi_bhs_data_in *)response->ip_bhs;
640 if (bhsdi->bhsdi_opcode != ISCSI_BHS_OPCODE_SCSI_DATA_IN ||
641 (bhsdi->bhsdi_flags & BHSDI_FLAGS_S) != 0) {
642 statsn = ntohl(bhsdi->bhsdi_statsn);
647 bhsdi->bhsdi_opcode, statsn, is->is_statsn);
654 expcmdsn = ntohl(bhsdi->bhsdi_expcmdsn);
655 maxcmdsn = ntohl(bhsdi->bhsdi_maxcmdsn);
994 struct iscsi_bhs_data_in *bhsdi;
1002 bhsdi = (struct iscsi_bhs_data_in *)response->ip_bhs;
1003 io = iscsi_outstanding_find(is, bhsdi->bhsdi_initiator_task_tag);
1005 ISCSI_SESSION_WARN(is, "bad itt 0x%x", bhsdi->bhsdi_initiator_task_tag);
1029 if (ntohl(bhsdi->bhsdi_buffer_offset) != io->io_received) {
1031 io->io_received, (size_t)ntohl(bhsdi->bhsdi_buffer_offset));
1054 if ((bhsdi->bhsdi_flags & BHSDI_FLAGS_S) != 0)
1064 if ((bhsdi->bhsdi_flags & BHSDI_FLAGS_S) == 0) {
1072 //ISCSI_SESSION_DEBUG(is, "got S flag; status 0x%x", bhsdi->bhsdi_status);
1073 if (bhsdi->bhsdi_status == 0) {
1081 csio->scsi_status = bhsdi->bhsdi_status;
1088 csio->resid = ntohl(bhsdi->bhsdi_residual_count);