Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
scsi_trace.c File Reference
#include <linux/kernel.h>
#include <linux/trace_seq.h>
#include <trace/events/scsi.h>

Go to the source code of this file.


#define SERVICE_ACTION16(cdb)   (cdb[1] & 0x1f)
#define SERVICE_ACTION32(cdb)   ((cdb[8] << 8) | cdb[9])


const charscsi_trace_parse_cdb (struct trace_seq *p, unsigned char *cdb, int len)

Macro Definition Documentation

#define SERVICE_ACTION16 (   cdb)    (cdb[1] & 0x1f)

Definition at line 22 of file scsi_trace.c.

#define SERVICE_ACTION32 (   cdb)    ((cdb[8] << 8) | cdb[9])

Definition at line 23 of file scsi_trace.c.

Function Documentation

const char* scsi_trace_parse_cdb ( struct trace_seq p,
unsigned char cdb,
int  len 

Definition at line 259 of file scsi_trace.c.