Searched refs:CHECK_CONDITION (Results 1 - 36 of 36) sorted by relevance

/linux-4.1.27/drivers/target/
H A Dtarget_core_ua.c222 * struct se_dev_entry->ua_list, and will be returned in CHECK_CONDITION + core_scsi3_ua_for_check_condition()
240 * (head of the list) in the outgoing CHECK_CONDITION + sense. core_scsi3_ua_for_check_condition()
H A Dtarget_core_transport.c1131 /* Returns CHECK_CONDITION + INVALID_CDB_FIELD */ target_cmd_size_check()
1385 * setup exceptions will be returned as a SCSI CHECK_CONDITION response,
1516 * setup exceptions will be returned as a SCSI CHECK_CONDITION response,
H A Dtarget_core_pscsi.c707 if (sense_buffer && (status_byte(result) & CHECK_CONDITION)) { pscsi_transport_complete()
H A Dtarget_core_xcopy.c841 pr_warn("target_xcopy_do_work: Setting X-COPY CHECK_CONDITION -> sending response\n"); target_xcopy_do_work()
H A Dtarget_core_spc.c1426 " 0x%02x, sending CHECK_CONDITION.\n", spc_parse_cdb()
/linux-4.1.27/drivers/scsi/
H A Dscsi_error.c697 case CHECK_CONDITION: scsi_eh_completed_normally()
1171 if (status_byte(scmd->result) != CHECK_CONDITION) list_for_each_entry_safe()
1730 if (status_byte(scmd->result) != CHECK_CONDITION) scsi_noretry_cmd()
1897 case CHECK_CONDITION: scsi_decide_disposition()
2258 * The main purpose of this is to make sure that a CHECK_CONDITION
2291 * The main purpose of this is to make sure that a CHECK_CONDITION
2424 * responded to a SCSI command with the CHECK_CONDITION status.
H A Ddc395x.c3334 srb->target_status = CHECK_CONDITION << 1; srb_done()
3381 if (status == (CHECK_CONDITION << 1)) { srb_done()
3391 srb->end_message, CHECK_CONDITION); srb_done()
3396 srb->end_message, CHECK_CONDITION); srb_done()
3406 if (status_byte(status) == CHECK_CONDITION) { srb_done()
3478 /* (host_byte(cmd->result) == DID_OK || status_byte(cmd->result) & CHECK_CONDITION) ) */ srb_done()
3481 CHECK_CONDITION)) { srb_done()
H A Du14-34f.c238 * Redo i/o on target status CHECK_CONDITION for TYPE_DISK only.
1821 else if (tstatus == CHECK_CONDITION ihdlr()
1833 (!(tstatus == CHECK_CONDITION && HD(j)->iocount <= 1000 && ihdlr()
H A Dgdth.c2129 nscp->result = (DID_OK << 16) | (CHECK_CONDITION << 1); gdth_next()
2174 nscp->result = (DID_OK << 16) | (CHECK_CONDITION << 1); gdth_next()
2226 nscp->result = (DID_OK << 16) | (CHECK_CONDITION << 1); gdth_next()
3385 scp->result = (DID_OK << 16) | (CHECK_CONDITION << 1); gdth_sync_event()
3399 scp->result = (DID_OK << 16) | (CHECK_CONDITION << 1); gdth_sync_event()
H A Dsg.c488 if ((CHECK_CONDITION & hp->masked_status) || sg_read()
558 if ((CHECK_CONDITION & hp->masked_status) || sg_new_read()
1321 ((CHECK_CONDITION == srp->header.masked_status) || sg_rq_end_io()
H A Deata.c298 * Redo i/o on target status CHECK_CONDITION for TYPE_DISK only.
2421 else if (tstatus == CHECK_CONDITION ihdlr()
2434 (!(tstatus == CHECK_CONDITION && ha->iocount <= 1000 && ihdlr()
H A Dscsi.c570 if (status_byte(cmd->result) & CHECK_CONDITION) scsi_log_completion()
H A D3w-xxxx.c433 tw_dev->srb[request_id]->result = (DID_OK << 16) | (CHECK_CONDITION << 1); tw_decode_sense()
2154 tw_dev->srb[request_id]->result = (DID_OK << 16) | (CHECK_CONDITION << 1); tw_interrupt()
H A Dstorvsc_drv.c1186 /* CHECK_CONDITION */ storvsc_on_io_completion()
H A Dmegaraid.c1588 (CHECK_CONDITION << 1); mega_cmd_done()
1598 (CHECK_CONDITION << 1); mega_cmd_done()
1602 cmd->result |= (CHECK_CONDITION << 1); mega_cmd_done()
H A D3w-9xxx.c1343 cmd->result = (DID_OK << 16) | (CHECK_CONDITION << 1); twa_interrupt()
H A D53c700.c973 if(status_byte(hostdata->status[0]) == CHECK_CONDITION || process_script_interrupt()
H A Dnsp32.c951 SCpnt->SCp.Status = CHECK_CONDITION; nsp32_queuecommand_lck()
H A Datari_NCR5380.c2224 (status_byte(cmd->SCp.Status) == CHECK_CONDITION)) { NCR5380_information_transfer()
H A Dlibiscsi.c877 "Got CHECK_CONDITION but invalid data " iscsi_scsi_cmd_rsp()
H A DNCR5380.c2195 if ((cmd->cmnd[0] != REQUEST_SENSE) && (status_byte(cmd->SCp.Status) == CHECK_CONDITION)) {
H A Dadvansys.c6222 * CHECK_CONDITION, defined to 0x1, instead of adv_isr_callback()
7155 * CHECK_CONDITION, defined to 0x1, instead of asc_isr_callback()
/linux-4.1.27/include/scsi/
H A Dsg.h236 when target_status is CHECK_CONDITION or
H A Dosd_initiator.h275 * CHECK_CONDITION was returned from target but this will return NO_ERROR, for
H A Dscsi.h290 #define CHECK_CONDITION 0x01 macro
H A Dscsi_device.h146 unsigned expecting_cc_ua:1; /* Expecting a CHECK_CONDITION/UNIT_ATTN
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target_erl1.c935 * Go ahead and send the CHECK_CONDITION status for iscsit_execute_cmd()
958 * Otherwise send CHECK_CONDITION and sense for iscsit_execute_cmd()
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_mbox.c1603 scp->result = CHECK_CONDITION << 1; megaraid_mbox_build_cmd()
2353 DID_OK << 16 | CHECK_CONDITION << 1; megaraid_mbox_dpc()
2363 CHECK_CONDITION << 1; megaraid_mbox_dpc()
2367 scp->result = CHECK_CONDITION << 1; megaraid_mbox_dpc()
/linux-4.1.27/drivers/ide/
H A Dide-cd.c298 /* if we have an error, pass CHECK_CONDITION as the SCSI status byte */ cdrom_decode_status()
394 /* if we got a CHECK_CONDITION status, queue a request sense command */ cdrom_decode_status()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c592 * Otherwise return an exception via CHECK_CONDITION status. tcm_qla2xxx_handle_data_work()
709 * For FCP_READ with CHECK_CONDITION status, clear cmd->bufflen tcm_qla2xxx_queue_status()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.h763 * due to CHECK_CONDITION or COMMAND TERMINATED.
/linux-4.1.27/drivers/scsi/arm/
H A Dfas216.c2052 * If the command returned CHECK_CONDITION or COMMAND_TERMINATED fas216_std_done()
2055 if (status_byte(SCpnt->result) == CHECK_CONDITION || fas216_std_done()
H A Dacornscsi.c845 case CHECK_CONDITION: acornscsi_done()
/linux-4.1.27/drivers/scsi/pcmcia/
H A Dnsp_cs.c227 SCpnt->SCp.Status = CHECK_CONDITION; nsp_queuecommand_lck()
/linux-4.1.27/drivers/usb/storage/
H A Dtransport.c663 * to wait for at least one CHECK_CONDITION to determine usb_stor_invoke_transport()
/linux-4.1.27/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c1002 if (((cmnd->result >> 1) & 0x1f) == CHECK_CONDITION) handle_cmd_rsp()

Completed in 726 milliseconds