/linux-6.6.21/include/trace/events/ |
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-6.6.21/drivers/scsi/elx/efct/ |
D | efct_lio.c | 300 enum efct_scsi_io_status scsi_status, in efct_lio_abort_tgt_cb() argument 303 efct_lio_io_printf(io, "Abort done, status:%d\n", scsi_status); in efct_lio_abort_tgt_cb() 391 enum efct_scsi_io_status scsi_status, in efct_lio_status_done() argument 397 if (scsi_status != EFCT_SCSI_STATUS_GOOD) { in efct_lio_status_done() 399 scsi_status); in efct_lio_status_done() 400 ocp->err = scsi_status; in efct_lio_status_done() 406 scsi_status, ocp->err, flags, ocp->ddir); in efct_lio_status_done() 414 efct_lio_datamove_done(struct efct_io *io, enum efct_scsi_io_status scsi_status, 531 efct_lio_send_resp(struct efct_io *io, enum efct_scsi_io_status scsi_status, in efct_lio_send_resp() argument 548 rsp.scsi_status = cmd->scsi_status; in efct_lio_send_resp() [all …]
|
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-6.6.21/drivers/target/ |
D | target_core_xcopy.c | 564 se_cmd->scsi_status); in target_xcopy_issue_pt_cmd() 566 return (se_cmd->scsi_status) ? -EINVAL : 0; in target_xcopy_issue_pt_cmd() 599 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source() 608 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source() 644 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination() 650 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination()
|
D | target_core_transport.c | 810 dev->se_hba->hba_id, dev->transport->name, cmd->scsi_status); in transport_get_sense_buffer() 842 cmd->scsi_status = SAM_STAT_TASK_ABORTED; in target_handle_abort() 906 void target_complete_cmd_with_sense(struct se_cmd *cmd, u8 scsi_status, in target_complete_cmd_with_sense() argument 916 cmd->scsi_status = scsi_status; in target_complete_cmd_with_sense() 920 switch (cmd->scsi_status) { in target_complete_cmd_with_sense() 948 void target_complete_cmd(struct se_cmd *cmd, u8 scsi_status) in target_complete_cmd() argument 950 target_complete_cmd_with_sense(cmd, scsi_status, scsi_status ? in target_complete_cmd() 971 void target_complete_cmd_with_length(struct se_cmd *cmd, u8 scsi_status, int length) in target_complete_cmd_with_length() argument 973 if (scsi_status == SAM_STAT_GOOD || in target_complete_cmd_with_length() 978 target_complete_cmd(cmd, scsi_status); in target_complete_cmd_with_length() [all …]
|
D | target_core_pscsi.c | 587 static void pscsi_complete_cmd(struct se_cmd *cmd, u8 scsi_status, in pscsi_complete_cmd() argument 608 scsi_status == SAM_STAT_GOOD) { in pscsi_complete_cmd() 644 scsi_status == SAM_STAT_GOOD) { in pscsi_complete_cmd() 672 if (scsi_status == SAM_STAT_CHECK_CONDITION) { in pscsi_complete_cmd() 1010 enum sam_status scsi_status = scmd->result & 0xff; in pscsi_req_done() local 1014 if (scsi_status != SAM_STAT_GOOD) { in pscsi_req_done() 1019 pscsi_complete_cmd(cmd, scsi_status, scmd->sense_buffer, valid_data); in pscsi_req_done() 1023 target_complete_cmd_with_length(cmd, scsi_status, valid_data); in pscsi_req_done()
|
/linux-6.6.21/drivers/usb/image/ |
D | microtek.c | 416 context->srb->result |= (unsigned)(*context->scsi_status)<<1; in mts_transfer_done() 430 context->scsi_status, in mts_get_status() 740 new_desc->context.scsi_status = kmalloc(1, GFP_KERNEL); in mts_usb_probe() 741 if (!new_desc->context.scsi_status) in mts_usb_probe() 782 kfree(new_desc->context.scsi_status); in mts_usb_probe() 802 kfree(desc->context.scsi_status); in mts_usb_disconnect()
|
D | microtek.h | 26 u8 *scsi_status; /* status returned from ep_response after command completion */ member
|
/linux-6.6.21/drivers/scsi/qla4xxx/ |
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-6.6.21/drivers/scsi/ |
D | qla1280.h | 571 __le16 scsi_status; /* SCSI status. */ member 792 uint8_t scsi_status; member 815 uint8_t scsi_status; member 848 uint8_t scsi_status; member 878 uint8_t scsi_status; member 908 uint8_t scsi_status; member
|
D | stex.c | 251 u8 scsi_status; member 309 u8 scsi_status; member 737 result = ccb->scsi_status; in DEF_SCSI_QCMD() 738 switch (ccb->scsi_status) { in DEF_SCSI_QCMD() 776 if (resp->scsi_status != SAM_STAT_GOOD) { in stex_copy_data() 792 resp->scsi_status != SAM_STAT_CHECK_CONDITION) in stex_check_cmd() 863 ccb->scsi_status = resp->scsi_status; in stex_mu_intr() 958 ccb->scsi_status = SAM_STAT_GOOD; in stex_ss_mu_intr() 961 ccb->scsi_status = resp->scsi_status; in stex_ss_mu_intr()
|
D | dc395x.c | 1540 u16 scsi_status) in dc395x_handle_interrupt() argument 1554 if ((scsi_status & 0x2007) == 0x2002) in dc395x_handle_interrupt() 1556 "COP after COP completed? %04x\n", scsi_status); in dc395x_handle_interrupt() 1587 scsi_status, scsi_intstatus); in dc395x_handle_interrupt() 1613 dc395x_statev(acb, srb, &scsi_status); in dc395x_handle_interrupt() 1620 srb->scsi_phase = scsi_status & PHASEMASK; in dc395x_handle_interrupt() 1621 phase = (u16)scsi_status & PHASEMASK; in dc395x_handle_interrupt() 1636 dc395x_statev(acb, srb, &scsi_status); in dc395x_handle_interrupt() 1646 u16 scsi_status; in dc395x_interrupt() local 1653 scsi_status = DC395x_read16(acb, TRM_S1040_SCSI_STATUS); in dc395x_interrupt() [all …]
|
D | storvsc_drv.c | 175 u8 scsi_status; member 1090 scmnd->result = vm_srb->scsi_status; in storvsc_command_completion() 1149 vstor_packet->vm_srb.scsi_status = 0; in storvsc_on_io_completion() 1154 stor_pkt->vm_srb.scsi_status = vstor_packet->vm_srb.scsi_status; in storvsc_on_io_completion() 1164 if (vstor_packet->vm_srb.scsi_status != 0 || in storvsc_on_io_completion() 1179 vstor_packet->vm_srb.scsi_status, in storvsc_on_io_completion() 1184 if (vstor_packet->vm_srb.scsi_status == SAM_STAT_CHECK_CONDITION && in storvsc_on_io_completion()
|
D | ncr53c8xx.c | 1432 #define scsi_status phys.header.status[1] macro 1437 #define scsi_status phys.header.status[2] macro 4346 cp->scsi_status = SAM_STAT_ILLEGAL; in ncr_queue_command() 4679 cp->host_status,cp->scsi_status); in ncr_complete() 4703 cp->scsi_status = cp->auto_sense; in ncr_complete() 4752 cp->scsi_status != SAM_STAT_GOOD) { in ncr_complete() 4755 cp->host_status, cp->scsi_status); in ncr_complete() 4764 && (cp->scsi_status == SAM_STAT_GOOD || in ncr_complete() 4765 cp->scsi_status == SAM_STAT_CONDITION_MET)) { in ncr_complete() 4771 set_status_byte(cmd, cp->scsi_status); in ncr_complete() [all …]
|
D | qla1280.c | 1288 uint16_t scsi_status = le16_to_cpu(sts->scsi_status); in qla1280_return_status() local 1372 reason[host_status], scsi_status); in qla1280_return_status() 1377 return (scsi_status & 0xff) | (host_status << 16); in qla1280_return_status() 3505 if ((le16_to_cpu(pkt->scsi_status) & 0xff) in qla1280_isr() 3512 le16_to_cpu(pkt->scsi_status)); in qla1280_isr() 3598 uint16_t scsi_status = le16_to_cpu(pkt->scsi_status); in qla1280_status_entry() local 3619 if (comp_status || scsi_status) { in qla1280_status_entry() 3622 scsi_status, handle); in qla1280_status_entry() 3626 if ((scsi_status & 0xFF) == SAM_STAT_TASK_SET_FULL || in qla1280_status_entry() 3627 (scsi_status & 0xFF) == SAM_STAT_BUSY) { in qla1280_status_entry() [all …]
|
/linux-6.6.21/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 2672 } else if ((le16_to_cpu(sts->scsi_status) & in qla24xx_tm_iocb_entry() 3149 uint16_t scsi_status; in qla25xx_process_bidir_status_iocb() local 3184 scsi_status = le16_to_cpu(sts24->scsi_status) & SS_MASK; in qla25xx_process_bidir_status_iocb() 3187 scsi_status = le16_to_cpu(sts->scsi_status) & SS_MASK; in qla25xx_process_bidir_status_iocb() 3193 if (scsi_status == 0) { in qla25xx_process_bidir_status_iocb() 3305 uint16_t scsi_status; in qla2x00_status_entry() local 3323 scsi_status = le16_to_cpu(sts24->scsi_status) & SS_MASK; in qla2x00_status_entry() 3327 scsi_status = le16_to_cpu(sts->scsi_status) & SS_MASK; in qla2x00_status_entry() 3397 if (comp_status == CS_COMPLETE && scsi_status == 0) { in qla2x00_status_entry() 3413 lscsi_status = scsi_status & STATUS_MASK; in qla2x00_status_entry() [all …]
|
D | qla_target.h | 217 __le16 scsi_status; member 427 __le16 scsi_status; member 439 __le16 scsi_status; member 521 __le16 scsi_status; member 925 uint8_t scsi_status, sense_key, asc, ascq; member
|
D | qla_mr.c | 2257 __le16 scsi_status; in qlafx00_status_entry() local 2273 scsi_status = sts->scsi_status & cpu_to_le16((uint16_t)SS_MASK); in qlafx00_status_entry() 2298 scsi_status, comp_status); in qlafx00_status_entry() 2303 if (comp_status == CS_COMPLETE && scsi_status == 0) { in qlafx00_status_entry() 2318 lscsi_status = scsi_status & cpu_to_le16((uint16_t)STATUS_MASK); in qlafx00_status_entry() 2324 if (scsi_status & cpu_to_le16((uint16_t)SS_SENSE_LEN_VALID)) in qlafx00_status_entry() 2326 if (scsi_status & cpu_to_le16(((uint16_t)SS_RESIDUAL_UNDER in qlafx00_status_entry() 2336 scsi_status & cpu_to_le16((uint16_t)SS_RESIDUAL_OVER)) in qlafx00_status_entry() 2345 if (scsi_status == 0) { in qlafx00_status_entry() 2349 if (scsi_status & cpu_to_le16(((uint16_t)SS_RESIDUAL_UNDER in qlafx00_status_entry() [all …]
|
/linux-6.6.21/drivers/scsi/fnic/ |
D | fnic_scsi.c | 849 (u64)icmnd_cmpl->scsi_status << 8 | in fnic_fcpio_icmnd_cmpl_handler() 896 icmnd_cmpl->scsi_status, in fnic_fcpio_icmnd_cmpl_handler() 908 sc->result = (DID_OK << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() 916 if (icmnd_cmpl->scsi_status == SAM_STAT_CHECK_CONDITION) in fnic_fcpio_icmnd_cmpl_handler() 919 if (icmnd_cmpl->scsi_status == SAM_STAT_TASK_SET_FULL) in fnic_fcpio_icmnd_cmpl_handler() 925 sc->result = (DID_TIME_OUT << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() 930 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() 936 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() 941 sc->result = (DID_REQUEUE << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() 946 sc->result = (DID_ERROR << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler() [all …]
|
D | fcpio.h | 342 u8 scsi_status; /* SCSI status */ member 493 u8 scsi_status; /* SCSI status */ member
|
/linux-6.6.21/drivers/target/tcm_fc/ |
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()
|
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-6.6.21/drivers/message/fusion/ |
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() 680 scsi_status == MPI_SCSI_STATUS_RESERVATION_CONFLICT || in mptscsih_io_done() 681 scsi_status == MPI_SCSI_STATUS_TASK_SET_FULL)) { 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() [all …]
|
/linux-6.6.21/include/uapi/linux/ |
D | target_core_user.h | 125 __u8 scsi_status; member
|
/linux-6.6.21/drivers/scsi/mpi3mr/mpi/ |
D | mpi30_init.h | 72 u8 scsi_status; member
|