/openbmc/linux/drivers/scsi/ |
H A D | scsi_error.c | 149 struct scsi_cmnd *scmd = in scmd_eh_abort_handler() local 228 scsi_abort_command(struct scsi_cmnd *scmd) in scsi_abort_command() 404 struct scsi_cmnd *scmd; in scsi_eh_prt_fail_stats() local 1306 struct scsi_cmnd *scmd, *next; in scsi_eh_get_sense() local 1425 struct scsi_cmnd *scmd, *next; in scsi_eh_test_devices() local 1637 struct scsi_cmnd *next, *scmd; in scsi_eh_target_reset() local 1765 struct scsi_cmnd *scmd, *next; in scsi_eh_host_reset() local 1803 struct scsi_cmnd *scmd, *next; in scsi_eh_offline_sdevs() local 2083 struct scsi_cmnd *scmd; in scsi_eh_lock_door() local 2197 struct scsi_cmnd *scmd, *next; in scsi_eh_flush_done_q() local [all …]
|
H A D | scsi_ioctl.c | 351 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(rq); in scsi_fill_sghdr_rq() local 375 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(rq); in scsi_complete_sghdr_rq() local 418 struct scsi_cmnd *scmd; in sg_io() local 510 struct scsi_cmnd *scmd; in sg_scsi_ioctl() local
|
H A D | myrb.c | 1255 static int myrb_host_reset(struct scsi_cmnd *scmd) in myrb_host_reset() 1265 struct scsi_cmnd *scmd) in myrb_pthru_queuecommand() 1340 struct scsi_cmnd *scmd) in myrb_inquiry() 1400 struct scsi_cmnd *scmd) in myrb_request_sense() 1421 struct scsi_cmnd *scmd) in myrb_ldev_queuecommand() 1608 struct scsi_cmnd *scmd) in myrb_queuecommand() 2303 struct scsi_cmnd *scmd) in myrb_handle_scsi() 2721 struct scsi_cmnd *scmd = NULL; in DAC960_LA_intr_handler() local 2969 struct scsi_cmnd *scmd = NULL; in DAC960_PG_intr_handler() local 3162 struct scsi_cmnd *scmd = NULL; in DAC960_PD_intr_handler() local [all …]
|
H A D | scsi_bsg.c | 15 struct scsi_cmnd *scmd; in scsi_bsg_sg_io_fn() local
|
H A D | mvumi.c | 189 static int mvumi_make_sgl(struct mvumi_hba *mhba, struct scsi_cmnd *scmd, in mvumi_make_sgl() 698 static int mvumi_host_reset(struct scsi_cmnd *scmd) in mvumi_host_reset() 1303 struct scsi_cmnd *scmd = cmd->scmd; in mvumi_complete_cmd() local 2026 struct scsi_cmnd *scmd, struct mvumi_cmd *cmd) in mvumi_build_frame() 2080 struct scsi_cmnd *scmd) in mvumi_queue_command() 2112 static enum scsi_timeout_action mvumi_timed_out(struct scsi_cmnd *scmd) in mvumi_timed_out()
|
H A D | scsi_logging.c | 29 static inline const char *scmd_name(const struct scsi_cmnd *scmd) in scmd_name() 83 void scmd_printk(const char *level, const struct scsi_cmnd *scmd, in scmd_printk()
|
H A D | myrs.c | 1532 static int myrs_host_reset(struct scsi_cmnd *scmd) in myrs_host_reset() 1541 static void myrs_mode_sense(struct myrs_hba *cs, struct scsi_cmnd *scmd, in myrs_mode_sense() 1585 struct scsi_cmnd *scmd) in myrs_queuecommand() 2047 struct scsi_cmnd *scmd) in myrs_handle_scsi() 2585 struct scsi_cmnd *scmd = NULL; in DAC960_GEM_intr_handler() local 2804 struct scsi_cmnd *scmd = NULL; in DAC960_BA_intr_handler() local 3023 struct scsi_cmnd *scmd = NULL; in DAC960_LP_intr_handler() local
|
H A D | scsi_priv.h | 43 #define SCSI_SENSE_VALID(scmd) \ argument
|
H A D | hosts.c | 683 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(rq); in complete_all_cmds_iter() local
|
H A D | st.c | 477 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(req); in st_do_stats() local 520 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(req); in st_scsi_execute_end() local 549 struct scsi_cmnd *scmd; in st_scsi_execute() local 3109 unsigned char scmd[MAX_COMMAND_SIZE]; in get_location() local 3172 unsigned char scmd[MAX_COMMAND_SIZE]; in set_location() local 3338 unsigned char scmd[MAX_COMMAND_SIZE]; in format_medium() local
|
H A D | 53c700.h | 27 #define CDEBUG(prefix, scmd, fmt, a...) \ argument 31 #define DDEBUG(prefix, scmd, fmt, a...) do {} while (0) argument 32 #define CDEBUG(prefix, scmd, fmt, a...) do {} while (0) argument
|
/openbmc/linux/include/scsi/ |
H A D | scsi_cmnd.h | 147 static inline struct request *scsi_cmd_to_rq(struct scsi_cmnd *scmd) in scsi_cmd_to_rq() 223 static inline sector_t scsi_get_sector(struct scsi_cmnd *scmd) in scsi_get_sector() 228 static inline sector_t scsi_get_lba(struct scsi_cmnd *scmd) in scsi_get_lba() 235 static inline unsigned int scsi_logical_block_count(struct scsi_cmnd *scmd) in scsi_logical_block_count() 263 static inline void scsi_set_prot_op(struct scsi_cmnd *scmd, unsigned char op) in scsi_set_prot_op() 268 static inline unsigned char scsi_get_prot_op(struct scsi_cmnd *scmd) in scsi_get_prot_op() 294 static inline void scsi_set_prot_type(struct scsi_cmnd *scmd, unsigned char type) in scsi_set_prot_type() 299 static inline unsigned char scsi_get_prot_type(struct scsi_cmnd *scmd) in scsi_get_prot_type() 304 static inline u32 scsi_prot_ref_tag(struct scsi_cmnd *scmd) in scsi_prot_ref_tag() 311 static inline unsigned int scsi_prot_interval(struct scsi_cmnd *scmd) in scsi_prot_interval() [all …]
|
/openbmc/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_os.c | 61 struct scsi_cmnd *scmd) in mpi3mr_host_tag_for_scmd() 103 struct scsi_cmnd *scmd = NULL; in mpi3mr_scmd_from_host_tag() local 133 struct scsi_cmnd *scmd) in mpi3mr_clear_scmd_priv() 452 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(rq); in mpi3mr_print_scmd() local 483 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(rq); in mpi3mr_flush_scmd() local 523 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(rq); in mpi3mr_count_dev_pending() local 555 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(rq); in mpi3mr_count_tgt_pending() local 3131 struct scsi_cmnd *scmd = NULL; in mpi3mr_process_op_reply_desc() local 3659 u8 *resp_code, struct scsi_cmnd *scmd) in mpi3mr_issue_tm() 4600 struct scsi_cmnd *scmd) in mpi3mr_check_return_unmap() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | libata-scsi.c | 787 struct scsi_cmnd *scmd = qc->scsicmd; in ata_qc_set_pc_nbytes() local 1249 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_start_stop_xlat() local 1442 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_verify_xlat() local 1591 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_rw_xlat() local 2710 struct scsi_cmnd *scmd = qc->scsicmd; in atapi_xlat() local 2921 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_pass_thru() local 3243 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_write_same_xlat() local 3448 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_report_zones_complete() local 3512 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_zbc_in_xlat() local 3595 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_zbc_out_xlat() local [all …]
|
H A D | libata-eh.c | 582 struct scsi_cmnd *scmd, *tmp; in ata_scsi_cmd_error_handler() local 1157 static void ata_eh_scsidone(struct scsi_cmnd *scmd) in ata_eh_scsidone() 1165 struct scsi_cmnd *scmd = qc->scsicmd; in __ata_eh_qc_complete() local 1186 struct scsi_cmnd *scmd = qc->scsicmd; in ata_eh_qc_complete() local 1204 struct scsi_cmnd *scmd = qc->scsicmd; in ata_eh_qc_retry() local
|
/openbmc/linux/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fusion.c | 225 struct scsi_cmnd *scmd) in megasas_sdev_busy_inc() 236 struct scsi_cmnd *scmd) in megasas_sdev_busy_dec() 247 struct scsi_cmnd *scmd) in megasas_sdev_busy_read() 390 struct scsi_cmnd *scmd, in megasas_get_msix_index() 2031 struct scsi_cmnd *scmd, u8 status, u8 ext_status, in map_cmd_status() 2100 struct scsi_cmnd *scmd, int sge_count) in megasas_is_prp_possible() 3073 struct scsi_cmnd *scmd, struct megasas_cmd_fusion *cmd, in megasas_build_syspd_fusion() 3364 struct scsi_cmnd *scmd) in megasas_build_and_issue_cmd_fusion() 4729 int megasas_task_abort_fusion(struct scsi_cmnd *scmd) in megasas_task_abort_fusion() 4809 int megasas_reset_target_fusion(struct scsi_cmnd *scmd) in megasas_reset_target_fusion() [all …]
|
H A D | megaraid_sas_base.c | 1742 struct scsi_cmnd *scmd) in megasas_build_and_issue_cmd() 1786 megasas_queue_command(struct Scsi_Host *shost, struct scsi_cmnd *scmd) in megasas_queue_command() 2899 static int megasas_generic_reset(struct scsi_cmnd *scmd) in megasas_generic_reset() 2930 static enum scsi_timeout_action megasas_reset_timer(struct scsi_cmnd *scmd) in megasas_reset_timer() 2999 megasas_dump_fusion_io(struct scsi_cmnd *scmd) in megasas_dump_fusion_io() 3059 static int megasas_reset_bus_host(struct scsi_cmnd *scmd) in megasas_reset_bus_host() 3093 static int megasas_task_abort(struct scsi_cmnd *scmd) in megasas_task_abort() 3115 static int megasas_reset_target(struct scsi_cmnd *scmd) in megasas_reset_target()
|
/openbmc/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 3147 struct scsi_cmnd *scmd; in pqi_process_raid_io_error() local 3248 struct scsi_cmnd *scmd; in pqi_process_aio_io_error() local 5505 struct scsi_cmnd *scmd; in pqi_raid_io_complete() local 5610 struct scsi_cmnd *scmd; in pqi_raid_bypass_retry_needed() local 5637 struct scsi_cmnd *scmd; in pqi_aio_io_complete() local 5868 struct scsi_cmnd *scmd) in pqi_get_hw_queue() 5913 struct scsi_cmnd *scmd) in pqi_is_parity_write_stream() 6159 struct scsi_cmnd *scmd; in pqi_fail_io_queued_for_device() local 6411 struct scsi_cmnd *scmd; in pqi_tmf_worker() local 8975 struct scsi_cmnd *scmd; in pqi_fail_all_outstanding_requests() local [all …]
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_dbf.h | 387 void _zfcp_dbf_scsi(char *tag, int level, struct scsi_cmnd *scmd, in _zfcp_dbf_scsi() 403 void zfcp_dbf_scsi_result(struct scsi_cmnd *scmd, struct zfcp_fsf_req *req) in zfcp_dbf_scsi_result() 418 void zfcp_dbf_scsi_fail_send(struct scsi_cmnd *scmd) in zfcp_dbf_scsi_fail_send() 430 void zfcp_dbf_scsi_abort(char *tag, struct scsi_cmnd *scmd, in zfcp_dbf_scsi_abort()
|
/openbmc/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_warpdrive.c | 256 mpt3sas_setup_direct_io(struct MPT3SAS_ADAPTER *ioc, struct scsi_cmnd *scmd, in mpt3sas_setup_direct_io()
|
H A D | mpt3sas_scsih.c | 1694 struct scsi_cmnd *scmd; in _scsih_scsi_lookup_find_by_target() local 1724 struct scsi_cmnd *scmd; in _scsih_scsi_lookup_find_by_lun() local 1750 struct scsi_cmnd *scmd = NULL; in mpt3sas_scsih_scsi_lookup_get() local 3294 scsih_abort(struct scsi_cmnd *scmd) in scsih_abort() 3368 scsih_dev_reset(struct scsi_cmnd *scmd) in scsih_dev_reset() 3449 scsih_target_reset(struct scsi_cmnd *scmd) in scsih_target_reset() 3528 scsih_host_reset(struct scsi_cmnd *scmd) in scsih_host_reset() 4302 struct scsi_cmnd *scmd) in _scsih_allow_scmd_to_device() 5014 struct scsi_cmnd *scmd; in _scsih_flush_running_cmds() local 5709 struct scsi_cmnd *scmd; in _scsih_io_done() local [all …]
|
H A D | mpt3sas_base.c | 448 struct scsi_cmnd *scmd; in _clone_sg_entries() local 2142 struct scsi_cmnd *scmd) in _base_get_chain_buffer_tracker() 2441 struct scsi_cmnd *scmd, in base_make_prp_nvme() 2568 struct _pcie_device *pcie_device, struct scsi_cmnd *scmd, int sge_count) in base_is_prp_possible() 2606 Mpi25SCSIIORequest_t *mpi_request, u16 smid, struct scsi_cmnd *scmd, in _base_check_pcie_native_sgl() 2706 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *unused) in _base_build_sg_scmd() 2847 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device) in _base_build_sg_scmd_ieee() 3867 struct scsi_cmnd *scmd) in _base_get_msix_index() 3897 struct scsi_cmnd *scmd) in _base_get_high_iops_msix_index() 3954 struct scsi_cmnd *scmd) in mpt3sas_base_get_smid_scsiio()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_pscsi.c | 939 struct scsi_cmnd *scmd; in pscsi_execute_cmd() local 1009 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(req); in pscsi_req_done() local
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | smu.h | 445 static inline void smu_spinwait_simple(struct smu_simple_cmd *scmd) in smu_spinwait_simple() 503 struct smu_cmd scmd; member
|
/openbmc/linux/drivers/macintosh/ |
H A D | smu.c | 290 int smu_queue_simple(struct smu_simple_cmd *scmd, u8 command, in smu_queue_simple() 769 static void smu_i2c_low_completion(struct smu_cmd *scmd, void *misc) in smu_i2c_low_completion()
|