Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
dm-flakey.c File Reference
#include <linux/device-mapper.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/bio.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  flakey_c
 

Macros

#define DM_MSG_PREFIX   "flakey"
 
#define all_corrupt_bio_flags_match(bio, fc)   (((bio)->bi_rw & (fc)->corrupt_bio_flags) == (fc)->corrupt_bio_flags)
 

Enumerations

enum  feature_flag_bits { DROP_WRITES }
 

Functions

 module_init (dm_flakey_init)
 
 module_exit (dm_flakey_exit)
 
 MODULE_DESCRIPTION (DM_NAME" flakey target")
 
 MODULE_AUTHOR ("Joe Thornber <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define all_corrupt_bio_flags_match (   bio,
  fc 
)    (((bio)->bi_rw & (fc)->corrupt_bio_flags) == (fc)->corrupt_bio_flags)

Definition at line 18 of file dm-flakey.c.

#define DM_MSG_PREFIX   "flakey"

Definition at line 16 of file dm-flakey.c.

Enumeration Type Documentation

Enumerator:
DROP_WRITES 

Definition at line 38 of file dm-flakey.c.

Function Documentation

MODULE_AUTHOR ( "Joe Thornber <[email protected]>"  )
MODULE_DESCRIPTION ( DM_NAME" flakey target )
module_exit ( dm_flakey_exit  )
module_init ( dm_flakey_init  )
MODULE_LICENSE ( "GPL"  )