Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
scsi_dbg.h File Reference

Go to the source code of this file.

Functions

void scsi_print_command (struct scsi_cmnd *)
 
void __scsi_print_command (unsigned char *)
 
void scsi_show_extd_sense (unsigned char, unsigned char)
 
void scsi_show_sense_hdr (struct scsi_sense_hdr *)
 
void scsi_print_sense_hdr (const char *, struct scsi_sense_hdr *)
 
void scsi_cmd_print_sense_hdr (struct scsi_cmnd *, const char *, struct scsi_sense_hdr *)
 
void scsi_print_sense (char *, struct scsi_cmnd *)
 
void __scsi_print_sense (const char *name, const unsigned char *sense_buffer, int sense_len)
 
void scsi_show_result (int)
 
void scsi_print_result (struct scsi_cmnd *)
 
void scsi_print_status (unsigned char)
 
const charscsi_sense_key_string (unsigned char)
 
const charscsi_extd_sense_format (unsigned char, unsigned char)
 

Function Documentation

void __scsi_print_command ( unsigned char )

Definition at line 332 of file constants.c.

void __scsi_print_sense ( const char name,
const unsigned char sense_buffer,
int  sense_len 
)

Definition at line 1389 of file constants.c.

void scsi_cmd_print_sense_hdr ( struct scsi_cmnd ,
const char ,
struct scsi_sense_hdr  
)

Definition at line 1294 of file constants.c.

const char* scsi_extd_sense_format ( unsigned  char,
unsigned  char 
)

Definition at line 1211 of file constants.c.

void scsi_print_command ( struct scsi_cmnd )

Definition at line 345 of file constants.c.

void scsi_print_result ( struct scsi_cmnd )

Definition at line 1456 of file constants.c.

void scsi_print_sense ( char ,
struct scsi_cmnd  
)

Definition at line 1404 of file constants.c.

void scsi_print_sense_hdr ( const char ,
struct scsi_sense_hdr  
)

Definition at line 1281 of file constants.c.

void scsi_print_status ( unsigned char  scsi_status)

scsi_print_status - print scsi status description : scsi status value

If the status is recognized, the description is printed. Otherwise "Unknown status" is output. No trailing space. If CONFIG_SCSI_CONSTANTS is not set, then print status in hex (e.g. "0x2" for Check Condition).

Definition at line 373 of file constants.c.

const char* scsi_sense_key_string ( unsigned  char)

Definition at line 1197 of file constants.c.

void scsi_show_extd_sense ( unsigned  char,
unsigned  char 
)

Definition at line 1231 of file constants.c.

void scsi_show_result ( int  )

Definition at line 1446 of file constants.c.

void scsi_show_sense_hdr ( struct scsi_sense_hdr )

Definition at line 1257 of file constants.c.