Searched refs:sense_reason (Results 1 – 5 of 5) sorted by relevance
1173 cmd->sense_reason = transport_lookup_cmd_lun(&cmd->se_cmd, in iscsit_setup_scsi_cmd()1175 if (cmd->sense_reason) in iscsit_setup_scsi_cmd()1180 cmd->sense_reason = target_setup_cmd_from_cdb(&cmd->se_cmd, hdr->cdb); in iscsit_setup_scsi_cmd()1181 if (cmd->sense_reason) { in iscsit_setup_scsi_cmd()1182 if (cmd->sense_reason == TCM_OUT_OF_RESOURCES) { in iscsit_setup_scsi_cmd()1250 if (!cmd->sense_reason && cmd->unsolicited_data) in iscsit_process_scsi_cmd()1252 if (!cmd->sense_reason) in iscsit_process_scsi_cmd()1264 if (cmd->sense_reason) { in iscsit_process_scsi_cmd()1274 cmd->sense_reason = transport_generic_new_cmd(&cmd->se_cmd); in iscsit_process_scsi_cmd()1275 if (cmd->sense_reason) in iscsit_process_scsi_cmd()[all …]
937 if (cmd->sense_reason) { in iscsit_execute_cmd()938 if (cmd->sense_reason == TCM_RESERVATION_CONFLICT) { in iscsit_execute_cmd()961 cmd->sense_reason, 0); in iscsit_execute_cmd()
1439 if (cmd->se_cmd.scsi_status || cmd->sense_reason) { in lio_queue_status()
1695 sense_reason_t sense_reason) in transport_generic_request_failure() argument1703 cmd->t_state, sense_reason); in transport_generic_request_failure()1721 switch (sense_reason) { in transport_generic_request_failure()1740 sense_reason = TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE; in transport_generic_request_failure()1770 cmd->t_task_cdb[0], sense_reason); in transport_generic_request_failure()1771 sense_reason = TCM_UNSUPPORTED_SCSI_OPCODE; in transport_generic_request_failure()1775 ret = transport_send_check_condition_and_sense(cmd, sense_reason, 0); in transport_generic_request_failure()
917 if (cmd->sense_reason || cmdsn_ret == CMDSN_LOWER_THAN_EXP) { in cxgbit_get_immediate_data()