Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_devinfo.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_eh.h>
#include "usb.h"
#include "scsiglue.h"
#include "transport.h"
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | SPRINTF(args...) |
#define | US_FLAG(name, value) |
Functions | |
void | usb_stor_report_device_reset (struct us_data *us) |
void | usb_stor_report_bus_reset (struct us_data *us) |
unsigned int | usb_stor_access_xfer_buf (struct us_data *us, unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, unsigned int *offset, enum xfer_buf_dir dir) |
void | usb_stor_set_xfer_buf (struct us_data *us, unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb, unsigned int dir) |
Variables | |
struct scsi_host_template | usb_stor_host_template |
unsigned char | usb_stor_sense_invalidCDB [18] |
Definition at line 1 of file scsiglue.c.
#define SPRINTF | ( | args... | ) |
unsigned int usb_stor_access_xfer_buf | ( | struct us_data * | us, |
unsigned char * | buffer, | ||
unsigned int | buflen, | ||
struct scsi_cmnd * | srb, | ||
struct scatterlist ** | sgptr, | ||
unsigned int * | offset, | ||
enum xfer_buf_dir | dir | ||
) |
Definition at line 415 of file scsiglue.c.
Definition at line 216 of file scsiglue.c.
Definition at line 200 of file scsiglue.c.
void usb_stor_set_xfer_buf | ( | struct us_data * | us, |
unsigned char * | buffer, | ||
unsigned int | buflen, | ||
struct scsi_cmnd * | srb, | ||
unsigned int | dir | ||
) |
Definition at line 475 of file scsiglue.c.
struct scsi_host_template usb_stor_host_template |
Definition at line 350 of file scsiglue.c.
unsigned char usb_stor_sense_invalidCDB[18] |
Definition at line 401 of file scsiglue.c.