Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_error.c140 struct scsi_cmnd *scmd = in scmd_eh_abort_handler() local
194 scsi_abort_command(struct scsi_cmnd *scmd) in scsi_abort_command()
231 static void scsi_eh_reset(struct scsi_cmnd *scmd) in scsi_eh_reset()
242 struct scsi_cmnd *scmd = container_of(head, typeof(*scmd), rcu); in scsi_eh_inc_host_failed() local
256 void scsi_eh_scmd_add(struct scsi_cmnd *scmd) in scsi_eh_scmd_add()
294 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(req); in scsi_times_out() local
363 struct scsi_cmnd *scmd; in scsi_eh_prt_fail_stats() local
489 int scsi_check_sense(struct scsi_cmnd *scmd) in scsi_check_sense()
714 static int scsi_eh_completed_normally(struct scsi_cmnd *scmd) in scsi_eh_completed_normally()
779 static void scsi_eh_done(struct scsi_cmnd *scmd) in scsi_eh_done()
[all …]
Dmyrb.c1256 static int myrb_host_reset(struct scsi_cmnd *scmd) in myrb_host_reset()
1266 struct scsi_cmnd *scmd) in myrb_pthru_queuecommand()
1340 struct scsi_cmnd *scmd) in myrb_inquiry()
1363 myrb_mode_sense(struct myrb_hba *cb, struct scsi_cmnd *scmd, in myrb_mode_sense()
1400 struct scsi_cmnd *scmd) in myrb_request_sense()
1408 static void myrb_read_capacity(struct myrb_hba *cb, struct scsi_cmnd *scmd, in myrb_read_capacity()
1422 struct scsi_cmnd *scmd) in myrb_ldev_queuecommand()
1635 struct scsi_cmnd *scmd) in myrb_queuecommand()
2326 struct scsi_cmnd *scmd) in myrb_handle_scsi()
2780 struct scsi_cmnd *scmd = NULL; in DAC960_LA_intr_handler() local
[all …]
Dmvumi.c189 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()
1302 struct scsi_cmnd *scmd = cmd->scmd; in mvumi_complete_cmd() local
2026 struct scsi_cmnd *scmd, struct mvumi_cmd *cmd) in mvumi_build_frame()
2083 struct scsi_cmnd *scmd) in mvumi_queue_command()
2115 static enum blk_eh_timer_return mvumi_timed_out(struct scsi_cmnd *scmd) in mvumi_timed_out()
Dscsi_logging.c29 static inline const char *scmd_name(const struct scsi_cmnd *scmd) in scmd_name()
80 void scmd_printk(const char *level, const struct scsi_cmnd *scmd, in scmd_printk()
Dscsi_priv.h25 #define SCSI_SENSE_VALID(scmd) \ argument
Dmyrs.c1532 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()
2052 struct scsi_cmnd *scmd) in myrs_handle_scsi()
2626 struct scsi_cmnd *scmd = NULL; in DAC960_GEM_intr_handler() local
2876 struct scsi_cmnd *scmd = NULL; in DAC960_BA_intr_handler() local
3126 struct scsi_cmnd *scmd = NULL; in DAC960_LP_intr_handler() local
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
Dhosts.c669 struct scsi_cmnd *scmd = blk_mq_rq_to_pdu(rq); in complete_all_cmds_iter() local
Dsd.c781 static unsigned char sd_setup_protect_cmnd(struct scsi_cmnd *scmd, in sd_setup_protect_cmnd()
1924 static void sd_eh_reset(struct scsi_cmnd *scmd) in sd_eh_reset()
1944 static int sd_eh_action(struct scsi_cmnd *scmd, int eh_disp) in sd_eh_action()
1985 static unsigned int sd_completed_bytes(struct scsi_cmnd *scmd) in sd_completed_bytes()
Dpmcraid.c3024 static int pmcraid_eh_device_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_device_reset_handler()
3033 static int pmcraid_eh_bus_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_bus_reset_handler()
3042 static int pmcraid_eh_target_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_target_reset_handler()
3061 static int pmcraid_eh_host_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_host_reset_handler()
/kernel/linux/linux-5.10/include/scsi/
Dscsi_cmnd.h242 static inline void scsi_set_prot_op(struct scsi_cmnd *scmd, unsigned char op) in scsi_set_prot_op()
247 static inline unsigned char scsi_get_prot_op(struct scsi_cmnd *scmd) in scsi_get_prot_op()
273 static inline void scsi_set_prot_type(struct scsi_cmnd *scmd, unsigned char type) in scsi_set_prot_type()
278 static inline unsigned char scsi_get_prot_type(struct scsi_cmnd *scmd) in scsi_get_prot_type()
283 static inline sector_t scsi_get_lba(struct scsi_cmnd *scmd) in scsi_get_lba()
288 static inline unsigned int scsi_prot_interval(struct scsi_cmnd *scmd) in scsi_prot_interval()
326 static inline unsigned scsi_transfer_length(struct scsi_cmnd *scmd) in scsi_transfer_length()
Dscsi_device.h268 #define scmd_dbg(scmd, fmt, a...) \ argument
493 #define scmd_id(scmd) sdev_id((scmd)->device) argument
494 #define scmd_channel(scmd) sdev_channel((scmd)->device) argument
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-scsi.c650 struct scsi_cmnd *scmd = qc->scsicmd; in ata_qc_set_pc_nbytes() local
1170 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_start_stop_xlat() local
1385 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_verify_xlat() local
1499 static bool ata_check_nblocks(struct scsi_cmnd *scmd, u32 n_blocks) in ata_check_nblocks()
1534 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_rw_xlat() local
2663 struct scsi_cmnd *scmd = qc->scsicmd; in atapi_xlat() local
2857 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_pass_thru() local
3175 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_write_same_xlat() local
3356 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_report_zones_complete() local
3420 struct scsi_cmnd *scmd = qc->scsicmd; in ata_scsi_zbc_in_xlat() local
[all …]
Dlibata-eh.c589 struct scsi_cmnd *scmd, *tmp; in ata_scsi_cmd_error_handler() local
1153 static void ata_eh_scsidone(struct scsi_cmnd *scmd) in ata_eh_scsidone()
1161 struct scsi_cmnd *scmd = qc->scsicmd; in __ata_eh_qc_complete() local
1182 struct scsi_cmnd *scmd = qc->scsicmd; in ata_eh_qc_complete() local
1200 struct scsi_cmnd *scmd = qc->scsicmd; in ata_eh_qc_retry() local
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c356 struct scsi_cmnd *scmd, in megasas_get_msix_index()
1992 struct scsi_cmnd *scmd, u8 status, u8 ext_status, in map_cmd_status()
2064 struct scsi_cmnd *scmd, int sge_count) in megasas_is_prp_possible()
2111 megasas_make_prp_nvme(struct megasas_instance *instance, struct scsi_cmnd *scmd, in megasas_make_prp_nvme()
2947 struct scsi_cmnd *scmd, struct megasas_cmd_fusion *cmd) in megasas_build_ld_nonrw_fusion()
3037 struct scsi_cmnd *scmd, struct megasas_cmd_fusion *cmd, in megasas_build_syspd_fusion()
3323 struct scsi_cmnd *scmd) in megasas_build_and_issue_cmd_fusion()
4549 static u16 megasas_fusion_smid_lookup(struct scsi_cmnd *scmd) in megasas_fusion_smid_lookup()
4617 int megasas_task_abort_fusion(struct scsi_cmnd *scmd) in megasas_task_abort_fusion()
4697 int megasas_reset_target_fusion(struct scsi_cmnd *scmd) in megasas_reset_target_fusion()
[all …]
Dmegaraid_sas_base.c1732 struct scsi_cmnd *scmd) in megasas_build_and_issue_cmd()
1776 megasas_queue_command(struct Scsi_Host *shost, struct scsi_cmnd *scmd) in megasas_queue_command()
2882 static int megasas_generic_reset(struct scsi_cmnd *scmd) in megasas_generic_reset()
2914 blk_eh_timer_return megasas_reset_timer(struct scsi_cmnd *scmd) in megasas_reset_timer()
2983 megasas_dump_fusion_io(struct scsi_cmnd *scmd) in megasas_dump_fusion_io()
3044 static int megasas_reset_bus_host(struct scsi_cmnd *scmd) in megasas_reset_bus_host()
3078 static int megasas_task_abort(struct scsi_cmnd *scmd) in megasas_task_abort()
3100 static int megasas_reset_target(struct scsi_cmnd *scmd) in megasas_reset_target()
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
Dsmartpqi_init.c188 static inline void pqi_scsi_done(struct scsi_cmnd *scmd) in pqi_scsi_done()
2245 struct pqi_scsi_dev *device, struct scsi_cmnd *scmd, in pqi_raid_bypass_submit_scsi_cmd()
2664 struct scsi_cmnd *scmd; in pqi_process_raid_io_error() local
2765 struct scsi_cmnd *scmd; in pqi_process_aio_io_error() local
4801 struct pqi_raid_path_request *request, struct scsi_cmnd *scmd, in pqi_build_raid_sg_list()
4865 struct pqi_aio_path_request *request, struct scsi_cmnd *scmd, in pqi_build_aio_sg_list()
4932 struct scsi_cmnd *scmd; in pqi_raid_io_complete() local
4942 struct pqi_scsi_dev *device, struct scsi_cmnd *scmd, in pqi_raid_submit_scsi_cmd_with_io_request()
5031 struct pqi_scsi_dev *device, struct scsi_cmnd *scmd, in pqi_raid_submit_scsi_cmd()
5050 struct scsi_cmnd *scmd; in pqi_raid_bypass_retry_needed() local
[all …]
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_dbf.h387 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()
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/
Dmpt3sas_warpdrive.c256 mpt3sas_setup_direct_io(struct MPT3SAS_ADAPTER *ioc, struct scsi_cmnd *scmd, in mpt3sas_setup_direct_io()
Dmpt3sas_scsih.c1530 struct scsi_cmnd *scmd; in _scsih_scsi_lookup_find_by_target() local
1560 struct scsi_cmnd *scmd; in _scsih_scsi_lookup_find_by_lun() local
1586 struct scsi_cmnd *scmd = NULL; in mpt3sas_scsih_scsi_lookup_get() local
3043 _scsih_tm_display_info(struct MPT3SAS_ADAPTER *ioc, struct scsi_cmnd *scmd) in _scsih_tm_display_info()
3124 scsih_abort(struct scsi_cmnd *scmd) in scsih_abort()
3198 scsih_dev_reset(struct scsi_cmnd *scmd) in scsih_dev_reset()
3279 scsih_target_reset(struct scsi_cmnd *scmd) in scsih_target_reset()
3358 scsih_host_reset(struct scsi_cmnd *scmd) in scsih_host_reset()
4103 struct scsi_cmnd *scmd) in _scsih_allow_scmd_to_device()
4791 static int _scsih_set_satl_pending(struct scsi_cmnd *scmd, bool pending) in _scsih_set_satl_pending()
[all …]
Dmpt3sas_base.c424 struct scsi_cmnd *scmd; in _clone_sg_entries() local
1946 struct scsi_cmnd *scmd) in _base_get_chain_buffer_tracker()
2244 struct scsi_cmnd *scmd, in base_make_prp_nvme()
2371 struct _pcie_device *pcie_device, struct scsi_cmnd *scmd, int sge_count) in base_is_prp_possible()
2409 Mpi25SCSIIORequest_t *mpi_request, u16 smid, struct scsi_cmnd *scmd, in _base_check_pcie_native_sgl()
2497 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *unused) in _base_build_sg_scmd()
2642 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device) in _base_build_sg_scmd_ieee()
3559 struct scsi_cmnd *scmd) in _base_get_msix_index()
3598 struct scsi_cmnd *scmd) in _base_get_high_iops_msix_index()
3655 struct scsi_cmnd *scmd) in mpt3sas_base_get_smid_scsiio()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/macintosh/
Dsmu.c289 int smu_queue_simple(struct smu_simple_cmd *scmd, u8 command, in smu_queue_simple()
770 static void smu_i2c_low_completion(struct smu_cmd *scmd, void *misc) in smu_i2c_low_completion()
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptscsih.c2470 struct scsi_cmnd *scmd; in mptscsih_get_scsi_lookup() local
2492 struct scsi_cmnd *scmd; in mptscsih_getclear_scsi_lookup() local
2511 mptscsih_set_scsi_lookup(MPT_ADAPTER *ioc, int i, struct scsi_cmnd *scmd) in mptscsih_set_scsi_lookup()
/kernel/linux/linux-5.10/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

12