Lines Matching refs:sense_reason
1205 cmd->sense_reason = target_cmd_init_cdb(&cmd->se_cmd, cdb, in iscsit_setup_scsi_cmd()
1211 if (cmd->sense_reason) { in iscsit_setup_scsi_cmd()
1212 if (cmd->sense_reason == TCM_OUT_OF_RESOURCES) { in iscsit_setup_scsi_cmd()
1220 cmd->sense_reason = transport_lookup_cmd_lun(&cmd->se_cmd); in iscsit_setup_scsi_cmd()
1221 if (cmd->sense_reason) in iscsit_setup_scsi_cmd()
1224 cmd->sense_reason = target_cmd_parse_cdb(&cmd->se_cmd); in iscsit_setup_scsi_cmd()
1225 if (cmd->sense_reason) in iscsit_setup_scsi_cmd()
1288 if (!cmd->sense_reason && cmd->unsolicited_data) in iscsit_process_scsi_cmd()
1290 if (!cmd->sense_reason) in iscsit_process_scsi_cmd()
1302 if (cmd->sense_reason) in iscsit_process_scsi_cmd()
1308 cmd->sense_reason = transport_generic_new_cmd(&cmd->se_cmd); in iscsit_process_scsi_cmd()
1309 if (cmd->sense_reason) in iscsit_process_scsi_cmd()
1353 if (cmd->sense_reason || cmdsn_ret == CMDSN_LOWER_THAN_EXP) { in iscsit_get_immediate_data()