#include <linux/capability.h>
#include <linux/mm.h>
#include <linux/file.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/kexec.h>
#include <linux/mutex.h>
#include <linux/list.h>
#include <linux/highmem.h>
#include <linux/syscalls.h>
#include <linux/reboot.h>
#include <linux/ioport.h>
#include <linux/hardirq.h>
#include <linux/elf.h>
#include <linux/elfcore.h>
#include <linux/utsname.h>
#include <linux/numa.h>
#include <linux/suspend.h>
#include <linux/device.h>
#include <linux/freezer.h>
#include <linux/pm.h>
#include <linux/cpu.h>
#include <linux/console.h>
#include <linux/vmalloc.h>
#include <linux/swap.h>
#include <linux/syscore_ops.h>
#include <asm/page.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/sections.h>
Go to the source code of this file.
|
int | kexec_should_crash (struct task_struct *p) |
|
struct page * | kimage_alloc_control_pages (struct kimage *image, unsigned int order) |
|
| SYSCALL_DEFINE4 (kexec_load, unsigned long, entry, unsigned long, nr_segments, struct kexec_segment __user *, segments, unsigned long, flags) |
|
void __weak | crash_map_reserved_pages (void) |
|
void __weak | crash_unmap_reserved_pages (void) |
|
void | crash_kexec (struct pt_regs *regs) |
|
size_t | crash_get_memory_size (void) |
|
void __weak | crash_free_reserved_phys_range (unsigned long begin, unsigned long end) |
|
int | crash_shrink_memory (unsigned long new_size) |
|
void | crash_save_cpu (struct pt_regs *regs, int cpu) |
|
| module_init (crash_notes_memory_init) |
|
int __init | parse_crashkernel (char *cmdline, unsigned long long system_ram, unsigned long long *crash_size, unsigned long long *crash_base) |
|
void | crash_save_vmcoreinfo (void) |
|
void | vmcoreinfo_append_str (const char *fmt,...) |
|
void | __attribute__ ((weak)) |
|
| module_init (crash_save_vmcoreinfo_init) |
|
#define KIMAGE_NO_DEST (-1UL) |
int crash_shrink_memory |
( |
unsigned long |
new_size | ) |
|
module_init |
( |
crash_notes_memory_init |
| ) |
|
module_init |
( |
crash_save_vmcoreinfo_init |
| ) |
|
Initial value:= {
.name = "Crash kernel",
.start = 0,
.end = 0,
}
Definition at line 51 of file kexec.c.
struct kimage* kexec_crash_image |
u32 vmcoreinfo_note[VMCOREINFO_NOTE_SIZE/4] |