/linux/drivers/scsi/elx/efct/ |
A D | efct_lio.c | 305 enum efct_scsi_io_status scsi_status, in efct_lio_abort_tgt_cb() argument 408 enum efct_scsi_io_status scsi_status, in efct_lio_status_done() argument 414 if (scsi_status != EFCT_SCSI_STATUS_GOOD) { in efct_lio_status_done() 416 scsi_status); in efct_lio_status_done() 417 ocp->err = scsi_status; in efct_lio_status_done() 565 rsp.scsi_status = cmd->scsi_status; in efct_lio_send_resp() 593 if (scsi_status != EFCT_SCSI_STATUS_GOOD) { in efct_lio_datamove_done() 595 scsi_status); in efct_lio_datamove_done() 596 ocp->err = scsi_status; in efct_lio_datamove_done() 627 if (scsi_status != EFCT_SCSI_STATUS_GOOD) { in efct_lio_datamove_done() [all …]
|
A D | efct_scsi.c | 739 u8 scsi_status = 0; in efct_scsi_send_resp() local 747 scsi_status = rsp->scsi_status; in efct_scsi_send_resp() 775 if (scsi_status != 0 || residual || sense_data_length) { in efct_scsi_send_resp() 792 fcprsp->resp.fr_status = scsi_status; in efct_scsi_send_resp() 1043 enum efct_scsi_io_status scsi_status; in efct_target_abort_cb() local 1060 scsi_status = EFCT_SCSI_STATUS_GOOD; in efct_target_abort_cb() 1065 scsi_status = EFCT_SCSI_STATUS_NO_IO; in efct_target_abort_cb() 1068 scsi_status = EFCT_SCSI_STATUS_ABORT_IN_PROGRESS; in efct_target_abort_cb() 1072 scsi_status = EFCT_SCSI_STATUS_ERROR; in efct_target_abort_cb() 1077 scsi_status = EFCT_SCSI_STATUS_CHECK_RESPONSE; in efct_target_abort_cb() [all …]
|
/linux/include/trace/events/ |
A D | target.h | 182 __field( unsigned char, scsi_status ) 196 __entry->scsi_status = cmd->scsi_status; 197 __entry->sense_length = cmd->scsi_status == SAM_STAT_CHECK_CONDITION ? 207 show_scsi_status_name(__entry->scsi_status),
|
/linux/drivers/target/ |
A D | target_core_xcopy.c | 575 se_cmd->scsi_status); in target_xcopy_issue_pt_cmd() 577 return (se_cmd->scsi_status) ? -EINVAL : 0; in target_xcopy_issue_pt_cmd() 610 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source() 619 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source() 655 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination() 661 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination()
|
A D | target_core_transport.c | 883 cmd->scsi_status = scsi_status; in target_complete_cmd_with_sense() 887 switch (cmd->scsi_status) { in target_complete_cmd_with_sense() 917 target_complete_cmd_with_sense(cmd, scsi_status, scsi_status ? in target_complete_cmd() 940 if (scsi_status == SAM_STAT_GOOD || in target_complete_cmd_with_length() 2049 cmd->scsi_status = SAM_STAT_BUSY; in transport_generic_request_failure() 2368 if (cmd->scsi_status) in transport_complete_qf() 2391 if (cmd->scsi_status && in transport_complete_qf() 2506 WARN_ON(!cmd->scsi_status); in target_complete_ok_work() 2557 if (cmd->scsi_status && in target_complete_ok_work() 3451 cmd->scsi_status = SAM_STAT_BUSY; in translate_sense_reason() [all …]
|
A D | target_core_pscsi.c | 591 static void pscsi_complete_cmd(struct se_cmd *cmd, u8 scsi_status, in pscsi_complete_cmd() argument 614 scsi_status == SAM_STAT_GOOD) { in pscsi_complete_cmd() 650 scsi_status == SAM_STAT_GOOD) { in pscsi_complete_cmd() 678 if (scsi_status == SAM_STAT_CHECK_CONDITION) { in pscsi_complete_cmd() 1046 enum sam_status scsi_status = result & 0xff; in pscsi_req_done() local 1048 if (scsi_status != SAM_STAT_GOOD) { in pscsi_req_done() 1054 pscsi_complete_cmd(cmd, scsi_status, scsi_req(req)->sense); in pscsi_req_done() 1058 target_complete_cmd_with_length(cmd, scsi_status, in pscsi_req_done()
|
/linux/drivers/usb/image/ |
A D | microtek.c | 412 context->srb->result |= (unsigned)(*context->scsi_status)<<1; in mts_transfer_done() 426 context->scsi_status, in mts_get_status() 736 new_desc->context.scsi_status = kmalloc(1, GFP_KERNEL); in mts_usb_probe() 737 if (!new_desc->context.scsi_status) in mts_usb_probe() 778 kfree(new_desc->context.scsi_status); in mts_usb_probe() 798 kfree(desc->context.scsi_status); in mts_usb_disconnect()
|
A D | microtek.h | 26 u8 *scsi_status; /* status returned from ep_response after command completion */ member
|
/linux/drivers/scsi/qla4xxx/ |
A D | ql4_isr.c | 117 uint8_t scsi_status; in qla4xxx_status_entry() local 155 scsi_status = sts_entry->scsiStatus; in qla4xxx_status_entry() 166 if (!scsi_status && ((scsi_bufflen(cmd) - residual) < in qla4xxx_status_entry() 183 cmd->result = DID_OK << 16 | scsi_status; in qla4xxx_status_entry() 185 if (scsi_status != SAM_STAT_CHECK_CONDITION) in qla4xxx_status_entry() 258 if (!scsi_status && (scsi_bufflen(cmd) - residual) < in qla4xxx_status_entry() 273 } else if (scsi_status != SAM_STAT_TASK_SET_FULL && in qla4xxx_status_entry() 274 scsi_status != SAM_STAT_BUSY) { in qla4xxx_status_entry() 301 cmd->result = DID_ERROR << 16 | scsi_status; in qla4xxx_status_entry() 305 cmd->result = DID_OK << 16 | scsi_status; in qla4xxx_status_entry() [all …]
|
/linux/drivers/scsi/ |
A D | qla1280.h | 572 __le16 scsi_status; /* SCSI status. */ member 793 uint8_t scsi_status; member 816 uint8_t scsi_status; member 849 uint8_t scsi_status; member 879 uint8_t scsi_status; member 909 uint8_t scsi_status; member
|
A D | stex.c | 247 u8 scsi_status; member 305 u8 scsi_status; member 732 result = ccb->scsi_status; in DEF_SCSI_QCMD() 733 switch (ccb->scsi_status) { in DEF_SCSI_QCMD() 771 if (resp->scsi_status != SAM_STAT_GOOD) { in stex_copy_data() 787 resp->scsi_status != SAM_STAT_CHECK_CONDITION) in stex_check_cmd() 858 ccb->scsi_status = resp->scsi_status; in stex_mu_intr() 953 ccb->scsi_status = SAM_STAT_GOOD; in stex_ss_mu_intr() 956 ccb->scsi_status = resp->scsi_status; in stex_ss_mu_intr()
|
A D | dc395x.c | 1541 u16 scsi_status) in dc395x_handle_interrupt() argument 1555 if ((scsi_status & 0x2007) == 0x2002) in dc395x_handle_interrupt() 1588 scsi_status, scsi_intstatus); in dc395x_handle_interrupt() 1647 u16 scsi_status; in dc395x_interrupt() local 1656 if (scsi_status & SCSIINTERRUPT) { in dc395x_interrupt() 1884 u16 scsi_status = *pscsi_status; in data_out_phase0() local 1912 if (scsi_status & PARITYERROR) in data_out_phase0() 1921 if (!(scsi_status & SCSIXFERDONE)) { in data_out_phase0() 1964 scsi_status); in data_out_phase0() 2026 u16 scsi_status = *pscsi_status; in data_in_phase0() local [all …]
|
A D | storvsc_drv.c | 193 u8 scsi_status; member 1127 scmnd->result = vm_srb->scsi_status; in storvsc_command_completion() 1186 vstor_packet->vm_srb.scsi_status = 0; in storvsc_on_io_completion() 1191 stor_pkt->vm_srb.scsi_status = vstor_packet->vm_srb.scsi_status; in storvsc_on_io_completion() 1201 if (vstor_packet->vm_srb.scsi_status != 0 || in storvsc_on_io_completion() 1216 vstor_packet->vm_srb.scsi_status, in storvsc_on_io_completion() 1221 if (vstor_packet->vm_srb.scsi_status == SAM_STAT_CHECK_CONDITION && in storvsc_on_io_completion()
|
A D | ncr53c8xx.c | 4347 cp->scsi_status = SAM_STAT_ILLEGAL; in ncr_queue_command() 4680 cp->host_status,cp->scsi_status); in ncr_complete() 4704 cp->scsi_status = cp->auto_sense; in ncr_complete() 4756 cp->host_status, cp->scsi_status); in ncr_complete() 4772 set_status_byte(cmd, cp->scsi_status); in ncr_complete() 4837 set_status_byte(cmd, cp->scsi_status); in ncr_complete() 4845 set_status_byte(cmd, cp->scsi_status); in ncr_complete() 4853 set_status_byte(cmd, cp->scsi_status); in ncr_complete() 4888 switch (cp->scsi_status) { in ncr_complete() 6426 cp->scsi_status = SAM_STAT_ILLEGAL; in ncr_sir_to_redo() [all …]
|
A D | qla1280.c | 1295 uint16_t scsi_status = le16_to_cpu(sts->scsi_status); in qla1280_return_status() local 1379 reason[host_status], scsi_status); in qla1280_return_status() 1384 return (scsi_status & 0xff) | (host_status << 16); in qla1280_return_status() 3512 if ((le16_to_cpu(pkt->scsi_status) & 0xff) in qla1280_isr() 3519 le16_to_cpu(pkt->scsi_status)); in qla1280_isr() 3605 uint16_t scsi_status = le16_to_cpu(pkt->scsi_status); in qla1280_status_entry() local 3626 if (comp_status || scsi_status) { in qla1280_status_entry() 3629 scsi_status, handle); in qla1280_status_entry() 3634 (scsi_status & 0xFF) == SAM_STAT_BUSY) { in qla1280_status_entry() 3635 CMD_RESULT(cmd) = scsi_status & 0xff; in qla1280_status_entry() [all …]
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_isr.c | 2976 uint16_t scsi_status; in qla25xx_process_bidir_status_iocb() local 3011 scsi_status = le16_to_cpu(sts24->scsi_status) & SS_MASK; in qla25xx_process_bidir_status_iocb() 3014 scsi_status = le16_to_cpu(sts->scsi_status) & SS_MASK; in qla25xx_process_bidir_status_iocb() 3020 if (scsi_status == 0) { in qla25xx_process_bidir_status_iocb() 3132 uint16_t scsi_status; in qla2x00_status_entry() local 3150 scsi_status = le16_to_cpu(sts24->scsi_status) & SS_MASK; in qla2x00_status_entry() 3154 scsi_status = le16_to_cpu(sts->scsi_status) & SS_MASK; in qla2x00_status_entry() 3248 if (scsi_status & SS_SENSE_LEN_VALID) in qla2x00_status_entry() 3292 scsi_status & SS_RESIDUAL_OVER) in qla2x00_status_entry() 3309 if (scsi_status == 0) { in qla2x00_status_entry() [all …]
|
A D | qla_target.h | 217 __le16 scsi_status; member 427 __le16 scsi_status; member 439 __le16 scsi_status; member 521 __le16 scsi_status; member 929 uint8_t scsi_status, sense_key, asc, ascq; member
|
A D | qla_mr.c | 2256 __le16 scsi_status; in qlafx00_status_entry() local 2272 scsi_status = sts->scsi_status & cpu_to_le16((uint16_t)SS_MASK); in qlafx00_status_entry() 2297 scsi_status, comp_status); in qlafx00_status_entry() 2302 if (comp_status == CS_COMPLETE && scsi_status == 0) { in qlafx00_status_entry() 2325 if (scsi_status & cpu_to_le16(((uint16_t)SS_RESIDUAL_UNDER in qlafx00_status_entry() 2335 scsi_status & cpu_to_le16((uint16_t)SS_RESIDUAL_OVER)) in qlafx00_status_entry() 2344 if (scsi_status == 0) { in qlafx00_status_entry() 2348 if (scsi_status & cpu_to_le16(((uint16_t)SS_RESIDUAL_UNDER in qlafx00_status_entry() 2435 scsi_status, lscsi_status); in qlafx00_status_entry() 2459 if (!(scsi_status & in qlafx00_status_entry() [all …]
|
/linux/drivers/scsi/fnic/ |
A D | fnic_scsi.c | 862 (u64)icmnd_cmpl->scsi_status << 8 | in fnic_fcpio_icmnd_cmpl_handler() 909 icmnd_cmpl->scsi_status, in fnic_fcpio_icmnd_cmpl_handler() 921 sc->result = (DID_OK << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() 929 if (icmnd_cmpl->scsi_status == SAM_STAT_CHECK_CONDITION) in fnic_fcpio_icmnd_cmpl_handler() 932 if (icmnd_cmpl->scsi_status == SAM_STAT_TASK_SET_FULL) in fnic_fcpio_icmnd_cmpl_handler() 943 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() 949 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() 959 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() 964 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() 969 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() [all …]
|
A D | fcpio.h | 354 u8 scsi_status; /* SCSI status */ member 505 u8 scsi_status; /* SCSI status */ member
|
/linux/drivers/message/fusion/ |
A D | mptscsih.c | 661 u8 scsi_state, scsi_status; in mptscsih_io_done() local 667 scsi_status = pScsiReply->SCSIStatus; in mptscsih_io_done() 679 (scsi_status == MPI_SCSI_STATUS_BUSY || in mptscsih_io_done() 808 sc->result = (DID_OK << 16) | scsi_status; in mptscsih_io_done() 819 sc->result = (DID_OK << 16) | scsi_status; in mptscsih_io_done() 852 if (scsi_status == SAM_STAT_BUSY) in mptscsih_io_done() 877 if (scsi_status == MPI_SCSI_STATUS_TASK_SET_FULL) in mptscsih_io_done() 887 sc->result = (DID_OK << 16) | scsi_status; in mptscsih_io_done() 2678 u8 scsi_status; in mptscsih_get_completion_code() local 2684 scsi_status = pReply->SCSIStatus; in mptscsih_get_completion_code() [all …]
|
/linux/drivers/target/tcm_fc/ |
A D | tfc_cmd.c | 118 se_cmd->scsi_status = SAM_STAT_TASK_SET_FULL; in ft_queue_status() 124 fcp->resp.fr_status = se_cmd->scsi_status; in ft_queue_status() 161 se_cmd->scsi_status = SAM_STAT_TASK_SET_FULL; in ft_queue_status()
|
A D | tfc_io.c | 67 if (se_cmd->scsi_status == SAM_STAT_TASK_SET_FULL) in ft_queue_data_in() 177 se_cmd->scsi_status = SAM_STAT_TASK_SET_FULL; in ft_queue_data_in()
|
/linux/include/uapi/linux/ |
A D | target_core_user.h | 125 __u8 scsi_status; member
|
/linux/drivers/scsi/mpi3mr/mpi/ |
A D | mpi30_init.h | 68 u8 scsi_status; member
|