Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
scsi_driver.h File Reference
#include <linux/device.h>

Go to the source code of this file.

Data Structures

struct  scsi_driver
 

Macros

#define to_scsi_driver(drv)   container_of((drv), struct scsi_driver, gendrv)
 
#define scsi_unregister_driver(drv)   driver_unregister(drv);
 
#define scsi_unregister_interface(intf)   class_interface_unregister(intf)
 

Functions

int scsi_register_driver (struct device_driver *)
 
int scsi_register_interface (struct class_interface *)
 
int scsi_setup_blk_pc_cmnd (struct scsi_device *sdev, struct request *req)
 
int scsi_setup_fs_cmnd (struct scsi_device *sdev, struct request *req)
 
int scsi_prep_state_check (struct scsi_device *sdev, struct request *req)
 
int scsi_prep_return (struct request_queue *q, struct request *req, int ret)
 
int scsi_prep_fn (struct request_queue *, struct request *)
 

Macro Definition Documentation

#define scsi_unregister_driver (   drv)    driver_unregister(drv);

Definition at line 25 of file scsi_driver.h.

#define scsi_unregister_interface (   intf)    class_interface_unregister(intf)

Definition at line 29 of file scsi_driver.h.

#define to_scsi_driver (   drv)    container_of((drv), struct scsi_driver, gendrv)

Definition at line 21 of file scsi_driver.h.

Function Documentation

int scsi_prep_fn ( struct request_queue ,
struct request  
)

Definition at line 1289 of file scsi_lib.c.

int scsi_prep_return ( struct request_queue q,
struct request req,
int  ret 
)

Definition at line 1257 of file scsi_lib.c.

int scsi_prep_state_check ( struct scsi_device sdev,
struct request req 
)

Definition at line 1203 of file scsi_lib.c.

int scsi_register_driver ( struct device_driver )

Definition at line 1062 of file scsi_sysfs.c.

int scsi_register_interface ( struct class_interface )

Definition at line 1070 of file scsi_sysfs.c.

int scsi_setup_blk_pc_cmnd ( struct scsi_device sdev,
struct request req 
)

Definition at line 1122 of file scsi_lib.c.

int scsi_setup_fs_cmnd ( struct scsi_device sdev,
struct request req 
)

Definition at line 1174 of file scsi_lib.c.