Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mtd_stresstest.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/err.h>
#include <linux/mtd/mtd.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/vmalloc.h>
#include <linux/random.h>

Go to the source code of this file.

Macros

#define PRINT_PREF   KERN_INFO "mtd_stresstest: "
 

Functions

 module_param (dev, int, S_IRUGO)
 
 MODULE_PARM_DESC (dev,"MTD device number to use")
 
 module_param (count, int, S_IRUGO)
 
 MODULE_PARM_DESC (count,"Number of operations to do (default is 10000)")
 
 module_init (mtd_stresstest_init)
 
 module_exit (mtd_stresstest_exit)
 
 MODULE_DESCRIPTION ("Stress test module")
 
 MODULE_AUTHOR ("Adrian Hunter")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define PRINT_PREF   KERN_INFO "mtd_stresstest: "

Definition at line 32 of file mtd_stresstest.c.

Function Documentation

MODULE_AUTHOR ( "Adrian Hunter"  )
MODULE_DESCRIPTION ( "Stress test module )
module_exit ( mtd_stresstest_exit  )
module_init ( mtd_stresstest_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( dev  ,
int  ,
S_IRUGO   
)
module_param ( count  ,
int  ,
S_IRUGO   
)
MODULE_PARM_DESC ( dev  ,
"MTD device number to use"   
)
MODULE_PARM_DESC ( count  ,
"Number of operations to do (default is 10000)"   
)