Searched refs:bhssr (Results 1 – 2 of 2) sorted by relevance
356 struct iscsi_bhs_scsi_response *bhssr; in cfiscsi_pdu_prepare() local368 bhssr = (struct iscsi_bhs_scsi_response *)response->ip_bhs; in cfiscsi_pdu_prepare()374 if (bhssr->bhssr_opcode == ISCSI_BHS_OPCODE_R2T) in cfiscsi_pdu_prepare()381 if (bhssr->bhssr_opcode == ISCSI_BHS_OPCODE_NOP_IN && in cfiscsi_pdu_prepare()382 bhssr->bhssr_initiator_task_tag == 0xffffffff) in cfiscsi_pdu_prepare()389 if (bhssr->bhssr_opcode == ISCSI_BHS_OPCODE_SCSI_DATA_IN && in cfiscsi_pdu_prepare()390 (bhssr->bhssr_flags & BHSDI_FLAGS_S) == 0) in cfiscsi_pdu_prepare()397 if (bhssr->bhssr_opcode != ISCSI_BHS_OPCODE_SCSI_DATA_IN || in cfiscsi_pdu_prepare()398 (bhssr->bhssr_flags & BHSDI_FLAGS_S)) in cfiscsi_pdu_prepare()399 bhssr->bhssr_statsn = htonl(cs->cs_statsn); in cfiscsi_pdu_prepare()[all …]
914 struct iscsi_bhs_scsi_response *bhssr; in iscsi_pdu_handle_scsi_response() local925 bhssr = (struct iscsi_bhs_scsi_response *)response->ip_bhs; in iscsi_pdu_handle_scsi_response()926 io = iscsi_outstanding_find(is, bhssr->bhssr_initiator_task_tag); in iscsi_pdu_handle_scsi_response()928 ISCSI_SESSION_WARN(is, "bad itt 0x%x", bhssr->bhssr_initiator_task_tag); in iscsi_pdu_handle_scsi_response()936 if (bhssr->bhssr_response == BHSSR_RESPONSE_COMMAND_COMPLETED) { in iscsi_pdu_handle_scsi_response()937 if (ntohl(bhssr->bhssr_expdatasn) != io->io_datasn) { in iscsi_pdu_handle_scsi_response()940 ntohl(bhssr->bhssr_expdatasn), io->io_datasn); in iscsi_pdu_handle_scsi_response()948 if (bhssr->bhssr_status != 0 && in iscsi_pdu_handle_scsi_response()949 bhssr->bhssr_expdatasn == htonl(0)) in iscsi_pdu_handle_scsi_response()958 if (bhssr->bhssr_expdatasn != htonl(0)) { in iscsi_pdu_handle_scsi_response()[all …]