Home
last modified time | relevance | path

Searched refs:scsi_cmnd (Results 1 – 18 of 18) sorted by relevance

/include/scsi/
Dscsi_cmnd.h69 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 …]
Dscsi_driver.h10 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 *);
Dscsi_eh.h12 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,
Dscsi_dbg.h5 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);
Dscsi_host.h18 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 …]
Dlibiscsi.h29 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);
Dscsi_tcq.h22 static inline struct scsi_cmnd *scsi_host_find_tag(struct Scsi_Host *shost, in scsi_host_find_tag()
Dlibsas.h420 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);
Dscsi_transport_srp.h121 enum blk_eh_timer_return srp_timed_out(struct scsi_cmnd *scmd);
Dlibfc.h319 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 *);
Dscsi.h16 struct scsi_cmnd;
Dscsi_transport_spi.h147 int spi_populate_tag_msg(unsigned char *msg, struct scsi_cmnd *cmd);
Dscsi_transport_fc.h864 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);
Dscsi_device.h17 struct scsi_cmnd;
279 scmd_printk(const char *, const struct scsi_cmnd *, const char *, ...);
Dscsi_transport_iscsi.h22 struct scsi_cmnd;
468 extern int iscsi_block_scsi_eh(struct scsi_cmnd *cmd);
/include/trace/events/
Dscsi.h158 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/
Dufshcd.h122 struct scsi_cmnd;
124 TP_PROTO(struct scsi_cmnd *cmd, int *ret),
/include/linux/
Dlibata.h637 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);