/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | machine_kexec.c | 35 const struct kimage *kimage) in _kexec_image_info() argument 41 pr_debug(" type: %d\n", kimage->type); in _kexec_image_info() 42 pr_debug(" start: %lx\n", kimage->start); in _kexec_image_info() 43 pr_debug(" head: %lx\n", kimage->head); in _kexec_image_info() 44 pr_debug(" nr_segments: %lu\n", kimage->nr_segments); in _kexec_image_info() 46 for (i = 0; i < kimage->nr_segments; i++) { in _kexec_image_info() 49 kimage->segment[i].mem, in _kexec_image_info() 50 kimage->segment[i].mem + kimage->segment[i].memsz, in _kexec_image_info() 51 kimage->segment[i].memsz, in _kexec_image_info() 52 kimage->segment[i].memsz / PAGE_SIZE); in _kexec_image_info() [all …]
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | kexec.c | 20 static void kexec_show_segment_info(const struct kimage *kimage, in kexec_show_segment_info() argument 25 kimage->segment[n].mem, in kexec_show_segment_info() 26 kimage->segment[n].mem + kimage->segment[n].memsz, in kexec_show_segment_info() 27 (unsigned long)kimage->segment[n].memsz, in kexec_show_segment_info() 28 (unsigned long)kimage->segment[n].memsz / PAGE_SIZE); in kexec_show_segment_info() 31 static void kexec_image_info(const struct kimage *kimage) in kexec_image_info() argument 36 pr_debug(" type: %d\n", kimage->type); in kexec_image_info() 37 pr_debug(" start: %lx\n", kimage->start); in kexec_image_info() 38 pr_debug(" head: %lx\n", kimage->head); in kexec_image_info() 39 pr_debug(" nr_segments: %lu\n", kimage->nr_segments); in kexec_image_info() [all …]
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | machine_kexec.c | 33 static void kexec_image_info(const struct kimage *kimage) in kexec_image_info() argument 38 pr_debug(" type: %d\n", kimage->type); in kexec_image_info() 39 pr_debug(" start: %lx\n", kimage->start); in kexec_image_info() 40 pr_debug(" head: %lx\n", kimage->head); in kexec_image_info() 41 pr_debug(" nr_segments: %lu\n", kimage->nr_segments); in kexec_image_info() 43 for (i = 0; i < kimage->nr_segments; i++) { in kexec_image_info() 46 kimage->segment[i].mem, in kexec_image_info() 47 kimage->segment[i].mem + kimage->segment[i].memsz, in kexec_image_info() 48 (unsigned long)kimage->segment[i].memsz, in kexec_image_info() 49 (unsigned long)kimage->segment[i].memsz / PAGE_SIZE); in kexec_image_info() [all …]
|
/kernel/linux/linux-5.10/kernel/ |
D | kexec_internal.h | 7 struct kimage *do_kimage_alloc_init(void); 8 int sanity_check_segment_list(struct kimage *image); 10 void kimage_free(struct kimage *image); 11 int kimage_load_segment(struct kimage *image, struct kexec_segment *segment); 12 void kimage_terminate(struct kimage *image); 13 int kimage_is_destination_range(struct kimage *image, 16 int machine_kexec_post_load(struct kimage *image); 22 void kimage_file_post_load_cleanup(struct kimage *image); 26 static inline void kimage_file_post_load_cleanup(struct kimage *image) { } in kimage_file_post_load_cleanup()
|
D | kexec_core.c | 144 static struct page *kimage_alloc_page(struct kimage *image, 148 int sanity_check_segment_list(struct kimage *image) in sanity_check_segment_list() 254 struct kimage *do_kimage_alloc_init(void) in do_kimage_alloc_init() 256 struct kimage *image; in do_kimage_alloc_init() 281 int kimage_is_destination_range(struct kimage *image, in kimage_is_destination_range() 350 static struct page *kimage_alloc_normal_control_pages(struct kimage *image, in kimage_alloc_normal_control_pages() 416 static struct page *kimage_alloc_crash_control_pages(struct kimage *image, in kimage_alloc_crash_control_pages() 483 struct page *kimage_alloc_control_pages(struct kimage *image, in kimage_alloc_control_pages() 500 int kimage_crash_copy_vmcoreinfo(struct kimage *image) in kimage_crash_copy_vmcoreinfo() 534 static int kimage_add_entry(struct kimage *image, kimage_entry_t entry) in kimage_add_entry() [all …]
|
D | kexec_file.c | 32 static int kexec_calculate_store_digests(struct kimage *image); 39 int kexec_image_probe_default(struct kimage *image, void *buf, in kexec_image_probe_default() 57 int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf, in arch_kexec_kernel_image_probe() 63 static void *kexec_image_load_default(struct kimage *image) in kexec_image_load_default() 74 void * __weak arch_kexec_kernel_image_load(struct kimage *image) in arch_kexec_kernel_image_load() 79 int kexec_image_post_load_cleanup_default(struct kimage *image) in kexec_image_post_load_cleanup_default() 87 int __weak arch_kimage_file_post_load_cleanup(struct kimage *image) in arch_kimage_file_post_load_cleanup() 93 static int kexec_image_verify_sig_default(struct kimage *image, void *buf, in kexec_image_verify_sig_default() 104 int __weak arch_kexec_kernel_verify_sig(struct kimage *image, void *buf, in arch_kexec_kernel_verify_sig() 150 void kimage_file_post_load_cleanup(struct kimage *image) in kimage_file_post_load_cleanup() [all …]
|
D | kexec.c | 22 static int copy_user_segment_list(struct kimage *image, in copy_user_segment_list() 39 static int kimage_alloc_init(struct kimage **rimage, unsigned long entry, in kimage_alloc_init() 45 struct kimage *image; in kimage_alloc_init() 109 struct kimage **dest_image, *image; in do_kexec_load()
|
/kernel/linux/linux-5.10/include/linux/ |
D | kexec.h | 119 struct kimage; 122 typedef void *(kexec_load_t)(struct kimage *image, char *kernel_buf, 144 int kexec_image_probe_default(struct kimage *image, void *buf, 146 int kexec_image_post_load_cleanup_default(struct kimage *image); 169 struct kimage *image; 180 int kexec_load_purgatory(struct kimage *image, struct kexec_buf *kbuf); 181 int kexec_purgatory_get_set_symbol(struct kimage *image, const char *name, 184 void *kexec_purgatory_get_symbol_addr(struct kimage *image, const char *name); 187 int arch_kexec_kernel_image_probe(struct kimage *image, void *buf, 189 void *arch_kexec_kernel_image_load(struct kimage *image); [all …]
|
D | ima.h | 35 extern void ima_add_kexec_buffer(struct kimage *image); 122 struct kimage; 124 static inline void ima_add_kexec_buffer(struct kimage *image) in ima_add_kexec_buffer()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | kexec.h | 79 struct kimage; 81 extern void default_machine_kexec(struct kimage *image); 82 extern int default_machine_kexec_prepare(struct kimage *image); 121 char *setup_kdump_cmdline(struct kimage *image, char *cmdline, 123 int setup_purgatory(struct kimage *image, const void *slave_code, 126 int setup_new_fdt(const struct kimage *image, void *fdt, 134 int load_crashdump_segments_ppc64(struct kimage *image, 136 int setup_purgatory_ppc64(struct kimage *image, const void *slave_code, 139 unsigned int kexec_fdt_totalsize_ppc64(struct kimage *image); 140 int setup_new_fdt_ppc64(const struct kimage *image, void *fdt,
|
D | ima.h | 5 struct kimage; 17 int arch_ima_add_kexec_buffer(struct kimage *image, unsigned long load_addr, 20 int setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node); 22 static inline int setup_ima_buffer(const struct kimage *image, void *fdt, in setup_ima_buffer()
|
/kernel/linux/linux-5.10/arch/m68k/kernel/ |
D | machine_kexec.c | 17 int machine_kexec_prepare(struct kimage *kimage) in machine_kexec_prepare() argument 22 void machine_kexec_cleanup(struct kimage *kimage) in machine_kexec_cleanup() argument 38 void machine_kexec(struct kimage *image) in machine_kexec()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | machine_kexec.c | 62 start_kdump = (void *)((struct kimage *) image)->start; in __do_machine_kdump() 114 struct kimage *image = (struct kimage *) addr; in do_start_kdump() 129 static bool kdump_csum_valid(struct kimage *image) in kdump_csum_valid() 198 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() 217 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() 247 struct kimage *image = data; in __do_machine_kexec() 270 if (((struct kimage *) data)->type == KEXEC_TYPE_CRASH) in __machine_kexec() 280 void machine_kexec(struct kimage *image) in machine_kexec()
|
D | machine_kexec_file.c | 74 static int kexec_file_update_purgatory(struct kimage *image, in kexec_file_update_purgatory() 117 static int kexec_file_add_purgatory(struct kimage *image, in kexec_file_add_purgatory() 138 static int kexec_file_add_initrd(struct kimage *image, in kexec_file_add_initrd() 166 static int kexec_file_add_ipl_report(struct kimage *image, in kexec_file_add_ipl_report() 223 void *kexec_file_add_components(struct kimage *image, in kexec_file_add_components() 224 int (*add_kernel)(struct kimage *image, in kexec_file_add_components() 324 int arch_kexec_kernel_image_probe(struct kimage *image, void *buf, in arch_kexec_kernel_image_probe() 338 int arch_kimage_file_post_load_cleanup(struct kimage *image) in arch_kimage_file_post_load_cleanup()
|
D | kexec_image.c | 16 static int kexec_file_add_kernel_image(struct kimage *image, in kexec_file_add_kernel_image() 43 static void *s390_image_load(struct kimage *image, in s390_image_load()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | machine_kexec.c | 34 struct kimage *ia64_kimage; 56 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() 73 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() 83 struct kimage *image = arg; in ia64_machine_kexec() 136 void machine_kexec(struct kimage *image) in machine_kexec()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | crash.h | 5 struct kimage; 7 int crash_load_segments(struct kimage *image); 8 int crash_setup_memmap_entries(struct kimage *image,
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | machine_kexec_32.c | 54 static void machine_kexec_free_page_tables(struct kimage *image) in machine_kexec_free_page_tables() 70 static int machine_kexec_alloc_page_tables(struct kimage *image) in machine_kexec_alloc_page_tables() 111 static void machine_kexec_prepare_page_tables(struct kimage *image) in machine_kexec_prepare_page_tables() 146 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() 162 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() 172 void machine_kexec(struct kimage *image) in machine_kexec()
|
D | machine_kexec_64.c | 111 static void free_transition_pgtable(struct kimage *image) in free_transition_pgtable() 123 static int init_transition_pgtable(struct kimage *image, pgd_t *pgd) in init_transition_pgtable() 180 struct kimage *image = (struct kimage *)data; in alloc_pgt_page() 193 static int init_pgtable(struct kimage *image, unsigned long start_pgtable) in init_pgtable() 300 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() 316 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() 325 void machine_kexec(struct kimage *image) in machine_kexec() 403 void *arch_kexec_kernel_image_load(struct kimage *image) in arch_kexec_kernel_image_load()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | kexec.h | 53 struct kimage; 71 void *kexec_file_add_components(struct kimage *image, 72 int (*add_kernel)(struct kimage *image,
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | kexec.h | 107 struct kimage; 109 extern int arch_kimage_file_post_load_cleanup(struct kimage *image); 110 extern int load_other_segments(struct kimage *image,
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
D | machine_kexec.c | 41 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() 46 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() 50 static void kexec_info(struct kimage *image) in kexec_info() 69 void machine_kexec(struct kimage *image) in machine_kexec()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | kexec.h | 35 struct kimage; 37 extern int (*_machine_kexec_prepare)(struct kimage *);
|
/kernel/linux/linux-5.10/arch/powerpc/kexec/ |
D | core_32.c | 29 void default_machine_kexec(struct kimage *image) in default_machine_kexec() 66 int default_machine_kexec_prepare(struct kimage *image) in default_machine_kexec_prepare()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | machine_kexec.c | 33 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() 72 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() 155 void machine_kexec(struct kimage *image) in machine_kexec()
|