Lines Matching refs:image
30 int arch_kimage_file_post_load_cleanup(struct kimage *image) in arch_kimage_file_post_load_cleanup() argument
32 kvfree(image->arch.dtb); in arch_kimage_file_post_load_cleanup()
33 image->arch.dtb = NULL; in arch_kimage_file_post_load_cleanup()
35 vfree(image->elf_headers); in arch_kimage_file_post_load_cleanup()
36 image->elf_headers = NULL; in arch_kimage_file_post_load_cleanup()
37 image->elf_headers_sz = 0; in arch_kimage_file_post_load_cleanup()
39 return kexec_image_post_load_cleanup_default(image); in arch_kimage_file_post_load_cleanup()
81 int load_other_segments(struct kimage *image, in load_other_segments() argument
90 orig_segments = image->nr_segments; in load_other_segments()
93 kbuf.image = image; in load_other_segments()
98 if (image->type == KEXEC_TYPE_CRASH) { in load_other_segments()
118 image->elf_headers = headers; in load_other_segments()
119 image->elf_load_addr = kbuf.mem; in load_other_segments()
120 image->elf_headers_sz = headers_sz; in load_other_segments()
123 image->elf_load_addr, kbuf.bufsz, kbuf.memsz); in load_other_segments()
148 dtb = of_kexec_alloc_and_setup_fdt(image, initrd_load_addr, in load_other_segments()
171 image->arch.dtb = dtb; in load_other_segments()
172 image->arch.dtb_mem = kbuf.mem; in load_other_segments()
180 image->nr_segments = orig_segments; in load_other_segments()