Searched refs:scsi_cmnd (Results 1 – 18 of 18) sorted by relevance
/include/scsi/ |
D | scsi_cmnd.h | 69 struct scsi_cmnd { struct 123 void (*scsi_done) (struct scsi_cmnd *); argument 152 static inline struct request *scsi_cmd_to_rq(struct scsi_cmnd *scmd) in scsi_cmd_to_rq() argument 161 static inline void *scsi_cmd_priv(struct scsi_cmnd *cmd) in scsi_cmd_priv() 167 static inline struct scsi_driver *scsi_cmd_to_driver(struct scsi_cmnd *cmd) in scsi_cmd_to_driver() 174 extern void scsi_finish_command(struct scsi_cmnd *cmd); 180 blk_status_t scsi_alloc_sgtables(struct scsi_cmnd *cmd); 181 void scsi_free_sgtables(struct scsi_cmnd *cmd); 184 extern int scsi_dma_map(struct scsi_cmnd *cmd); 185 extern void scsi_dma_unmap(struct scsi_cmnd *cmd); [all …]
|
D | scsi_driver.h | 10 struct scsi_cmnd; 17 blk_status_t (*init_command)(struct scsi_cmnd *); 18 void (*uninit_command)(struct scsi_cmnd *); 19 int (*done)(struct scsi_cmnd *); 20 int (*eh_action)(struct scsi_cmnd *, int); 21 void (*eh_reset)(struct scsi_cmnd *);
|
D | scsi_eh.h | 12 extern void scsi_eh_finish_cmd(struct scsi_cmnd *scmd, 18 extern bool scsi_command_normalize_sense(const struct scsi_cmnd *cmd, 20 extern enum scsi_disposition scsi_check_sense(struct scsi_cmnd *); 48 extern void scsi_eh_prep_cmnd(struct scsi_cmnd *scmd, 52 extern void scsi_eh_restore_cmnd(struct scsi_cmnd* scmd,
|
D | scsi_dbg.h | 5 struct scsi_cmnd; 9 extern void scsi_print_command(struct scsi_cmnd *); 14 extern void scsi_print_sense(const struct scsi_cmnd *); 18 extern void scsi_print_result(const struct scsi_cmnd *, const char *, int);
|
D | scsi_host.h | 18 struct scsi_cmnd; 77 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *); 121 int (*init_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd); 122 int (*exit_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd); 142 int (* eh_abort_handler)(struct scsi_cmnd *); 143 int (* eh_device_reset_handler)(struct scsi_cmnd *); 144 int (* eh_target_reset_handler)(struct scsi_cmnd *); 145 int (* eh_bus_reset_handler)(struct scsi_cmnd *); 146 int (* eh_host_reset_handler)(struct scsi_cmnd *); 336 enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd *); [all …]
|
D | libiscsi.h | 29 struct scsi_cmnd; 119 struct scsi_cmnd *sc; /* associated SCSI cmd*/ 383 extern int iscsi_eh_abort(struct scsi_cmnd *sc); 384 extern int iscsi_eh_recover_target(struct scsi_cmnd *sc); 385 extern int iscsi_eh_session_reset(struct scsi_cmnd *sc); 386 extern int iscsi_eh_device_reset(struct scsi_cmnd *sc); 387 extern int iscsi_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *sc); 388 extern enum blk_eh_timer_return iscsi_eh_cmd_timed_out(struct scsi_cmnd *sc);
|
D | scsi_tcq.h | 22 static inline struct scsi_cmnd *scsi_host_find_tag(struct Scsi_Host *shost, in scsi_host_find_tag()
|
D | libsas.h | 420 cmd_to_domain_dev(struct scsi_cmnd *cmd) in cmd_to_domain_dev() 576 struct scsi_cmnd *cmd; 667 extern int sas_queuecommand(struct Scsi_Host *, struct scsi_cmnd *); 695 int sas_eh_abort_handler(struct scsi_cmnd *cmd); 696 int sas_eh_device_reset_handler(struct scsi_cmnd *cmd); 697 int sas_eh_target_reset_handler(struct scsi_cmnd *cmd);
|
D | scsi_transport_srp.h | 121 enum blk_eh_timer_return srp_timed_out(struct scsi_cmnd *scmd);
|
D | libfc.h | 319 struct scsi_cmnd *cmd; 941 int fc_queuecommand(struct Scsi_Host *, struct scsi_cmnd *); 942 int fc_eh_abort(struct scsi_cmnd *); 943 int fc_eh_device_reset(struct scsi_cmnd *); 944 int fc_eh_host_reset(struct scsi_cmnd *);
|
D | scsi.h | 16 struct scsi_cmnd;
|
D | scsi_transport_spi.h | 147 int spi_populate_tag_msg(unsigned char *msg, struct scsi_cmnd *cmd);
|
D | scsi_transport_fc.h | 864 int fc_block_scsi_eh(struct scsi_cmnd *cmnd); 865 enum blk_eh_timer_return fc_eh_timed_out(struct scsi_cmnd *scmd); 866 bool fc_eh_should_retry_cmd(struct scsi_cmnd *scmd);
|
D | scsi_device.h | 17 struct scsi_cmnd; 279 scmd_printk(const char *, const struct scsi_cmnd *, const char *, ...);
|
D | scsi_transport_iscsi.h | 22 struct scsi_cmnd; 468 extern int iscsi_block_scsi_eh(struct scsi_cmnd *cmd);
|
/include/trace/events/ |
D | scsi.h | 158 TP_PROTO(struct scsi_cmnd *cmd), 200 TP_PROTO(struct scsi_cmnd *cmd, int rtn), 245 TP_PROTO(struct scsi_cmnd *cmd), 293 TP_PROTO(struct scsi_cmnd *cmd), 297 TP_PROTO(struct scsi_cmnd *cmd),
|
/include/trace/hooks/ |
D | ufshcd.h | 122 struct scsi_cmnd; 124 TP_PROTO(struct scsi_cmnd *cmd, int *ret),
|
/include/linux/ |
D | libata.h | 637 struct scsi_cmnd *scsicmd; 638 void (*scsidone)(struct scsi_cmnd *); 1114 extern int ata_scsi_queuecmd(struct Scsi_Host *h, struct scsi_cmnd *cmd); 1166 extern void ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd); 1264 extern int ata_sas_queuecmd(struct scsi_cmnd *cmd, struct ata_port *ap);
|