Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
masklog.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/string.h>
#include <asm/uaccess.h>
#include "masklog.h"

Go to the source code of this file.

Data Structures

struct  mlog_attribute
 

Macros

#define to_mlog_attr(_attr)   container_of(_attr, struct mlog_attribute, attr)
 
#define define_mask(_name)
 

Functions

 EXPORT_SYMBOL_GPL (mlog_and_bits)
 
 EXPORT_SYMBOL_GPL (mlog_not_bits)
 
int mlog_sys_init (struct kset *o2cb_kset)
 
void mlog_sys_shutdown (void)
 

Variables

struct mlog_bits mlog_and_bits = MLOG_BITS_RHS(MLOG_INITIAL_AND_MASK)
 
struct mlog_bits mlog_not_bits = MLOG_BITS_RHS(0)
 

Macro Definition Documentation

#define define_mask (   _name)
Value:
{ \
.attr = { \
.name = #_name, \
.mode = S_IRUGO | S_IWUSR, \
}, \
.mask = ML_##_name, \
}

Definition at line 74 of file masklog.c.

#define to_mlog_attr (   _attr)    container_of(_attr, struct mlog_attribute, attr)

Definition at line 72 of file masklog.c.

Function Documentation

EXPORT_SYMBOL_GPL ( mlog_and_bits  )
EXPORT_SYMBOL_GPL ( mlog_not_bits  )
int mlog_sys_init ( struct kset o2cb_kset)

Definition at line 137 of file masklog.c.

void mlog_sys_shutdown ( void  )

Definition at line 152 of file masklog.c.

Variable Documentation

Definition at line 31 of file masklog.c.

struct mlog_bits mlog_not_bits = MLOG_BITS_RHS(0)

Definition at line 33 of file masklog.c.