Home
last modified time | relevance | path

Searched refs:scsi_status (Results 1 - 25 of 157) sorted by relevance

1234567

/kernel/linux/linux-5.10/include/trace/events/
H A Dtarget.h182 __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),
/kernel/linux/linux-6.6/include/trace/events/
H A Dtarget.h182 __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),
/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_xcopy.c589 se_cmd->scsi_status); in target_xcopy_issue_pt_cmd()
591 return (se_cmd->scsi_status) ? -EINVAL : 0; in target_xcopy_issue_pt_cmd()
624 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source()
633 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source()
669 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination()
675 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination()
[all...]
H A Dtarget_core_pscsi.c593 static void pscsi_complete_cmd(struct se_cmd *cmd, u8 scsi_status, in pscsi_complete_cmd() argument
616 scsi_status == SAM_STAT_GOOD) { in pscsi_complete_cmd()
652 scsi_status == SAM_STAT_GOOD) { in pscsi_complete_cmd()
680 if (scsi_status == SAM_STAT_CHECK_CONDITION) { in pscsi_complete_cmd()
1052 u8 scsi_status = status_byte(result) << 1; in pscsi_req_done() local
1054 if (scsi_status) { in pscsi_req_done()
1060 pscsi_complete_cmd(cmd, scsi_status, scsi_req(req)->sense); in pscsi_req_done()
1064 target_complete_cmd_with_length(cmd, scsi_status, in pscsi_req_done()
H A Dtarget_core_transport.c744 dev->se_hba->hba_id, dev->transport->name, cmd->scsi_status); in transport_get_sense_buffer()
776 cmd->scsi_status = SAM_STAT_TASK_ABORTED; in target_handle_abort()
840 void target_complete_cmd(struct se_cmd *cmd, u8 scsi_status) in target_complete_cmd() argument
848 cmd->scsi_status = scsi_status; in target_complete_cmd()
851 switch (cmd->scsi_status) { in target_complete_cmd()
888 void target_complete_cmd_with_length(struct se_cmd *cmd, u8 scsi_status, int length) in target_complete_cmd_with_length() argument
890 if (scsi_status == SAM_STAT_GOOD || in target_complete_cmd_with_length()
895 target_complete_cmd(cmd, scsi_status); in target_complete_cmd_with_length()
1921 cmd->scsi_status in transport_generic_request_failure()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/elx/efct/
H A Defct_lio.c300 enum efct_scsi_io_status scsi_status, in efct_lio_abort_tgt_cb()
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()
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 in efct_lio_send_resp()
299 efct_lio_abort_tgt_cb(struct efct_io *io, enum efct_scsi_io_status scsi_status, u32 flags, void *arg) efct_lio_abort_tgt_cb() argument
390 efct_lio_status_done(struct efct_io *io, enum efct_scsi_io_status scsi_status, u32 flags, void *arg) efct_lio_status_done() argument
570 efct_lio_datamove_done(struct efct_io *io, enum efct_scsi_io_status scsi_status, u32 flags, void *arg) efct_lio_datamove_done() argument
627 efct_lio_tmf_done(struct efct_io *io, enum efct_scsi_io_status scsi_status, u32 flags, void *arg) efct_lio_tmf_done() argument
639 efct_lio_null_tmf_done(struct efct_io *tmfio, enum efct_scsi_io_status scsi_status, u32 flags, void *arg) efct_lio_null_tmf_done() argument
[all...]
H A Defct_scsi.c739 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 in efct_target_abort_cb()
[all...]
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_xcopy.c564 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()
[all...]
H A Dtarget_core_transport.c810 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, in argument
[all...]
H A Dtarget_core_pscsi.c587 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()
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
H A Dql4_isr.c117 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 != SCSI_CHECK_CONDITION) in qla4xxx_status_entry()
256 * Fall thru to check scsi_status 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()
280 * scsi_status | host_byt in qla4xxx_status_entry()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla4xxx/
H A Dql4_isr.c117 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()
256 * Fall thru to check scsi_status 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()
280 * scsi_status | host_byt in qla4xxx_status_entry()
[all...]
/kernel/linux/linux-5.10/drivers/usb/image/
H A Dmicrotek.c412 context->srb->result |= (unsigned)(*context->scsi_status)<<1; in mts_transfer_done()
426 context->scsi_status, in mts_get_status()
737 new_desc->context.scsi_status = kmalloc(1, GFP_KERNEL); in mts_usb_probe()
738 if (!new_desc->context.scsi_status) in mts_usb_probe()
779 kfree(new_desc->context.scsi_status); in mts_usb_probe()
799 kfree(desc->context.scsi_status); in mts_usb_disconnect()
H A Dmicrotek.h26 u8 *scsi_status; /* status returned from ep_response after command completion */ member
/kernel/linux/linux-6.6/drivers/usb/image/
H A Dmicrotek.c416 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()
H A Dmicrotek.h26 u8 *scsi_status; /* status returned from ep_response after command completion */ member
/kernel/linux/linux-5.10/drivers/scsi/
H A Dqla1280.h572 __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
H A Dstex.c251 u8 scsi_status; member
309 u8 scsi_status; member
740 result = ccb->scsi_status; in stex_scsi_done()
741 switch (ccb->scsi_status) { in stex_scsi_done()
779 if (resp->scsi_status != SAM_STAT_GOOD) { in stex_copy_data()
795 resp->scsi_status != SAM_STAT_CHECK_CONDITION) in stex_check_cmd()
866 ccb->scsi_status = resp->scsi_status; in stex_mu_intr()
961 ccb->scsi_status = SAM_STAT_GOOD; in stex_ss_mu_intr()
964 ccb->scsi_status in stex_ss_mu_intr()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dqla1280.h571 __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
H A Dstex.c251 u8 scsi_status; member
309 u8 scsi_status; member
737 result = ccb->scsi_status; in stex_scsi_done()
738 switch (ccb->scsi_status) { in stex_scsi_done()
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 in stex_ss_mu_intr()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_isr.c2244 } else if ((le16_to_cpu(sts->scsi_status) & in qla24xx_tm_iocb_entry()
2696 uint16_t scsi_status; in qla25xx_process_bidir_status_iocb() local
2731 scsi_status = le16_to_cpu(sts24->scsi_status) & SS_MASK; in qla25xx_process_bidir_status_iocb()
2734 scsi_status = le16_to_cpu(sts->scsi_status) & SS_MASK; in qla25xx_process_bidir_status_iocb()
2740 if (scsi_status == 0) { in qla25xx_process_bidir_status_iocb()
2852 uint16_t scsi_status; in qla2x00_status_entry() local
2870 scsi_status = le16_to_cpu(sts24->scsi_status) in qla2x00_status_entry()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_isr.c2672 } 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) in qla2x00_status_entry()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dfnic_scsi.c863 (u64)icmnd_cmpl->scsi_status << 8 | in fnic_fcpio_icmnd_cmpl_handler()
907 "scsi_status = %x residual = %d\n", in fnic_fcpio_icmnd_cmpl_handler()
910 icmnd_cmpl->scsi_status, in fnic_fcpio_icmnd_cmpl_handler()
922 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()
938 sc->result = (DID_TIME_OUT << 16) | icmnd_cmpl->scsi_status; 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()
954 sc->result = (DID_REQUEUE << 16) | icmnd_cmpl->scsi_status; in fnic_fcpio_icmnd_cmpl_handler()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dfnic_scsi.c849 (u64)icmnd_cmpl->scsi_status << 8 | in fnic_fcpio_icmnd_cmpl_handler()
893 "scsi_status = %x residual = %d\n", 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()
[all...]
/kernel/linux/linux-5.10/drivers/message/fusion/
H A Dmptscsih.c547 "scsi_status = %s (0x%02x), scsi_state = (0x%02x)\n", in mptscsih_info_scsiio()
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 in mptscsih_io_done()
2678 u8 scsi_status; mptscsih_get_completion_code() local
[all...]

Completed in 44 milliseconds

1234567