Lines Matching refs:be32_to_cpu

87 		    cmd->write_data_done != be32_to_cpu(hdr->offset))  in iscsit_dataout_within_command_recovery_check()
94 seq = iscsit_get_seq_holder(cmd, be32_to_cpu(hdr->offset), in iscsit_dataout_within_command_recovery_check()
106 (seq->offset != be32_to_cpu(hdr->offset) || in iscsit_dataout_within_command_recovery_check()
107 seq->data_sn != be32_to_cpu(hdr->datasn))) in iscsit_dataout_within_command_recovery_check()
112 seq->data_sn != be32_to_cpu(hdr->datasn)) in iscsit_dataout_within_command_recovery_check()
141 if ((be32_to_cpu(hdr->offset) < cmd->seq_start_offset) || in iscsit_dataout_check_unsolicited_sequence()
142 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_unsolicited_sequence()
146 be32_to_cpu(hdr->offset), payload_length, cmd->seq_start_offset, in iscsit_dataout_check_unsolicited_sequence()
229 if ((be32_to_cpu(hdr->offset) < cmd->seq_start_offset) || in iscsit_dataout_check_sequence()
230 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_sequence()
234 be32_to_cpu(hdr->offset), payload_length, cmd->seq_start_offset, in iscsit_dataout_check_sequence()
244 seq = iscsit_get_seq_holder(cmd, be32_to_cpu(hdr->offset), in iscsit_dataout_check_sequence()
359 if (be32_to_cpu(hdr->datasn) > data_sn) { in iscsit_dataout_check_datasn()
362 be32_to_cpu(hdr->datasn), data_sn); in iscsit_dataout_check_datasn()
364 } else if (be32_to_cpu(hdr->datasn) < data_sn) { in iscsit_dataout_check_datasn()
367 cmd->init_task_tag, be32_to_cpu(hdr->datasn), data_sn); in iscsit_dataout_check_datasn()
405 if (be32_to_cpu(hdr->offset) != cmd->write_data_done) { in iscsit_dataout_pre_datapduinorder_yes()
408 be32_to_cpu(hdr->offset), cmd->write_data_done); in iscsit_dataout_pre_datapduinorder_yes()
415 if (be32_to_cpu(hdr->offset) > seq->offset) { in iscsit_dataout_pre_datapduinorder_yes()
418 be32_to_cpu(hdr->offset), seq->offset); in iscsit_dataout_pre_datapduinorder_yes()
421 } else if (be32_to_cpu(hdr->offset) < seq->offset) { in iscsit_dataout_pre_datapduinorder_yes()
424 cmd->init_task_tag, be32_to_cpu(hdr->offset), in iscsit_dataout_pre_datapduinorder_yes()
444 be32_to_cpu(hdr->offset), payload_length) : in iscsit_dataout_pre_datapduinorder_yes()
456 pdu = iscsit_get_pdu_holder(cmd, be32_to_cpu(hdr->offset), in iscsit_dataout_pre_datapduinorder_no()
471 be32_to_cpu(hdr->offset), payload_length); in iscsit_dataout_pre_datapduinorder_no()
545 if (iscsit_dataout_update_r2t(cmd, be32_to_cpu(hdr->offset), in iscsit_dataout_post_crc_passed()
553 be32_to_cpu(hdr->datasn), in iscsit_dataout_post_crc_passed()
580 be32_to_cpu(hdr->offset), in iscsit_dataout_post_crc_passed()
588 cmd, be32_to_cpu(hdr->datasn), in iscsit_dataout_post_crc_passed()
605 be32_to_cpu(hdr->offset), in iscsit_dataout_post_crc_passed()
613 cmd, be32_to_cpu(hdr->datasn), in iscsit_dataout_post_crc_passed()
673 return iscsit_recover_dataout_sequence(cmd, be32_to_cpu(hdr->offset), in iscsit_dataout_post_crc_failed()