Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
error.c File Reference
#include <linux/interrupt.h>
#include <linux/kdebug.h>
#include <linux/kmemcheck.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/ptrace.h>
#include <linux/stacktrace.h>
#include <linux/string.h>
#include "error.h"
#include "shadow.h"

Go to the source code of this file.

Data Structures

struct  kmemcheck_error
 

Macros

#define SHADOW_COPY_SIZE   (1 << CONFIG_KMEMCHECK_SHADOW_COPY_SHIFT)
 

Enumerations

enum  kmemcheck_error_type { KMEMCHECK_ERROR_INVALID_ACCESS, KMEMCHECK_ERROR_BUG }
 

Functions

void kmemcheck_error_recall (void)
 
void kmemcheck_error_save (enum kmemcheck_shadow state, unsigned long address, unsigned int size, struct pt_regs *regs)
 
void kmemcheck_error_save_bug (struct pt_regs *regs)
 

Macro Definition Documentation

#define SHADOW_COPY_SIZE   (1 << CONFIG_KMEMCHECK_SHADOW_COPY_SHIFT)

Definition at line 18 of file error.c.

Enumeration Type Documentation

Enumerator:
KMEMCHECK_ERROR_INVALID_ACCESS 
KMEMCHECK_ERROR_BUG 

Definition at line 13 of file error.c.

Function Documentation

void kmemcheck_error_recall ( void  )

Definition at line 84 of file error.c.

void kmemcheck_error_save ( enum kmemcheck_shadow  state,
unsigned long  address,
unsigned int  size,
struct pt_regs regs 
)

Definition at line 156 of file error.c.

void kmemcheck_error_save_bug ( struct pt_regs regs)

Definition at line 208 of file error.c.