Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
nfblock.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/genhd.h>
#include <linux/blkdev.h>
#include <linux/hdreg.h>
#include <linux/slab.h>
#include <asm/natfeat.h>

Go to the source code of this file.

Data Structures

struct  nfhd_device
 

Enumerations

enum  { NFHD_READ_WRITE = 10, NFHD_GET_CAPACITY = 14, NFHD_DEV_OFFSET = 8 }
 

Functions

 module_param (major_num, int, 0)
 
 module_init (nfhd_init)
 
 module_exit (nfhd_exit)
 
 MODULE_LICENSE ("GPL")
 

Enumeration Type Documentation

anonymous enum
Enumerator:
NFHD_READ_WRITE 
NFHD_GET_CAPACITY 
NFHD_DEV_OFFSET 

Definition at line 25 of file nfblock.c.

Function Documentation

module_exit ( nfhd_exit  )
module_init ( nfhd_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( major_num  ,
int  ,
 
)