Home
last modified time | relevance | path

Searched refs:crash_mem (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/arch/powerpc/include/asm/
Dkexec_ranges.h7 void sort_memory_ranges(struct crash_mem *mrngs, bool merge);
8 struct crash_mem *realloc_mem_ranges(struct crash_mem **mem_ranges);
9 int add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size);
10 int add_tce_mem_ranges(struct crash_mem **mem_ranges);
11 int add_initrd_mem_range(struct crash_mem **mem_ranges);
13 int add_htab_mem_range(struct crash_mem **mem_ranges);
15 static inline int add_htab_mem_range(struct crash_mem **mem_ranges) in add_htab_mem_range()
20 int add_kernel_mem_range(struct crash_mem **mem_ranges);
21 int add_rtas_mem_range(struct crash_mem **mem_ranges);
22 int add_opal_mem_range(struct crash_mem **mem_ranges);
[all …]
Dkexec.h113 struct crash_mem *exclude_ranges;
/linux-6.6.21/arch/powerpc/kexec/
Dranges.c35 return ((size - sizeof(struct crash_mem)) / in get_max_nr_ranges()
46 static inline size_t get_mem_rngs_size(struct crash_mem *mem_rngs) in get_mem_rngs_size()
53 size = (sizeof(struct crash_mem) + in get_mem_rngs_size()
73 static int __add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size) in __add_mem_range()
75 struct crash_mem *mem_rngs = *mem_ranges; in __add_mem_range()
99 static void __merge_memory_ranges(struct crash_mem *mem_rngs) in __merge_memory_ranges()
142 void sort_memory_ranges(struct crash_mem *mem_rngs, bool merge) in sort_memory_ranges()
173 struct crash_mem *realloc_mem_ranges(struct crash_mem **mem_ranges) in realloc_mem_ranges()
175 struct crash_mem *mem_rngs = *mem_ranges; in realloc_mem_ranges()
208 int add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size) in add_mem_range()
[all …]
Dfile_load_64.c59 static int get_exclude_memory_ranges(struct crash_mem **mem_ranges) in get_exclude_memory_ranges()
107 static int get_usable_memory_ranges(struct crash_mem **mem_ranges) in get_usable_memory_ranges()
145 static int get_crash_memory_ranges(struct crash_mem **mem_ranges) in get_crash_memory_ranges()
148 struct crash_mem *tmem; in get_crash_memory_ranges()
221 static int get_reserved_memory_ranges(struct crash_mem **mem_ranges) in get_reserved_memory_ranges()
303 const struct crash_mem *emem) in locate_mem_hole_top_down_ppc64()
401 const struct crash_mem *emem) in locate_mem_hole_bottom_up_ppc64()
654 static int update_usable_mem_fdt(void *fdt, struct crash_mem *usable_mem) in update_usable_mem_fdt()
796 struct crash_mem *cmem = NULL; in load_elfcorehdr_segment()
1167 struct crash_mem *umem = NULL, *rmem = NULL; in setup_new_fdt_ppc64()
[all …]
/linux-6.6.21/arch/x86/kernel/
Dcrash.c140 static struct crash_mem *fill_up_crash_elf_data(void) in fill_up_crash_elf_data()
143 struct crash_mem *cmem; in fill_up_crash_elf_data()
168 static int elf_header_exclude_ranges(struct crash_mem *cmem) in elf_header_exclude_ranges()
191 struct crash_mem *cmem = arg; in prepare_elf64_ram_headers_callback()
204 struct crash_mem *cmem; in prepare_elf_headers()
260 static int memmap_exclude_ranges(struct kimage *image, struct crash_mem *cmem, in memmap_exclude_ranges()
283 struct crash_mem *cmem; in crash_setup_memmap_entries()
/linux-6.6.21/include/linux/
Dcrash_core.h92 struct crash_mem { struct
98 extern int crash_exclude_mem_range(struct crash_mem *mem, argument
101 extern int crash_prepare_elf64_headers(struct crash_mem *mem, int need_kernel_map,
/linux-6.6.21/arch/arm64/kernel/
Dmachine_kexec_file.c44 struct crash_mem *cmem; in prepare_elf_headers()
/linux-6.6.21/arch/riscv/kernel/
Delf_kexec.c130 struct crash_mem *cmem = arg; in prepare_elf64_ram_headers_callback()
141 struct crash_mem *cmem; in prepare_elf_headers()
/linux-6.6.21/kernel/
Dcrash_core.c324 int crash_prepare_elf64_headers(struct crash_mem *mem, int need_kernel_map, in crash_prepare_elf64_headers()
423 int crash_exclude_mem_range(struct crash_mem *mem, in crash_exclude_mem_range()