Searched refs:ISCSI_FLAG_CMD_WRITE (Results 1 – 4 of 4) sorted by relevance
156 #define ISCSI_FLAG_CMD_WRITE 0x20 macro
1020 if (!(hdr->flags & ISCSI_FLAG_CMD_WRITE) && in iscsit_setup_scsi_cmd()1029 (hdr->flags & ISCSI_FLAG_CMD_WRITE)) && !hdr->data_length) { in iscsit_setup_scsi_cmd()1041 hdr->flags &= ~ISCSI_FLAG_CMD_WRITE; in iscsit_setup_scsi_cmd()1049 !(hdr->flags & ISCSI_FLAG_CMD_WRITE) && (hdr->data_length != 0)) { in iscsit_setup_scsi_cmd()1058 (hdr->flags & ISCSI_FLAG_CMD_WRITE)) { in iscsit_setup_scsi_cmd()1132 data_direction = (hdr->flags & ISCSI_FLAG_CMD_WRITE) ? DMA_TO_DEVICE : in iscsit_setup_scsi_cmd()1161 (hdr->flags & ISCSI_FLAG_CMD_WRITE)) ? 1 : 0); in iscsit_setup_scsi_cmd()
382 if (hdr->flags & ISCSI_FLAG_CMD_WRITE) { in iser_send_command()
371 hdr->flags |= ISCSI_FLAG_CMD_WRITE; in iscsi_prep_scsi_cmd_pdu()