Searched refs:crash_mem (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/arch/powerpc/include/asm/ |
D | kexec_ranges.h | 7 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 …]
|
D | kexec.h | 113 struct crash_mem *exclude_ranges;
|
/Linux-v6.1/arch/powerpc/kexec/ |
D | ranges.c | 35 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 …]
|
D | file_load_64.c | 55 static int get_exclude_memory_ranges(struct crash_mem **mem_ranges) in get_exclude_memory_ranges() 103 static int get_usable_memory_ranges(struct crash_mem **mem_ranges) in get_usable_memory_ranges() 141 static int get_crash_memory_ranges(struct crash_mem **mem_ranges) in get_crash_memory_ranges() 144 struct crash_mem *tmem; in get_crash_memory_ranges() 217 static int get_reserved_memory_ranges(struct crash_mem **mem_ranges) in get_reserved_memory_ranges() 299 const struct crash_mem *emem) in locate_mem_hole_top_down_ppc64() 397 const struct crash_mem *emem) in locate_mem_hole_bottom_up_ppc64() 650 static int update_usable_mem_fdt(void *fdt, struct crash_mem *usable_mem) in update_usable_mem_fdt() 791 struct crash_mem *cmem = NULL; in load_elfcorehdr_segment() 1100 struct crash_mem *umem = NULL, *rmem = NULL; in setup_new_fdt_ppc64() [all …]
|
/Linux-v6.1/arch/x86/kernel/ |
D | crash.c | 187 static struct crash_mem *fill_up_crash_elf_data(void) in fill_up_crash_elf_data() 190 struct crash_mem *cmem; in fill_up_crash_elf_data() 215 static int elf_header_exclude_ranges(struct crash_mem *cmem) in elf_header_exclude_ranges() 238 struct crash_mem *cmem = arg; in prepare_elf64_ram_headers_callback() 251 struct crash_mem *cmem; in prepare_elf_headers() 302 static int memmap_exclude_ranges(struct kimage *image, struct crash_mem *cmem, in memmap_exclude_ranges() 325 struct crash_mem *cmem; in crash_setup_memmap_entries()
|
/Linux-v6.1/include/linux/ |
D | kexec.h | 247 struct crash_mem { struct 253 extern int crash_exclude_mem_range(struct crash_mem *mem, argument 256 extern int crash_prepare_elf64_headers(struct crash_mem *mem, int need_kernel_map,
|
/Linux-v6.1/arch/arm64/kernel/ |
D | machine_kexec_file.c | 44 struct crash_mem *cmem; in prepare_elf_headers()
|
/Linux-v6.1/arch/riscv/kernel/ |
D | elf_kexec.c | 112 struct crash_mem *cmem = arg; in prepare_elf64_ram_headers_callback() 123 struct crash_mem *cmem; in prepare_elf_headers()
|
/Linux-v6.1/kernel/ |
D | kexec_file.c | 1139 int crash_exclude_mem_range(struct crash_mem *mem, in crash_exclude_mem_range() 1221 int crash_prepare_elf64_headers(struct crash_mem *mem, int need_kernel_map, in crash_prepare_elf64_headers()
|