Home
last modified time | relevance | path

Searched defs:scmd (Results 1 – 25 of 48) sorted by relevance

12

/Linux-v4.19/drivers/scsi/
Dscsi_error.c131 struct scsi_cmnd *scmd = in scmd_eh_abort_handler() local
185 scsi_abort_command(struct scsi_cmnd *scmd) in scsi_abort_command()
222 static void scsi_eh_reset(struct scsi_cmnd *scmd) in scsi_eh_reset()
233 struct scsi_cmnd *scmd = container_of(head, typeof(*scmd), rcu); in scsi_eh_inc_host_failed() local
247 void scsi_eh_scmd_add(struct scsi_cmnd *scmd) in scsi_eh_scmd_add()
285 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(req); in scsi_times_out() local
357 struct scsi_cmnd *scmd; in scsi_eh_prt_fail_stats() local
483 int scsi_check_sense(struct scsi_cmnd *scmd) in scsi_check_sense()
708 static int scsi_eh_completed_normally(struct scsi_cmnd *scmd) in scsi_eh_completed_normally()
773 static void scsi_eh_done(struct scsi_cmnd *scmd) in scsi_eh_done()
[all …]
Dmvumi.c204 static int mvumi_make_sgl(struct mvumi_hba *mhba, struct scsi_cmnd *scmd, in mvumi_make_sgl()
712 static int mvumi_host_reset(struct scsi_cmnd *scmd) in mvumi_host_reset()
1316 struct scsi_cmnd *scmd = cmd->scmd; in mvumi_complete_cmd() local
2040 struct scsi_cmnd *scmd, struct mvumi_cmd *cmd) in mvumi_build_frame()
2097 struct scsi_cmnd *scmd) in mvumi_queue_command()
2130 static enum blk_eh_timer_return mvumi_timed_out(struct scsi_cmnd *scmd) in mvumi_timed_out()
Dscsi_priv.h24 #define SCSI_SENSE_VALID(scmd) \ argument
Dscsi_logging.c72 static inline const char *scmd_name(const struct scsi_cmnd *scmd) in scmd_name()
123 void scmd_printk(const char *level, const struct scsi_cmnd *scmd, in scmd_printk()
D53c700.h28 #define CDEBUG(prefix, scmd, fmt, a...) \ argument
32 #define DDEBUG(prefix, scmd, fmt, a...) do {} while (0) argument
33 #define CDEBUG(prefix, scmd, fmt, a...) do {} while (0) argument
Dsd_zbc.c162 static void sd_zbc_report_zones_complete(struct scsi_cmnd *scmd, in sd_zbc_report_zones_complete()
Dsd.c660 static unsigned char sd_setup_protect_cmnd(struct scsi_cmnd *scmd, in sd_setup_protect_cmnd()
1819 static void sd_eh_reset(struct scsi_cmnd *scmd) in sd_eh_reset()
1839 static int sd_eh_action(struct scsi_cmnd *scmd, int eh_disp) in sd_eh_action()
1880 static unsigned int sd_completed_bytes(struct scsi_cmnd *scmd) in sd_completed_bytes()
Dpmcraid.c3050 static int pmcraid_eh_device_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_device_reset_handler()
3059 static int pmcraid_eh_bus_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_bus_reset_handler()
3068 static int pmcraid_eh_target_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_target_reset_handler()
3087 static int pmcraid_eh_host_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_host_reset_handler()
/Linux-v4.19/include/scsi/
Dscsi_cmnd.h264 static inline void scsi_set_prot_op(struct scsi_cmnd *scmd, unsigned char op) in scsi_set_prot_op()
269 static inline unsigned char scsi_get_prot_op(struct scsi_cmnd *scmd) in scsi_get_prot_op()
295 static inline void scsi_set_prot_type(struct scsi_cmnd *scmd, unsigned char type) in scsi_set_prot_type()
300 static inline unsigned char scsi_get_prot_type(struct scsi_cmnd *scmd) in scsi_get_prot_type()
305 static inline sector_t scsi_get_lba(struct scsi_cmnd *scmd) in scsi_get_lba()
310 static inline unsigned int scsi_prot_interval(struct scsi_cmnd *scmd) in scsi_prot_interval()
348 static inline unsigned scsi_transfer_length(struct scsi_cmnd *scmd) in scsi_transfer_length()
Dscsi_device.h257 #define scmd_dbg(scmd, fmt, a...) \ argument
482 #define scmd_id(scmd) sdev_id((scmd)->device) argument
483 #define scmd_channel(scmd) sdev_channel((scmd)->device) argument
/Linux-v4.19/drivers/ata/
Dlibata-scsi.c883 struct scsi_cmnd *scmd = qc->scsicmd; in ata_qc_set_pc_nbytes() local
1477 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_start_stop_xlat() local
1692 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_verify_xlat() local
1826 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_rw_xlat() local
2947 struct scsi_cmnd *scmd = qc->scsicmd; in atapi_xlat() local
3141 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_pass_thru() local
3448 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_write_same_xlat() local
3629 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_report_zones_complete() local
3693 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_zbc_in_xlat() local
3776 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_zbc_out_xlat() local
[all …]
Dlibata-eh.c599 struct scsi_cmnd *scmd, *tmp; in ata_scsi_cmd_error_handler() local
1235 static void ata_eh_scsidone(struct scsi_cmnd *scmd) in ata_eh_scsidone()
1243 struct scsi_cmnd *scmd = qc->scsicmd; in __ata_eh_qc_complete() local
1264 struct scsi_cmnd *scmd = qc->scsicmd; in ata_eh_qc_complete() local
1282 struct scsi_cmnd *scmd = qc->scsicmd; in ata_eh_qc_retry() local
/Linux-v4.19/drivers/scsi/smartpqi/
Dsmartpqi_init.c173 static inline void pqi_scsi_done(struct scsi_cmnd *scmd) in pqi_scsi_done()
2065 struct pqi_scsi_dev *device, struct scsi_cmnd *scmd, in pqi_raid_bypass_submit_scsi_cmd()
2489 struct scsi_cmnd *scmd; in pqi_process_raid_io_error() local
2575 struct scsi_cmnd *scmd; in pqi_process_aio_io_error() local
4431 struct pqi_raid_path_request *request, struct scsi_cmnd *scmd, in pqi_build_raid_sg_list()
4495 struct pqi_aio_path_request *request, struct scsi_cmnd *scmd, in pqi_build_aio_sg_list()
4562 struct scsi_cmnd *scmd; in pqi_raid_io_complete() local
4572 struct pqi_scsi_dev *device, struct scsi_cmnd *scmd, in pqi_raid_submit_scsi_cmd_with_io_request()
4661 struct pqi_scsi_dev *device, struct scsi_cmnd *scmd, in pqi_raid_submit_scsi_cmd()
4680 struct scsi_cmnd *scmd; in pqi_raid_bypass_retry_needed() local
[all …]
/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c1771 struct scsi_cmnd *scmd, u8 status, u8 ext_status, in map_cmd_status()
1843 struct scsi_cmnd *scmd, int sge_count) in megasas_is_prp_possible()
1953 megasas_make_prp_nvme(struct megasas_instance *instance, struct scsi_cmnd *scmd, in megasas_make_prp_nvme()
2806 struct scsi_cmnd *scmd, struct megasas_cmd_fusion *cmd) in megasas_build_ld_nonrw_fusion()
2896 struct scsi_cmnd *scmd, struct megasas_cmd_fusion *cmd, in megasas_build_syspd_fusion()
3172 struct scsi_cmnd *scmd) in megasas_build_and_issue_cmd_fusion()
4244 static u16 megasas_fusion_smid_lookup(struct scsi_cmnd *scmd) in megasas_fusion_smid_lookup()
4312 int megasas_task_abort_fusion(struct scsi_cmnd *scmd) in megasas_task_abort_fusion()
4396 int megasas_reset_target_fusion(struct scsi_cmnd *scmd) in megasas_reset_target_fusion()
4480 struct scsi_cmnd *scmd) in megasas_check_mpio_paths()
Dmegaraid_sas_base.c1653 struct scsi_cmnd *scmd) in megasas_build_and_issue_cmd()
1697 megasas_queue_command(struct Scsi_Host *shost, struct scsi_cmnd *scmd) in megasas_queue_command()
2748 static int megasas_generic_reset(struct scsi_cmnd *scmd) in megasas_generic_reset()
2780 blk_eh_timer_return megasas_reset_timer(struct scsi_cmnd *scmd) in megasas_reset_timer()
2825 static int megasas_reset_bus_host(struct scsi_cmnd *scmd) in megasas_reset_bus_host()
2863 static int megasas_task_abort(struct scsi_cmnd *scmd) in megasas_task_abort()
2885 static int megasas_reset_target(struct scsi_cmnd *scmd) in megasas_reset_target()
/Linux-v4.19/drivers/s390/scsi/
Dzfcp_dbf.h355 void _zfcp_dbf_scsi(char *tag, int level, struct scsi_cmnd *scmd, in _zfcp_dbf_scsi()
371 void zfcp_dbf_scsi_result(struct scsi_cmnd *scmd, struct zfcp_fsf_req *req) in zfcp_dbf_scsi_result()
386 void zfcp_dbf_scsi_fail_send(struct scsi_cmnd *scmd) in zfcp_dbf_scsi_fail_send()
398 void zfcp_dbf_scsi_abort(char *tag, struct scsi_cmnd *scmd, in zfcp_dbf_scsi_abort()
Dzfcp_scsi.c815 void zfcp_scsi_dif_sense_error(struct scsi_cmnd *scmd, int ascq) in zfcp_scsi_dif_sense_error()
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_warpdrive.c272 mpt3sas_setup_direct_io(struct MPT3SAS_ADAPTER *ioc, struct scsi_cmnd *scmd, in mpt3sas_setup_direct_io()
Dmpt3sas_base.c370 struct scsi_cmnd *scmd; in _clone_sg_entries() local
1694 struct scsi_cmnd *scmd) in _base_get_chain_buffer_tracker()
1992 struct scsi_cmnd *scmd, in base_make_prp_nvme()
2119 struct _pcie_device *pcie_device, struct scsi_cmnd *scmd, int sge_count) in base_is_prp_possible()
2152 Mpi25SCSIIORequest_t *mpi_request, u16 smid, struct scsi_cmnd *scmd, in _base_check_pcie_native_sgl()
2240 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *unused) in _base_build_sg_scmd()
2385 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device) in _base_build_sg_scmd_ieee()
3203 struct scsi_cmnd *scmd) in mpt3sas_base_get_smid_scsiio()
Dmpt3sas_scsih.c1475 struct scsi_cmnd *scmd = NULL; in mpt3sas_scsih_scsi_lookup_get() local
2754 _scsih_tm_display_info(struct MPT3SAS_ADAPTER *ioc, struct scsi_cmnd *scmd) in _scsih_tm_display_info()
2835 scsih_abort(struct scsi_cmnd *scmd) in scsih_abort()
2903 scsih_dev_reset(struct scsi_cmnd *scmd) in scsih_dev_reset()
2981 scsih_target_reset(struct scsi_cmnd *scmd) in scsih_target_reset()
3058 scsih_host_reset(struct scsi_cmnd *scmd) in scsih_host_reset()
4439 static int _scsih_set_satl_pending(struct scsi_cmnd *scmd, bool pending) in _scsih_set_satl_pending()
4463 struct scsi_cmnd *scmd; in _scsih_flush_running_cmds() local
4496 _scsih_setup_eedp(struct MPT3SAS_ADAPTER *ioc, struct scsi_cmnd *scmd, in _scsih_setup_eedp()
4554 _scsih_eedp_error_handling(struct scsi_cmnd *scmd, u16 ioc_status) in _scsih_eedp_error_handling()
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Dsmu.h445 static inline void smu_spinwait_simple(struct smu_simple_cmd *scmd) in smu_spinwait_simple()
503 struct smu_cmd scmd; member
/Linux-v4.19/drivers/macintosh/
Dsmu.c291 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()
/Linux-v4.19/drivers/scsi/isci/
Drequest.c300 struct scsi_cmnd *scmd = ireq->ttype_ptr.io_task_ptr->uldd_task; in scu_ssp_ireq_dif_insert() local
355 struct scsi_cmnd *scmd = ireq->ttype_ptr.io_task_ptr->uldd_task; in scu_ssp_ireq_dif_strip() local
424 struct scsi_cmnd *scmd = sas_task->uldd_task; in scu_ssp_io_request_construct_task_context() local
/Linux-v4.19/drivers/message/fusion/
Dmptscsih.c2468 struct scsi_cmnd *scmd; in mptscsih_get_scsi_lookup() local
2490 struct scsi_cmnd *scmd; in mptscsih_getclear_scsi_lookup() local
2509 mptscsih_set_scsi_lookup(MPT_ADAPTER *ioc, int i, struct scsi_cmnd *scmd) in mptscsih_set_scsi_lookup()
/Linux-v4.19/drivers/crypto/chelsio/chtls/
Dchtls_io.c355 struct tls_scmd *scmd; in tls_tx_data_wr() local
451 struct tls_scmd *scmd = &hws->scmd; in chtls_expansion_size() local

12