Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
monreader.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/spinlock.h>
#include <linux/interrupt.h>
#include <linux/poll.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <net/iucv/iucv.h>
#include <asm/uaccess.h>
#include <asm/ebcdic.h>
#include <asm/extmem.h>

Go to the source code of this file.

Data Structures

struct  mon_msg
 
struct  mon_private
 

Macros

#define KMSG_COMPONENT   "monreader"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define MON_COLLECT_SAMPLE   0x80
 
#define MON_COLLECT_EVENT   0x40
 
#define MON_SERVICE   "*MONITOR"
 
#define MON_IN_USE   0x01
 
#define MON_MSGLIM   255
 

Functions

 module_init (mon_init)
 
 module_exit (mon_exit)
 
 module_param_string (mondcss, mon_dcss_name, 9, 0444)
 
 MODULE_PARM_DESC (mondcss,"Name of DCSS segment to be used for *MONITOR ""service, max. 8 chars. Default is MONDCSS")
 
 MODULE_AUTHOR ("Gerald Schaefer <[email protected]>")
 
 MODULE_DESCRIPTION ("Character device driver for reading z/VM ""monitor service records.")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define KMSG_COMPONENT   "monreader"

Definition at line 9 of file monreader.c.

#define MON_COLLECT_EVENT   0x40

Definition at line 32 of file monreader.c.

#define MON_COLLECT_SAMPLE   0x80

Definition at line 31 of file monreader.c.

#define MON_IN_USE   0x01

Definition at line 34 of file monreader.c.

#define MON_MSGLIM   255

Definition at line 35 of file monreader.c.

#define MON_SERVICE   "*MONITOR"

Definition at line 33 of file monreader.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 10 of file monreader.c.

Function Documentation

MODULE_AUTHOR ( "Gerald Schaefer <[email protected]>"  )
MODULE_DESCRIPTION ( "Character device driver for reading z/VM ""monitor service records."  )
module_exit ( mon_exit  )
module_init ( mon_init  )
MODULE_LICENSE ( "GPL"  )
module_param_string ( mondcss  ,
mon_dcss_name  ,
,
0444   
)
MODULE_PARM_DESC ( mondcss  ,
"Name of DCSS segment to be used for *MONITOR ""  service,
max.8 chars.Default is MONDCSS"   
)