Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
kmmio.c File Reference
#include <linux/list.h>
#include <linux/rculist.h>
#include <linux/spinlock.h>
#include <linux/hash.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/uaccess.h>
#include <linux/ptrace.h>
#include <linux/preempt.h>
#include <linux/percpu.h>
#include <linux/kdebug.h>
#include <linux/mutex.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <linux/errno.h>
#include <asm/debugreg.h>
#include <linux/mmiotrace.h>

Go to the source code of this file.

Data Structures

struct  kmmio_fault_page
 
struct  kmmio_delayed_release
 
struct  kmmio_context
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define KMMIO_PAGE_HASH_BITS   4
 
#define KMMIO_PAGE_TABLE_SIZE   (1 << KMMIO_PAGE_HASH_BITS)
 

Functions

int kmmio_handler (struct pt_regs *regs, unsigned long addr)
 
int register_kmmio_probe (struct kmmio_probe *p)
 
 EXPORT_SYMBOL (register_kmmio_probe)
 
void unregister_kmmio_probe (struct kmmio_probe *p)
 
 EXPORT_SYMBOL (unregister_kmmio_probe)
 
int kmmio_init (void)
 
void kmmio_cleanup (void)
 

Variables

unsigned int kmmio_count
 

Macro Definition Documentation

#define KMMIO_PAGE_HASH_BITS   4

Definition at line 31 of file kmmio.c.

#define KMMIO_PAGE_TABLE_SIZE   (1 << KMMIO_PAGE_HASH_BITS)

Definition at line 32 of file kmmio.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 8 of file kmmio.c.

Function Documentation

EXPORT_SYMBOL ( register_kmmio_probe  )
EXPORT_SYMBOL ( unregister_kmmio_probe  )
void kmmio_cleanup ( void  )

Definition at line 581 of file kmmio.c.

int kmmio_handler ( struct pt_regs regs,
unsigned long  addr 
)

Definition at line 214 of file kmmio.c.

int kmmio_init ( void  )

Definition at line 571 of file kmmio.c.

int register_kmmio_probe ( struct kmmio_probe p)

Definition at line 418 of file kmmio.c.

void unregister_kmmio_probe ( struct kmmio_probe p)

Definition at line 503 of file kmmio.c.

Variable Documentation

unsigned int kmmio_count

Definition at line 68 of file kmmio.c.