/arch/x86/kernel/ |
D | machine_kexec_32.c | 71 static void machine_kexec_free_page_tables(struct kimage *image) in machine_kexec_free_page_tables() argument 73 free_page((unsigned long)image->arch.pgd); in machine_kexec_free_page_tables() 75 free_page((unsigned long)image->arch.pmd0); in machine_kexec_free_page_tables() 76 free_page((unsigned long)image->arch.pmd1); in machine_kexec_free_page_tables() 78 free_page((unsigned long)image->arch.pte0); in machine_kexec_free_page_tables() 79 free_page((unsigned long)image->arch.pte1); in machine_kexec_free_page_tables() 82 static int machine_kexec_alloc_page_tables(struct kimage *image) in machine_kexec_alloc_page_tables() argument 84 image->arch.pgd = (pgd_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables() 86 image->arch.pmd0 = (pmd_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables() 87 image->arch.pmd1 = (pmd_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables() [all …]
|
D | machine_kexec_64.c | 24 static int init_one_level2_page(struct kimage *image, pgd_t *pgd, in init_one_level2_page() argument 35 page = kimage_alloc_control_pages(image, 0); in init_one_level2_page() 44 page = kimage_alloc_control_pages(image, 0); in init_one_level2_page() 71 static int init_level3_page(struct kimage *image, pud_t *level3p, in init_level3_page() argument 84 page = kimage_alloc_control_pages(image, 0); in init_level3_page() 104 static int init_level4_page(struct kimage *image, pgd_t *level4p, in init_level4_page() argument 117 page = kimage_alloc_control_pages(image, 0); in init_level4_page() 123 result = init_level3_page(image, level3p, addr, last_addr); in init_level4_page() 138 static void free_transition_pgtable(struct kimage *image) in free_transition_pgtable() argument 140 free_page((unsigned long)image->arch.pud); in free_transition_pgtable() [all …]
|
/arch/powerpc/boot/ |
D | Makefile | 175 image-$(CONFIG_PPC_PSERIES) += zImage.pseries 176 image-$(CONFIG_PPC_POWERNV) += zImage.pseries 177 image-$(CONFIG_PPC_MAPLE) += zImage.maple 178 image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries 179 image-$(CONFIG_PPC_PS3) += dtbImage.ps3 180 image-$(CONFIG_PPC_CELLEB) += zImage.pseries 181 image-$(CONFIG_PPC_CELL_QPACE) += zImage.pseries 182 image-$(CONFIG_PPC_CHRP) += zImage.chrp 183 image-$(CONFIG_PPC_EFIKA) += zImage.chrp 184 image-$(CONFIG_PPC_PMAC) += zImage.pmac [all …]
|
/arch/s390/kernel/ |
D | machine_kexec.c | 77 static void __do_machine_kdump(void *image) in __do_machine_kdump() argument 80 int (*start_kdump)(int) = (void *)((struct kimage *) image)->start; in __do_machine_kdump() 91 static int kdump_csum_valid(struct kimage *image) in kdump_csum_valid() argument 94 int (*start_kdump)(int) = (void *)image->start; in kdump_csum_valid() 152 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 160 if (image->type == KEXEC_TYPE_CRASH) in machine_kexec_prepare() 164 if (image->type != KEXEC_TYPE_DEFAULT) in machine_kexec_prepare() 168 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare() 175 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 196 struct kimage *image = data; in __do_machine_kexec() local [all …]
|
/arch/sh/kernel/ |
D | machine_kexec.c | 45 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 50 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 54 static void kexec_info(struct kimage *image) in kexec_info() argument 58 for (i = 0; i < image->nr_segments; i++) { in kexec_info() 61 (unsigned int)image->segment[i].mem, in kexec_info() 62 (unsigned int)image->segment[i].mem + in kexec_info() 63 image->segment[i].memsz, in kexec_info() 64 (unsigned int)image->segment[i].memsz); in kexec_info() 66 printk(" start : 0x%08x\n\n", (unsigned int)image->start); in kexec_info() 73 void machine_kexec(struct kimage *image) in machine_kexec() argument [all …]
|
/arch/ia64/kernel/ |
D | machine_kexec.c | 58 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 65 control_code_buffer = page_address(image->control_code_page); in machine_kexec_prepare() 70 ia64_kimage = image; in machine_kexec_prepare() 75 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 85 struct kimage *image = arg; in ia64_machine_kexec() local 88 unsigned long code_addr = (unsigned long)page_address(image->control_code_page); in ia64_machine_kexec() 93 BUG_ON(!image); in ia64_machine_kexec() 94 if (image->type == KEXEC_TYPE_CRASH) { in ia64_machine_kexec() 133 (*rnk)(image->head, image->start, ia64_boot_param, in ia64_machine_kexec() 138 void machine_kexec(struct kimage *image) in machine_kexec() argument [all …]
|
/arch/powerpc/kernel/ |
D | machine_kexec_64.c | 32 int default_machine_kexec_prepare(struct kimage *image) in default_machine_kexec_prepare() argument 49 for (i = 0; i < image->nr_segments; i++) in default_machine_kexec_prepare() 50 if (image->segment[i].mem < __pa(_end)) in default_machine_kexec_prepare() 67 for (i = 0; i < image->nr_segments; i++) { in default_machine_kexec_prepare() 68 begin = image->segment[i].mem; in default_machine_kexec_prepare() 69 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare() 86 for (i = 0; i < image->nr_segments; i++) { in default_machine_kexec_prepare() 87 begin = image->segment[i].mem; in default_machine_kexec_prepare() 88 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare() 133 void kexec_copy_flush(struct kimage *image) in kexec_copy_flush() argument [all …]
|
D | machine_kexec_32.c | 31 void default_machine_kexec(struct kimage *image) in default_machine_kexec() argument 46 page_list = image->head; in default_machine_kexec() 50 (unsigned long)page_address(image->control_code_page); in default_machine_kexec() 63 (*rnk)(page_list, reboot_code_buffer_phys, image->start); in default_machine_kexec() 66 int default_machine_kexec_prepare(struct kimage *image) in default_machine_kexec_prepare() argument
|
D | machine_kexec.c | 56 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 59 return ppc_md.machine_kexec_prepare(image); in machine_kexec_prepare() 61 return default_machine_kexec_prepare(image); in machine_kexec_prepare() 64 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 84 void machine_kexec(struct kimage *image) in machine_kexec() argument 91 ppc_md.machine_kexec(image); in machine_kexec() 93 default_machine_kexec(image); in machine_kexec()
|
/arch/sparc/boot/ |
D | Makefile | 10 targets := tftpboot.img btfix.o btfix.S image zImage vmlinux.aout 14 cmd_elftoaout = $(ELFTOAOUT) $(obj)/image -o $@ 54 $(obj)/image: $(obj)/btfix.o FORCE 55 $(call if_changed_rule,image) 57 $(obj)/zImage: $(obj)/image 69 $(obj)/image: vmlinux FORCE 73 $(obj)/zImage: $(obj)/image 88 $(obj)/image.bin: $(obj)/image FORCE 91 $(obj)/image.gz: $(obj)/image.bin 103 $(obj)/uImage: $(obj)/image.gz [all …]
|
D | piggyback.c | 191 int image, tail; in main() local 205 if ((image = open(argv[2], O_RDWR)) < 0) in main() 207 if (read(image, buffer, 512) != 512) in main() 221 offset = get_hdrs_offset(image, argv[2]); in main() 225 if (lseek(image, offset, 0) < 0) in main() 240 if (write(image, buffer + 2, 14) != 14) in main() 246 if (lseek(image, 4, 0) < 0) in main() 255 if (write(image, buffer, 12) != 12) in main() 260 if (lseek(image, AOUT_TEXT_OFFSET - start + align(end + 32), 0) < 0) in main() 265 if (write(image, buffer, i) != i) in main() [all …]
|
/arch/mips/kernel/ |
D | machine_kexec.c | 46 machine_kexec(struct kimage *image) in machine_kexec() argument 53 (unsigned long)page_address(image->control_code_page); in machine_kexec() 55 kexec_start_address = image->start; in machine_kexec() 57 (unsigned long) phys_to_virt(image->head & PAGE_MASK); in machine_kexec() 68 for (ptr = &image->head; (entry = *ptr) && !(entry &IND_DONE); in machine_kexec() 81 printk("Will call new kernel at %08lx\n", image->start); in machine_kexec()
|
/arch/tile/kernel/ |
D | machine_kexec.c | 75 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 83 if (image->type != KEXEC_TYPE_DEFAULT) { in machine_kexec_prepare() 87 image->type); in machine_kexec_prepare() 93 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 170 static void kexec_find_and_set_command_line(struct kimage *image) in kexec_find_and_set_command_line() argument 178 for (ptr = &image->head; in kexec_find_and_set_command_line() 251 void machine_kexec(struct kimage *image) in machine_kexec() argument 260 kexec_find_and_set_command_line(image); in machine_kexec() 267 homecache_change_page_home(image->control_code_page, 0, in machine_kexec() 269 reboot_code_buffer = vmap(&image->control_code_page, 1, 0, in machine_kexec() [all …]
|
/arch/arm/kernel/ |
D | machine_kexec.c | 33 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 38 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 107 void machine_kexec(struct kimage *image) in machine_kexec() argument 114 page_list = image->head & PAGE_MASK; in machine_kexec() 118 page_to_pfn(image->control_code_page) << PAGE_SHIFT; in machine_kexec() 119 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec() 122 kexec_start_address = image->start; in machine_kexec() 125 kexec_boot_atags = image->start - KEXEC_ARM_ZIMAGE_OFFSET + KEXEC_ARM_ATAGS_OFFSET; in machine_kexec()
|
/arch/powerpc/platforms/85xx/ |
D | smp.c | 159 static void mpc85xx_smp_flush_dcache_kexec(struct kimage *image) in mpc85xx_smp_flush_dcache_kexec() argument 165 if (image->type == KEXEC_TYPE_DEFAULT) { in mpc85xx_smp_flush_dcache_kexec() 167 for (ptr = &image->head; (entry = *ptr) && !(entry & IND_DONE); in mpc85xx_smp_flush_dcache_kexec() 178 for (i = 0; i < image->nr_segments; i++) { in mpc85xx_smp_flush_dcache_kexec() 179 struct kexec_segment *seg = &image->segment[i]; in mpc85xx_smp_flush_dcache_kexec() 188 flush_dcache_range((unsigned long)image, in mpc85xx_smp_flush_dcache_kexec() 189 (unsigned long)image + sizeof(*image)); in mpc85xx_smp_flush_dcache_kexec() 192 static void mpc85xx_smp_machine_kexec(struct kimage *image) in mpc85xx_smp_machine_kexec() argument 197 mpc85xx_smp_flush_dcache_kexec(image); in mpc85xx_smp_machine_kexec() 199 if (image->type == KEXEC_TYPE_DEFAULT) in mpc85xx_smp_machine_kexec() [all …]
|
/arch/s390/boot/ |
D | Makefile | 11 targets := image 15 $(obj)/image: vmlinux FORCE 24 install: $(CONFIGURE) $(obj)/image 25 sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/image \
|
/arch/arm/mach-ixp4xx/ |
D | ixp4xx_npe.c | 521 } *image; in npe_load_firmware() local 540 image = (struct dl_image*)fw_entry->data; in npe_load_firmware() 544 image->magic, image->id, image->size, image->size * 4); in npe_load_firmware() 547 if (image->magic == swab32(FW_MAGIC)) { /* swapped file */ in npe_load_firmware() 548 image->id = swab32(image->id); in npe_load_firmware() 549 image->size = swab32(image->size); in npe_load_firmware() 550 } else if (image->magic != FW_MAGIC) { in npe_load_firmware() 552 image->magic); in npe_load_firmware() 555 if ((image->size * 4 + sizeof(struct dl_image)) != fw_entry->size) { in npe_load_firmware() 560 if (((image->id >> 24) & 0xF /* NPE ID */) != npe->id) { in npe_load_firmware() [all …]
|
/arch/xtensa/boot/boot-redboot/ |
D | boot.ld | 43 .image 0xd0001000: AT(__image_load) 46 *(image) 52 .bss ((LOADADDR(.image) + SIZEOF(.image) + 3) & ~ 3):
|
/arch/xtensa/boot/boot-elf/ |
D | boot.lds.S | 45 .image 0xd0001000: 48 *(image) 54 .bss ((LOADADDR(.image) + SIZEOF(.image) + 3) & ~ 3):
|
D | Makefile | 27 --add-section image=vmlinux.tmp \ 28 --set-section-flags image=contents,alloc,load,load,data \ 41 --add-section image=vmlinux.tmp \ 42 --set-section-flags image=contents,alloc,load,load,data \
|
/arch/x86/net/ |
D | bpf_jit_comp.c | 134 u8 *image = NULL; in bpf_jit_compile() local 483 t_offset = func - (image + addrs[i]); in bpf_jit_compile() 496 t_offset = func - (image + addrs[i]); in bpf_jit_compile() 503 t_offset = func - (image + addrs[i]); in bpf_jit_compile() 595 if (image) { in bpf_jit_compile() 599 module_free(NULL, image); in bpf_jit_compile() 602 memcpy(image + proglen, temp, ilen); in bpf_jit_compile() 617 if (image) { in bpf_jit_compile() 623 image = module_alloc(max_t(unsigned int, in bpf_jit_compile() 626 if (!image) in bpf_jit_compile() [all …]
|
/arch/powerpc/include/asm/ |
D | kexec.h | 78 extern void default_machine_kexec(struct kimage *image); 79 extern int default_machine_kexec_prepare(struct kimage *image); 84 extern void machine_kexec_simple(struct kimage *image);
|
/arch/x86/boot/ |
D | mtools.conf.in | 9 # 1.44 MB floppy disk image 13 # 2.88 MB floppy disk image (mostly for virtual uses)
|
/arch/m68k/ifpsp060/ |
D | README | 32 fpsp.sa Full FP Kernel Module - hex image 36 pfpsp.sa Partial FP Kernel Module - hex image 39 fplsp.sa FP Library Module - hex image 43 isp.sa Integer Unimplemented Kernel Module - hex image 47 ilsp.sa Integer Unimplemented Library Module - hex image 58 was connected properly; hex image 62 connected properly; hex image
|
/arch/powerpc/net/ |
D | bpf_jit_comp.c | 32 static void bpf_jit_build_prologue(struct sk_filter *fp, u32 *image, in bpf_jit_build_prologue() argument 105 static void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue() argument 134 static int bpf_jit_build_body(struct sk_filter *fp, u32 *image, in bpf_jit_build_body() argument 546 u32 *image = NULL; in bpf_jit_compile() local 628 image = module_alloc(max_t(unsigned int, alloclen, in bpf_jit_compile() 630 if (!image) in bpf_jit_compile() 633 code_base = image + (FUNCTION_DESCR_SIZE/4); in bpf_jit_compile() 650 flen, proglen, pass, image); in bpf_jit_compile() 652 if (image) { in bpf_jit_compile() 661 ((u64 *)image)[0] = (u64)code_base; in bpf_jit_compile() [all …]
|