Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
monwriter.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/miscdevice.h>
#include <linux/ctype.h>
#include <linux/poll.h>
#include <linux/mutex.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include <asm/ebcdic.h>
#include <asm/io.h>
#include <asm/appldata.h>
#include <asm/monwriter.h>

Go to the source code of this file.

Data Structures

struct  mon_buf
 
struct  mon_private
 

Macros

#define KMSG_COMPONENT   "monwriter"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define MONWRITE_MAX_DATALEN   4010
 

Functions

 module_init (mon_init)
 
 module_exit (mon_exit)
 
 module_param_named (max_bufs, mon_max_bufs, int, 0644)
 
 MODULE_PARM_DESC (max_bufs,"Maximum number of sample monitor data buffers ""that can be active at one time")
 
 MODULE_AUTHOR ("Melissa Howland <[email protected]>")
 
 MODULE_DESCRIPTION ("Character device driver for writing z/VM ""APPLDATA monitor records.")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define KMSG_COMPONENT   "monwriter"

Definition at line 9 of file monwriter.c.

#define MONWRITE_MAX_DATALEN   4010

Definition at line 30 of file monwriter.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 10 of file monwriter.c.

Function Documentation

MODULE_AUTHOR ( "Melissa Howland <[email protected]>"  )
MODULE_DESCRIPTION ( "Character device driver for writing z/VM ""APPLDATA monitor records."  )
module_exit ( mon_exit  )
module_init ( mon_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( max_bufs  ,
mon_max_bufs  ,
int  ,
0644   
)
MODULE_PARM_DESC ( max_bufs  ,
"Maximum number of sample monitor data buffers ""that can be active at one time  
)