Home
last modified time | relevance | path

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

/include/scsi/
Dscsi_cmnd.h67 struct scsi_cmnd { struct
123 void (*scsi_done) (struct scsi_cmnd *); argument
150 static inline void *scsi_cmd_priv(struct scsi_cmnd *cmd) in scsi_cmd_priv() argument
156 static inline struct scsi_driver *scsi_cmd_to_driver(struct scsi_cmnd *cmd) in scsi_cmd_to_driver()
161 extern void scsi_put_command(struct scsi_cmnd *);
162 extern void scsi_finish_command(struct scsi_cmnd *cmd);
168 extern blk_status_t scsi_init_io(struct scsi_cmnd *cmd);
171 extern int scsi_dma_map(struct scsi_cmnd *cmd);
172 extern void scsi_dma_unmap(struct scsi_cmnd *cmd);
174 static inline int scsi_dma_map(struct scsi_cmnd *cmd) { return -ENOSYS; } in scsi_dma_map()
[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 int 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.h17 struct scsi_cmnd;
112 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
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 *);
319 enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd *);
501 int func_name(struct Scsi_Host *shost, struct scsi_cmnd *cmd) \
Dlibiscsi.h29 struct scsi_cmnd;
117 struct scsi_cmnd *sc; /* associated SCSI cmd*/
370 extern int iscsi_eh_abort(struct scsi_cmnd *sc);
371 extern int iscsi_eh_recover_target(struct scsi_cmnd *sc);
372 extern int iscsi_eh_session_reset(struct scsi_cmnd *sc);
373 extern int iscsi_eh_device_reset(struct scsi_cmnd *sc);
374 extern int iscsi_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *sc);
375 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.h424 cmd_to_domain_dev(struct scsi_cmnd *cmd) in cmd_to_domain_dev()
574 struct scsi_cmnd *cmd;
665 extern int sas_queuecommand(struct Scsi_Host *, struct scsi_cmnd *);
693 int sas_eh_abort_handler(struct scsi_cmnd *cmd);
694 int sas_eh_device_reset_handler(struct scsi_cmnd *cmd);
695 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.h15 struct scsi_cmnd;
Dscsi_transport_spi.h147 int spi_populate_tag_msg(unsigned char *msg, struct scsi_cmnd *cmd);
Dscsi_transport_iscsi.h22 struct scsi_cmnd;
433 extern int iscsi_block_scsi_eh(struct scsi_cmnd *cmd);
Dscsi_device.h14 struct scsi_cmnd;
257 scmd_printk(const char *, const struct scsi_cmnd *, const char *, ...);
Dscsi_transport_fc.h803 int fc_block_scsi_eh(struct scsi_cmnd *cmnd);
804 enum blk_eh_timer_return fc_eh_timed_out(struct scsi_cmnd *scmd);
/include/trace/events/
Dscsi.h202 TP_PROTO(struct scsi_cmnd *cmd),
244 TP_PROTO(struct scsi_cmnd *cmd, int rtn),
289 TP_PROTO(struct scsi_cmnd *cmd),
337 TP_PROTO(struct scsi_cmnd *cmd),
341 TP_PROTO(struct scsi_cmnd *cmd),
/include/linux/
Dlibata.h617 struct scsi_cmnd *scsicmd;
618 void (*scsidone)(struct scsi_cmnd *);
1111 extern int ata_scsi_queuecmd(struct Scsi_Host *h, struct scsi_cmnd *cmd);
1125 extern int ata_sas_queuecmd(struct scsi_cmnd *cmd, struct ata_port *ap);
1178 extern void ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd);
/include/
DKbuild895 header-test- += scsi/scsi_cmnd.h