Searched refs:scsi_cmnd (Results 1 – 18 of 18) sorted by relevance
/include/scsi/ |
D | scsi_cmnd.h | 67 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 …]
|
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 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,
|
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 | 17 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) \
|
D | libiscsi.h | 29 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);
|
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 | 424 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);
|
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 | 15 struct scsi_cmnd;
|
D | scsi_transport_spi.h | 147 int spi_populate_tag_msg(unsigned char *msg, struct scsi_cmnd *cmd);
|
D | scsi_transport_iscsi.h | 22 struct scsi_cmnd; 433 extern int iscsi_block_scsi_eh(struct scsi_cmnd *cmd);
|
D | scsi_device.h | 14 struct scsi_cmnd; 257 scmd_printk(const char *, const struct scsi_cmnd *, const char *, ...);
|
D | scsi_transport_fc.h | 803 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/ |
D | scsi.h | 202 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/ |
D | libata.h | 617 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/ |
D | Kbuild | 895 header-test- += scsi/scsi_cmnd.h
|