Lines Matching refs:sense_reason
1170 cmd->sense_reason = target_cmd_init_cdb(&cmd->se_cmd, hdr->cdb); in iscsit_setup_scsi_cmd()
1171 if (cmd->sense_reason) { in iscsit_setup_scsi_cmd()
1172 if (cmd->sense_reason == TCM_OUT_OF_RESOURCES) { in iscsit_setup_scsi_cmd()
1180 cmd->sense_reason = transport_lookup_cmd_lun(&cmd->se_cmd); in iscsit_setup_scsi_cmd()
1181 if (cmd->sense_reason) in iscsit_setup_scsi_cmd()
1184 cmd->sense_reason = target_cmd_parse_cdb(&cmd->se_cmd); in iscsit_setup_scsi_cmd()
1185 if (cmd->sense_reason) in iscsit_setup_scsi_cmd()
1248 if (!cmd->sense_reason && cmd->unsolicited_data) in iscsit_process_scsi_cmd()
1250 if (!cmd->sense_reason) in iscsit_process_scsi_cmd()
1262 if (cmd->sense_reason) in iscsit_process_scsi_cmd()
1268 cmd->sense_reason = transport_generic_new_cmd(&cmd->se_cmd); in iscsit_process_scsi_cmd()
1269 if (cmd->sense_reason) in iscsit_process_scsi_cmd()
1313 if (cmd->sense_reason || cmdsn_ret == CMDSN_LOWER_THAN_EXP) { in iscsit_get_immediate_data()