Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
record-example.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/mutex.h>
#include <linux/kfifo.h>

Go to the source code of this file.

Macros

#define FIFO_SIZE   128
 
#define PROC_FIFO   "record-fifo"
 

Functions

typedef STRUCT_KFIFO_REC_1 (FIFO_SIZE)
 
 module_init (example_init)
 
 module_exit (example_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Stefani Seibold <[email protected]>")
 

Macro Definition Documentation

#define FIFO_SIZE   128

Definition at line 21 of file record-example.c.

#define PROC_FIFO   "record-fifo"

Definition at line 24 of file record-example.c.

Function Documentation

MODULE_AUTHOR ( "Stefani Seibold <[email protected]>"  )
module_exit ( example_exit  )
module_init ( example_init  )
MODULE_LICENSE ( "GPL"  )
typedef STRUCT_KFIFO_REC_1 ( FIFO_SIZE  )

Definition at line 53 of file record-example.c.