Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
crash_dump.c File Reference
#include <linux/crash_dump.h>
#include <asm/lowcore.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/gfp.h>
#include <linux/slab.h>
#include <linux/bootmem.h>
#include <linux/elf.h>
#include <asm/os_info.h>
#include <asm/elf.h>
#include <asm/ipl.h>

Go to the source code of this file.

Macros

#define PTR_ADD(x, y)   (((char *) (x)) + ((unsigned long) (y)))
 
#define PTR_SUB(x, y)   (((char *) (x)) - ((unsigned long) (y)))
 
#define PTR_DIFF(x, y)   ((unsigned long)(((char *) (x)) - ((unsigned long) (y))))
 

Functions

ssize_t copy_oldmem_page (unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf)
 
int copy_from_oldmem (void *dest, void *src, size_t count)
 
voidfill_cpu_elf_notes (void *ptr, struct save_area *sa)
 
 subsys_initcall (setup_kdump_elfcorehdr)
 

Macro Definition Documentation

#define PTR_ADD (   x,
  y 
)    (((char *) (x)) + ((unsigned long) (y)))

Definition at line 20 of file crash_dump.c.

#define PTR_DIFF (   x,
  y 
)    ((unsigned long)(((char *) (x)) - ((unsigned long) (y))))

Definition at line 22 of file crash_dump.c.

#define PTR_SUB (   x,
  y 
)    (((char *) (x)) - ((unsigned long) (y)))

Definition at line 21 of file crash_dump.c.

Function Documentation

int copy_from_oldmem ( void dest,
void src,
size_t  count 
)

Definition at line 56 of file crash_dump.c.

ssize_t copy_oldmem_page ( unsigned long  pfn,
char buf,
size_t  csize,
unsigned long  offset,
int  userbuf 
)

Definition at line 31 of file crash_dump.c.

void* fill_cpu_elf_notes ( void ptr,
struct save_area sa 
)

Definition at line 202 of file crash_dump.c.

subsys_initcall ( setup_kdump_elfcorehdr  )