x86/amd-iommu: Add per IOMMU reference counting
[linux/fpc-iii.git] / include / scsi / scsi_dbg.h
blobe89844cc2cd359bf281574f45f942826b1af9056
1 #ifndef _SCSI_SCSI_DBG_H
2 #define _SCSI_SCSI_DBG_H
4 struct scsi_cmnd;
5 struct scsi_sense_hdr;
7 extern void scsi_print_command(struct scsi_cmnd *);
8 extern void __scsi_print_command(unsigned char *);
9 extern void scsi_show_extd_sense(unsigned char, unsigned char);
10 extern void scsi_show_sense_hdr(struct scsi_sense_hdr *);
11 extern void scsi_print_sense_hdr(const char *, struct scsi_sense_hdr *);
12 extern void scsi_cmd_print_sense_hdr(struct scsi_cmnd *, const char *,
13 struct scsi_sense_hdr *);
14 extern void scsi_print_sense(char *, struct scsi_cmnd *);
15 extern void __scsi_print_sense(const char *name,
16 const unsigned char *sense_buffer,
17 int sense_len);
18 extern void scsi_show_result(int);
19 extern void scsi_print_result(struct scsi_cmnd *);
20 extern void scsi_print_status(unsigned char);
21 extern const char *scsi_sense_key_string(unsigned char);
22 extern const char *scsi_extd_sense_format(unsigned char, unsigned char);
24 #endif /* _SCSI_SCSI_DBG_H */