Lines Matching refs:image
28 static void *elf64_load(struct kimage *image, char *kernel_buf, in elf64_load() argument
42 struct kexec_buf kbuf = { .image = image, .buf_min = 0, in elf64_load()
44 struct kexec_buf pbuf = { .image = image, .buf_min = 0, in elf64_load()
52 if (IS_ENABLED(CONFIG_CRASH_DUMP) && image->type == KEXEC_TYPE_CRASH) { in elf64_load()
60 ret = kexec_elf_load(image, &ehdr, &elf_info, &kbuf, &kernel_load_addr); in elf64_load()
66 ret = kexec_load_purgatory(image, &pbuf); in elf64_load()
75 if (IS_ENABLED(CONFIG_CRASH_DUMP) && image->type == KEXEC_TYPE_CRASH) { in elf64_load()
76 ret = load_crashdump_segments_ppc64(image, &kbuf); in elf64_load()
83 modified_cmdline = setup_kdump_cmdline(image, cmdline, in elf64_load()
111 fdt = of_kexec_alloc_and_setup_fdt(image, initrd_load_addr, in elf64_load()
113 kexec_extra_fdt_size_ppc64(image, rmem)); in elf64_load()
120 ret = setup_new_fdt_ppc64(image, fdt, rmem); in elf64_load()
124 if (!IS_ENABLED(CONFIG_CRASH_HOTPLUG) || image->type != KEXEC_TYPE_CRASH) in elf64_load()
137 image->arch.fdt = fdt; in elf64_load()
144 ret = setup_purgatory_ppc64(image, slave_code, fdt, kernel_load_addr, in elf64_load()