Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
osdblk.c File Reference
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <scsi/osd_initiator.h>
#include <scsi/osd_attributes.h>
#include <scsi/osd_sec.h>
#include <scsi/scsi_device.h>

Go to the source code of this file.

Data Structures

struct  osdblk_request
 
struct  osdblk_device
 

Macros

#define DRV_NAME   "osdblk"
 
#define PFX   DRV_NAME ": "
 
#define OSDBLK_DEBUG(fmt, a...)   do { if (0) printk(fmt, ##a); } while (0)
 

Enumerations

enum  { OSDBLK_MINORS_PER_MAJOR = 256, OSDBLK_MAX_REQ = 32, OSDBLK_OP_TIMEOUT = 4 * 60 }
 

Functions

 MODULE_AUTHOR ("Jeff Garzik <[email protected]>")
 
 MODULE_DESCRIPTION ("block device inside an OSD object osdblk.ko")
 
 MODULE_LICENSE ("GPL")
 
 module_init (osdblk_init)
 
 module_exit (osdblk_exit)
 

Macro Definition Documentation

#define DRV_NAME   "osdblk"

Definition at line 72 of file osdblk.c.

#define OSDBLK_DEBUG (   fmt,
  a... 
)    do { if (0) printk(fmt, ##a); } while (0)

Definition at line 80 of file osdblk.c.

#define PFX   DRV_NAME ": "

Definition at line 73 of file osdblk.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
OSDBLK_MINORS_PER_MAJOR 
OSDBLK_MAX_REQ 
OSDBLK_OP_TIMEOUT 

Definition at line 90 of file osdblk.c.

Function Documentation

MODULE_AUTHOR ( "Jeff Garzik <[email protected]>"  )
MODULE_DESCRIPTION ( "block device inside an OSD object osdblk.ko"  )
module_exit ( osdblk_exit  )
module_init ( osdblk_init  )
MODULE_LICENSE ( "GPL"  )