Searched refs:initrd (Results 1 - 157 of 157) sorted by relevance

/linux-4.4.14/arch/um/kernel/
H A Dinitrd.c8 #include <linux/initrd.h>
14 static char *initrd __initdata = NULL;
23 if (initrd == NULL) read_initrd()
26 err = os_file_size(initrd, &size); read_initrd()
35 printk(KERN_ERR "\"%s\" is a zero-size initrd\n", initrd); read_initrd()
43 if (load_initrd(initrd, area, size) == -1) read_initrd()
55 initrd = line; uml_initrd_setup()
59 __uml_setup("initrd=", uml_initrd_setup,
60 "initrd=<initrd image>\n"
61 " This is used to boot UML from an initrd image. The argument is the\n"
H A DMakefile18 obj-$(CONFIG_BLK_DEV_INITRD) += initrd.o
H A Dmem.c179 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/arm/boot/bootp/
H A DMakefile15 targets := bootp init.o kernel.o initrd.o
17 # Note that bootp.lds picks up kernel.o and initrd.o
18 $(obj)/bootp: $(src)/bootp.lds $(addprefix $(obj)/,init.o kernel.o initrd.o) FORCE
22 # kernel.o and initrd.o includes a binary image using
27 $(obj)/initrd.o: $(INITRD) FORCE
H A Dinit.S10 * "Header" file for splitting kernel + initrd. Note that we pass
27 bl move @ move the initrd
30 * Setup the initrd parameters to pass to the kernel. This can only be
33 ldmia r13, {r5-r9} @ get size and addr of initrd
36 @ r7 = initrd start
37 @ r8 = initrd end
59 mov r5, #4 @ Size of initrd tag (4 words)
79 data: .word initrd_start @ source initrd address
80 .word initrd_phys @ destination initrd address
81 .word initrd_size @ initrd size
/linux-4.4.14/arch/powerpc/boot/
H A DzImage.ps3.lds.S17 .kernel:initrd : { *(.kernel:initrd) }
H A DzImage.lds.S63 .kernel:initrd :
66 *(.kernel:initrd)
H A DzImage.coff.lds.S31 *(.kernel:initrd)
H A Dmain.c97 printf("Attached initrd image at 0x%p-0x%p\n\r", prep_initrd()
106 /* If there's no initrd at all, we're done */ prep_initrd()
111 * If the initrd is too low it will be clobbered when the prep_initrd()
118 printf("Allocating 0x%lx bytes for initrd ...\n\r", prep_initrd()
124 printf("Relocating initrd 0x%lx <- 0x%p (0x%lx bytes)\n\r", prep_initrd()
129 printf("initrd head: 0x%lx\n\r", *((unsigned long *)initrd_addr)); prep_initrd()
131 /* Tell the kernel initrd address via device tree */ prep_initrd()
132 setprop_val(chosen, "linux,initrd-start", (u32)(initrd_addr)); prep_initrd()
133 setprop_val(chosen, "linux,initrd-end", (u32)(initrd_addr+initrd_size)); prep_initrd()
178 struct addr_range vmlinux, initrd; start() local
204 initrd = prep_initrd(vmlinux, chosen, start()
223 kentry((unsigned long)initrd.addr, initrd.size, start()
H A Dwrapper7 # This script takes a kernel binary and optionally an initrd image
14 # -i initrd specify initrd file
36 initrd=
60 echo 'Usage: wrapper [-o output] [-p platform] [-i initrd]' >&2
98 initrd="$1"
171 isection=.kernel:initrd
211 isection=initrd
250 isection=.kernel:initrd
369 # obs600 wants a multi image with an initrd, so we need to put a fake
371 if [ -n "$initrd" ]; then
372 real_rd="$initrd"
379 if [ -z "$initrd" ]; then
400 if [ -n "$initrd" ]; then
401 addsec $tmp "$initrd" $isection
H A DMakefile210 # args (to if_changed): 1 = (this rule), 2 = platform, 3 = dts 4=dtb 5=initrd
321 initrd- := $(patsubst zImage%, zImage.initrd%, $(image-))
322 initrd-y := $(patsubst zImage%, zImage.initrd%, \
323 $(patsubst dtbImage%, dtbImage.initrd%, \
324 $(patsubst simpleImage%, simpleImage.initrd%, \
325 $(patsubst treeImage%, treeImage.initrd%, $(image-y)))))
326 initrd-y := $(filter-out $(image-y), $(initrd-y))
327 targets += $(image-y) $(initrd-y)
329 $(addprefix $(obj)/, $(initrd-y)): $(obj)/ramdisk.image.gz
334 $(obj)/zImage.initrd.%: vmlinux $(wrapperbits)
341 $(obj)/dtbImage.initrd.%: vmlinux $(wrapperbits) $(obj)/%.dtb
355 $(obj)/uImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
361 $(obj)/cuImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
370 $(obj)/simpleImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
376 $(obj)/treeImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
393 $(obj)/zImage.initrd: $(addprefix $(obj)/, $(initrd-y))
405 clean-files += $(image-) $(initrd-) cuImage.* dtbImage.* treeImage.* \
406 zImage zImage.initrd zImage.chrp zImage.coff zImage.holly \
H A Dps3.c144 setprop_val(chosen, "linux,initrd-start", (u32)(_initrd_start)); platform_init()
145 setprop_val(chosen, "linux,initrd-end", (u32)(_initrd_end)); platform_init()
H A Dgunzip_util.h17 * kernel images, initrd images or any other gzip compressed image,
/linux-4.4.14/init/
H A Ddo_mounts_initrd.c16 #include <linux/initrd.h>
43 /* move initrd over / and chdir/chroot in initrd root */ init_linuxrc()
60 /* mount initrd on rootfs' /root */ handle_initrd()
65 /* try loading default modules from initrd */ handle_initrd()
82 /* move initrd to rootfs' /old */ handle_initrd()
96 printk(KERN_NOTICE "Trying to move old root to /initrd ... "); handle_initrd()
97 error = sys_mount("/old", "/root/initrd", NULL, MS_MOVE, NULL); handle_initrd()
103 printk("/initrd does not exist. Ignored.\n"); handle_initrd()
124 * Load the initrd data into /dev/ram0. Execute it as initrd initrd_load()
129 if (rd_load_image("/initrd.image") && ROOT_DEV != Root_RAM0) { initrd_load()
130 sys_unlink("/initrd.image"); initrd_load()
135 sys_unlink("/initrd.image"); initrd_load()
H A Dinitramfs.c524 #include <linux/initrd.h>
538 * If the initrd region is overlapped with crashkernel reserved region, free_initrd()
543 * Initialize initrd memory region since the kexec boot does free_initrd()
627 "; looks like an initrd\n", err); populate_rootfs()
628 fd = sys_open("/initrd.image", populate_rootfs()
635 pr_err("/initrd.image: incomplete write (%zd != %ld)\n", populate_rootfs()
H A Ddo_mounts_rd.c17 #include <linux/initrd.h>
246 if (strcmp(from, "/initrd.image") == 0) rd_load_image()
H A Dmain.c7 * Added initrd & change_root: Werner Almesberger & Hans Lermen, Feb '96
25 #include <linux/initrd.h>
625 pr_crit("initrd overwritten (0x%08lx < 0x%08lx) - disabling it.\n", start_kernel()
899 * called twice right after initrd is mounted and right before init is
900 * exec'd. If such modules are on either initrd or rootfs, they will be
H A Ddo_mounts.c25 #include <linux/initrd.h>
525 /* rd_doload is 2 for a dual initrd/ramload setup */ mount_root()
/linux-4.4.14/arch/unicore32/boot/
H A DMakefile34 PHONY += initrd FORCE
35 initrd:
/linux-4.4.14/arch/mips/ath79/
H A Dprom.c17 #include <linux/initrd.h>
30 /* Read the initrd address from the firmware environment */ prom_init()
/linux-4.4.14/arch/cris/mm/
H A Dinit.c59 /* Free the pages occupied by initrd code. */
64 free_init_pages("initrd memory", free_initrd_mem()
/linux-4.4.14/include/linux/decompress/
H A Dunxz.h2 * Wrapper for decompressing XZ-compressed kernel, initramfs, and initrd
/linux-4.4.14/arch/openrisc/kernel/
H A Dvmlinux.lds.S94 .initrd : AT(ADDR(.initrd) - LOAD_OFFSET)
97 *(.initrd)
H A Dsetup.c36 #include <linux/initrd.h>
/linux-4.4.14/arch/m32r/mm/
H A Ddiscontig.c12 #include <linux/initrd.h>
113 printk("initrd:start[%08lx],size[%08lx]\n",
116 printk("initrd extends beyond end of memory "
117 "(0x%08lx > 0x%08llx)\ndisabling initrd\n",
H A Dinit.c146 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/c6x/mm/
H A Dinit.c18 #include <linux/initrd.h>
72 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/mips/sibyte/common/
H A Dcfe.c112 panic("initrd out of addressable memory"); prom_meminit()
187 /* Make a copy of the initrd argument so we can smash it up here */ initrd_setup()
198 * e.g. initrd=3abfd@80010000. This is set up by the loader. initrd_setup()
221 printk("Found initrd of %lx@%lx\n", initrd_size, initrd_start); initrd_setup()
224 printk("Bad initrd argument. Disabling initrd\n"); initrd_setup()
302 /* Need to find out early whether we've got an initrd. So scan prom_init()
308 if (!strncmp(ptr, "initrd=", 7)) { prom_init()
/linux-4.4.14/arch/frv/boot/
H A DMakefile53 bootp/bootp: zImage initrd
56 initrd:
/linux-4.4.14/arch/x86/boot/
H A DMakefile116 # Set this if you want an initrd included with the
120 image_cmdline = default linux $(FDARGS) $(if $(FDINITRD),initrd=initrd.img,)
132 MTOOLSRC=$(obj)/mtools.conf mcopy '$(FDINITRD)' a:initrd.img ; \
144 MTOOLSRC=$(obj)/mtools.conf mcopy '$(FDINITRD)' v:initrd.img ; \
155 MTOOLSRC=$(obj)/mtools.conf mcopy '$(FDINITRD)' w:initrd.img ; \
172 cp '$(FDINITRD)' $(obj)/isoimage/initrd.img ; \
H A Dheader.S374 # the contents of an initrd
/linux-4.4.14/arch/sh/kernel/
H A Dsetup.c12 #include <linux/initrd.h>
135 pr_err("initrd must be page aligned\n"); check_for_initrd()
140 pr_err("initrd start (%08lx) < __MEMORY_START(%x)\n", check_for_initrd()
146 pr_err("initrd extends beyond end of memory " check_for_initrd()
147 "(0x%08lx > 0x%08lx)\ndisabling initrd\n", check_for_initrd()
154 * to the contrary, assume we actually have a valid initrd and check_for_initrd()
170 pr_info("initrd disabled\n"); check_for_initrd()
/linux-4.4.14/arch/arm/boot/
H A DMakefile83 $(obj)/bootp/bootp: $(obj)/zImage initrd FORCE
91 PHONY += initrd FORCE
92 initrd:
/linux-4.4.14/arch/score/kernel/
H A Dsetup.c27 #include <linux/initrd.h>
78 /* Reserve space for the initrd bitmap. */ bootmem_init()
86 printk(KERN_CONT " - disabling initrd\n"); bootmem_init()
/linux-4.4.14/arch/arm/boot/compressed/
H A Datags_to_fdt.c176 initrd_start = atag->u.initrd.start; for_each_tag()
177 initrd_size = atag->u.initrd.size; for_each_tag()
178 setprop_cell(fdt, "/chosen", "linux,initrd-start", for_each_tag()
180 setprop_cell(fdt, "/chosen", "linux,initrd-end", for_each_tag()
/linux-4.4.14/arch/score/mm/
H A Dinit.c36 #include <linux/initrd.h>
90 "initrd"); free_initrd_mem()
/linux-4.4.14/arch/x86/kernel/cpu/microcode/
H A Dintel.c30 #include <linux/initrd.h>
81 copy_initrd_ptrs(struct microcode_intel **mc_saved, unsigned long *initrd, copy_initrd_ptrs() argument
87 mc_saved[i] = (struct microcode_intel *)(initrd[i] + off); copy_initrd_ptrs()
111 load_microcode(struct mc_saved_data *mc_saved_data, unsigned long *initrd, load_microcode() argument
118 copy_initrd_ptrs(mc_saved_tmp, initrd, initrd_start, count); load_microcode()
543 scan_microcode(struct mc_saved_data *mc_saved_data, unsigned long *initrd, scan_microcode() argument
558 /* try built-in microcode if no initrd */ scan_microcode()
569 mc_saved_data, initrd, uci); scan_microcode()
704 pr_err("Cannot save microcode patches from initrd.\n"); save_microcode_in_initrd_intel()
713 unsigned long *initrd, _load_ucode_intel_bsp()
721 ret = scan_microcode(mc_saved_data, initrd, start, size, &uci); _load_ucode_intel_bsp()
725 ret = load_microcode(mc_saved_data, initrd, start, &uci); _load_ucode_intel_bsp()
742 * Set start only if we have an initrd image. We cannot use initrd_start load_ucode_intel_bsp()
712 _load_ucode_intel_bsp(struct mc_saved_data *mc_saved_data, unsigned long *initrd, unsigned long start, unsigned long size) _load_ucode_intel_bsp() argument
H A Damd.c29 #include <linux/initrd.h>
53 * save from the initrd before jettisoning its contents.
65 * Microcode patch container file is prepended to the initrd in cpio format.
136 * patch container file in initrd, traverse equivalent cpu table, look for a
137 * matching microcode patch, and update, all in initrd memory in place.
/linux-4.4.14/arch/sparc/mm/
H A Dinit_32.c21 #include <linux/initrd.h>
175 printk(KERN_CRIT "initrd extends beyond end of memory " bootmem_init()
176 "(0x%016lx > 0x%016lx)\ndisabling initrd\n", bootmem_init()
221 /* Reserve the initrd image area. */ bootmem_init()
348 "initrd"); free_initrd_mem()
H A Dinit_64.c16 #include <linux/initrd.h>
2041 * vmlinux and initrd. To be more precise the initrd size could be used to
2372 "initrd"); free_initrd_mem()
/linux-4.4.14/arch/arc/mm/
H A Dinit.c14 #include <linux/initrd.h>
86 early_param("initrd", early_initrd);
203 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/mips/kernel/
H A Dsetup.c19 #include <linux/initrd.h>
186 * Manage initrd
212 /* it returns the next free pfn after initrd */ init_initrd()
226 pr_err("initrd start must be page aligned\n"); init_initrd()
230 pr_err("initrd start < PAGE_OFFSET\n"); init_initrd()
235 * Sanitize initrd addresses. For example firmware init_initrd()
273 printk(KERN_CONT " - disabling initrd\n"); finalize_initrd()
290 * Initialize the bootmem allocator. It also setup initrd related data
314 * will reserve the area used for the initrd. bootmem_init()
346 /* Skip zones before initrd and initrd itself */ bootmem_init()
473 * Reserve initrd memory if needed. bootmem_init()
/linux-4.4.14/arch/nios2/kernel/
H A Dsetup.c19 #include <linux/initrd.h>
99 * @r5: initrd start
100 * @r6: initrd end or fdt
/linux-4.4.14/arch/arm64/kernel/
H A Dsetup.c27 #include <linux/initrd.h>
228 * Relocate initrd if it is not completely within the linear mapping.
244 * Any of the original initrd which overlaps the linear map should relocate_initrd()
254 /* initrd needs to be relocated completely inside linear mapping */ relocate_initrd()
258 panic("Cannot relocate initrd of size %ld\n", size); relocate_initrd()
264 pr_info("Moving initrd from [%llx-%llx] to [%llx-%llx]\n", relocate_initrd()
/linux-4.4.14/arch/alpha/boot/
H A DMakefile26 # BOOTP bootable image. Define INITRD during make to append initrd image.
34 # Define INITRD during make to append initrd image.
H A Dbootp.c165 /* The initrd must be page-aligned. See below for the start_kernel()
/linux-4.4.14/arch/mn10300/mm/
H A Dinit.c25 #include <linux/initrd.h>
134 "initrd"); free_initrd_mem()
/linux-4.4.14/arch/arm/mm/
H A Dinit.c18 #include <linux/initrd.h>
68 early_param("initrd", early_initrd);
74 phys_initrd_start = __virt_to_phys(tag->u.initrd.start); parse_tag_initrd()
75 phys_initrd_size = tag->u.initrd.size; parse_tag_initrd()
83 phys_initrd_start = tag->u.initrd.start; parse_tag_initrd2()
84 phys_initrd_size = tag->u.initrd.size; parse_tag_initrd2()
232 /* Register the kernel text, kernel data and initrd with memblock. */ arm_memblock_init()
247 pr_err("INITRD: 0x%08llx+0x%08lx is not a memory region - disabling initrd\n", arm_memblock_init()
253 pr_err("INITRD: 0x%08llx+0x%08lx overlaps in-use memory region - disabling initrd\n", arm_memblock_init()
260 /* Now convert initrd to virtual addresses */ arm_memblock_init()
774 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/include/uapi/linux/
H A Dkexec.h20 * KEXEC_FILE_NO_INITRAMFS : No initramfs is being loaded. Ignore the initrd
H A Dsysctl.h96 KERN_REALROOTDEV=16, /* real root device to mount after initrd */
/linux-4.4.14/arch/m32r/kernel/
H A Dsetup.c19 #include <linux/initrd.h>
207 printk("initrd:start[%08lx],size[%08lx]\n", setup_memory()
210 printk("initrd extends beyond end of memory " setup_memory()
211 "(0x%08lx > 0x%08lx)\ndisabling initrd\n", setup_memory()
H A Dhead.S248 ; to be needed to boot from initrd)
/linux-4.4.14/arch/arm64/mm/
H A Dinit.c28 #include <linux/initrd.h>
66 early_param("initrd", early_initrd);
165 * Register the kernel text, kernel data, initrd, and initial arm64_memblock_init()
373 free_reserved_area((void *)start, (void *)end, 0, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/arm/mach-sa1100/
H A Dshannon.c40 .name = "initrd",
H A Dnanoengine.c43 .name = "kernel/initrd reserved",
H A Dhackkit.c167 .name = "initrd",
H A Djornada720.c299 .name = "JORNADA720 initrd",
/linux-4.4.14/arch/unicore32/mm/
H A Dinit.c17 #include <linux/initrd.h>
51 early_param("initrd", early_initrd);
252 /* Register the kernel text, kernel data and initrd with memblock. */ uc32_memblock_init()
259 /* Now convert initrd to virtual addresses */ uc32_memblock_init()
441 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/s390/mm/
H A Dinit.c27 #include <linux/initrd.h>
144 "initrd"); free_initrd_mem()
/linux-4.4.14/arch/alpha/kernel/
H A Dcore_irongate.c21 #include <linux/initrd.h>
231 /* Move the initrd out of the way. */ albacore_init_arch()
239 printk("irongate_init_arch: initrd too big " albacore_init_arch()
240 "(%ldK)\ndisabling initrd\n", albacore_init_arch()
H A Dsetup.c35 #include <linux/initrd.h>
302 printk("initrd moved to %p\n", start); move_initrd()
455 printk("initrd extends beyond end of memory "
456 "(0x%08lx > 0x%p)\ndisabling initrd\n",
/linux-4.4.14/arch/powerpc/include/asm/
H A Dkexec.h25 * XXX: I want to allow initrd in highmem. Otherwise set to rmo on LPAR.
/linux-4.4.14/arch/powerpc/platforms/83xx/
H A Dmpc832x_mds.c25 #include <linux/initrd.h>
H A Dkm83xx.c26 #include <linux/initrd.h>
H A Dmpc836x_mds.c32 #include <linux/initrd.h>
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/
H A Dstorcenter.c16 #include <linux/initrd.h>
H A Dlinkstation.c14 #include <linux/initrd.h>
/linux-4.4.14/arch/microblaze/kernel/
H A Dprom.c27 #include <linux/initrd.h>
H A Dsetup.c17 #include <linux/initrd.h>
/linux-4.4.14/arch/ia64/include/asm/
H A Dmeminit.h15 * - initrd (optional)
/linux-4.4.14/drivers/firmware/efi/libstub/
H A Dfdt.c102 /* Set initrd address/end in device tree, if present */ update_fdt()
107 status = fdt_setprop(fdt, node, "linux,initrd-start", update_fdt()
112 status = fdt_setprop(fdt, node, "linux,initrd-end", update_fdt()
165 * initrd related fields to the FDT. This routine increases the
H A Darm-stub.c132 efi_printk(sys_table_arg, "Failed to get initrd info\n"); efi_file_size()
264 "initrd=", dram_base + SZ_512M, efi_entry()
268 pr_efi_err(sys_table, "Failed initrd from command line!\n"); efi_entry()
H A Defi-stub-helper.c26 * If you experience issues with initrd images being corrupt it's worth
38 * with the allocations for initrd and fdt more efficiently.
/linux-4.4.14/arch/alpha/mm/
H A Dnuma.c14 #include <linux/initrd.h>
275 printk("initrd extends beyond end of memory " setup_memory()
276 "(0x%08lx > 0x%p)\ndisabling initrd\n", setup_memory()
H A Dinit.c298 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/x86/kernel/
H A Dkexec-bzimage64.c328 unsigned long kernel_len, char *initrd, bzImage64_load()
446 /* Load initrd high */ bzImage64_load()
447 if (initrd) { bzImage64_load()
448 ret = kexec_add_buffer(image, initrd, initrd_len, initrd_len, bzImage64_load()
454 pr_debug("Loaded initrd at 0x%lx bufsz=0x%lx memsz=0x%lx\n", bzImage64_load()
327 bzImage64_load(struct kimage *image, char *kernel, unsigned long kernel_len, char *initrd, unsigned long initrd_len, char *cmdline, unsigned long cmdline_len) bzImage64_load() argument
H A Dsetup.c32 #include <linux/initrd.h>
328 /* We need to move the initrd down into directly mapped mem */ relocate_initrd()
337 the initrd, we rely on that fact to keep the data intact. */ relocate_initrd()
361 return; /* No initrd provided by bootloader */ early_reserve_initrd()
375 return; /* No initrd provided by bootloader */ reserve_initrd()
381 panic("initrd too large to handle, " reserve_initrd()
382 "disabling initrd (%lld needed, %lld available)\n", reserve_initrd()
H A Ddevicetree.c17 #include <linux/initrd.h>
/linux-4.4.14/arch/avr32/kernel/
H A Dsetup.c11 #include <linux/initrd.h>
344 "Warning: Only the first initrd image will be used\n"); parse_tag_rdimg()
349 "initrd"); parse_tag_rdimg()
352 "Warning: Failed to reserve initrd memory\n"); parse_tag_rdimg()
360 "no initrd support in kernel, ignoring\n"); parse_tag_rdimg()
/linux-4.4.14/arch/powerpc/kernel/
H A Dprom.c28 #include <linux/initrd.h>
90 * initrd.
109 * crash kernel region for kdump, or within the page aligned range of initrd.
614 /* Then reserve the initrd, if any */ early_reserve_mem()
672 * device-tree, including the platform type, initrd location and early_init_devtree()
687 /* Reserve MEMBLOCK regions used by kernel, initrd, dt, etc... */ early_init_devtree()
713 * FIXME .. and the initrd too? */ early_init_devtree()
H A Dsetup-common.c22 #include <linux/initrd.h>
376 /* If we were passed an initrd, set the ROOT_DEV properly if the values check_for_initrd()
377 * look sensible. If not, clear initrd reference. check_for_initrd()
386 pr_info("Found initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end); check_for_initrd()
H A Dsetup_32.c12 #include <linux/initrd.h>
H A Dprom_init.c29 #include <linux/initrd.h>
947 * at 14Mb or more we have vmlinux, then a gap and initrd. In some
948 * rare cases, initrd might end up being before the kernel though.
956 * alloc_bottom is set to the top of kernel/initrd
971 * Allocates memory in the RMO upward from the kernel/initrd
1245 * Check if we have an initrd after the kernel but still inside prom_init_mem()
2008 /* Return (relocated) pointer to this much memory: moves initrd if reqd. */ make_room()
2680 prom_setprop(prom.chosen, "/chosen", "linux,initrd-start", prom_check_initrd()
2683 prom_setprop(prom.chosen, "/chosen", "linux,initrd-end", prom_check_initrd()
2800 * Check for an initrd prom_init()
H A Dsetup_64.c22 #include <linux/initrd.h>
505 * Check if we have an initrd provided via the device-tree setup_system()
H A Dhead_8xx.S83 * r4: initrd_start or if no initrd then 0
H A Dhead_32.S96 * r4: initrd_start or if no initrd then 0
/linux-4.4.14/arch/c6x/kernel/
H A Dsetup.c16 #include <linux/initrd.h>
344 * Reserve initrd memory if in kernel memory. setup_arch()
382 * Enable caching for initrd which falls outside kernel memory. for_each_memblock()
/linux-4.4.14/tools/testing/selftests/rcutorture/bin/
H A Dkvm.sh43 TORTURE_INITRD="$KVM/initrd"; export TORTURE_INITRD
67 echo " --no-initrd"
134 --no-initrd)
/linux-4.4.14/arch/blackfin/mm/
H A Dinit.c110 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/powerpc/platforms/85xx/
H A Dsbc8548.c28 #include <linux/initrd.h>
H A Dmpc85xx_mds.c31 #include <linux/initrd.h>
H A Dmpc85xx_cds.c25 #include <linux/initrd.h>
/linux-4.4.14/arch/powerpc/platforms/powermac/
H A Dbootx_init.c174 bootx_dt_add_prop("linux,initrd-start", &val, 4, mem_end); bootx_add_chosen_props()
176 bootx_dt_add_prop("linux,initrd-end", &val, 4, mem_end); bootx_add_chosen_props()
240 bootx_dt_add_string("linux,initrd-start", mem_end); bootx_scan_dt_build_strings()
241 bootx_dt_add_string("linux,initrd-end", mem_end); bootx_scan_dt_build_strings()
H A Dsetup.c41 #include <linux/initrd.h>
/linux-4.4.14/arch/s390/boot/compressed/
H A Dmisc.c156 * Move the initrd right behind the end of the decompressed decompress_kernel()
/linux-4.4.14/arch/microblaze/kernel/cpu/
H A Dmb.c16 #include <linux/initrd.h>
/linux-4.4.14/arch/mips/sibyte/swarm/
H A Dsetup.c31 #include <linux/initrd.h>
/linux-4.4.14/arch/nios2/mm/
H A Dinit.c88 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/h8300/mm/
H A Dinit.c120 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/avr32/mm/
H A Dinit.c123 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/arm/include/uapi/asm/
H A Dsetup.h153 struct tag_initrd initrd; member in union:tag::__anon194
/linux-4.4.14/arch/m68k/kernel/
H A Dsetup_no.c32 #include <linux/initrd.h>
144 printk(KERN_INFO "initrd at 0x%lx:0x%lx\n", parse_uboot_commandline()
H A Dsetup_mm.c26 #include <linux/initrd.h>
368 pr_info("initrd: %08lx - %08lx\n", initrd_start, initrd_end); setup_arch()
/linux-4.4.14/arch/metag/mm/
H A Dinit.c14 #include <linux/initrd.h>
405 "initrd"); free_initrd_mem()
/linux-4.4.14/arch/hexagon/mm/
H A Dinit.c101 * free_initrd_mem - frees... initrd memory.
105 * Apparently has to be passed the address of the initrd memory.
/linux-4.4.14/arch/arm/kernel/
H A Datags_compat.c139 tag->u.initrd.start = params->u1.s.initrd_start; build_tag_list()
140 tag->u.initrd.size = params->u1.s.initrd_size; build_tag_list()
H A Dsetup.c16 #include <linux/initrd.h>
/linux-4.4.14/arch/parisc/mm/
H A Dinit.c21 #include <linux/initrd.h>
351 printk(KERN_INFO "initrd: %08lx-%08lx\n", initrd_start, initrd_end); setup_bootmem()
361 printk(KERN_INFO "initrd: reserving %08lx-%08lx (mem_max %08lx)\n", __pa(initrd_start), __pa(initrd_start) + initrd_reserve, mem_max); setup_bootmem()
734 printk(KERN_INFO "initrd: mapping %08lx-%08lx\n", initrd_start, initrd_end); pagetable_init()
979 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/tile/kernel/
H A Dsetup.c27 #include <linux/initrd.h>
691 /* Make sure the initrd memory region is not modified. */ setup_bootmem_allocator()
694 pr_crit("The initrd memory region has been polluted. Disabling it.\n"); setup_bootmem_allocator()
1101 void *initrd; load_hv_initrd() local
1103 /* If initrd has already been set, skip initramfs file in hvfs. */ load_hv_initrd()
1128 initrd = alloc_bootmem_pages(stat.size); load_hv_initrd()
1129 rc = hv_fs_pread(fd, (HV_VirtAddr) initrd, stat.size, 0); load_hv_initrd()
1133 free_initrd_mem((unsigned long) initrd, stat.size); load_hv_initrd()
1136 initrd_start = (unsigned long) initrd; load_hv_initrd()
1162 early_param("initrd", setup_initrd);
/linux-4.4.14/arch/x86/include/asm/
H A Dmicrocode.h5 #include <linux/initrd.h>
/linux-4.4.14/arch/x86/mm/
H A Dinit.c2 #include <linux/initrd.h>
697 * Remember, initrd memory may contain microcode or other useful things. free_initrd_mem()
698 * Before we lose initrd mem, we need to find a place to hold them free_initrd_mem()
712 free_init_pages("initrd", start, PAGE_ALIGN(end)); free_initrd_mem()
H A Dinit_32.c31 #include <linux/initrd.h>
H A Dinit_64.c21 #include <linux/initrd.h>
/linux-4.4.14/lib/
H A Ddecompress_unlz4.c2 * Wrapper for decompressing LZ4-compressed kernel, initramfs, and initrd
H A Ddecompress_unxz.c2 * Wrapper for decompressing XZ-compressed kernel, initramfs, and initrd
/linux-4.4.14/arch/powerpc/mm/
H A Dinit_32.c30 #include <linux/initrd.h>
H A Dmem.c32 #include <linux/initrd.h>
390 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/powerpc/platforms/52xx/
H A Dlite5200.c23 #include <linux/initrd.h>
/linux-4.4.14/arch/s390/kernel/
H A Dsetup.c33 #include <linux/initrd.h>
618 * Reserve the initrd from being used by memblock
630 * Check for initrd being in usable memory
637 pr_err("initrd does not fit memory.\n"); check_initrd()
H A Dearly.c372 * gap of 4MB between end of kernel and start of initrd. rescue_initrd()
H A Dhead.S255 .Linitrd:.long _end # default address of initrd
/linux-4.4.14/arch/m68k/mm/
H A Dinit.c178 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/openrisc/mm/
H A Dinit.c228 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/frv/mm/
H A Dinit.c155 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/ia64/mm/
H A Dinit.c166 * therefore possible to have the initrd share the same page as free_initrd_mem()
170 * - align up the beginning of initrd free_initrd_mem()
171 * - align down the end of initrd free_initrd_mem()
198 printk(KERN_INFO "Freeing initrd memory: %ldkB freed\n", (end - start) >> 10); free_initrd_mem()
/linux-4.4.14/arch/microblaze/mm/
H A Dinit.c15 #include <linux/initrd.h>
231 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/drivers/of/
H A Dfdt.c14 #include <linux/initrd.h>
764 * early_init_dt_check_for_initrd - Decode initrd location from flat tree
765 * @node: reference to node containing initrd location ('chosen')
773 pr_debug("Looking for initrd properties... "); early_init_dt_check_for_initrd()
775 prop = of_get_flat_dt_prop(node, "linux,initrd-start", &len); early_init_dt_check_for_initrd()
780 prop = of_get_flat_dt_prop(node, "linux,initrd-end", &len); early_init_dt_check_for_initrd()
/linux-4.4.14/arch/unicore32/kernel/
H A Dsetup.c18 #include <linux/initrd.h>
/linux-4.4.14/arch/x86/boot/compressed/
H A Daslr.c154 /* Avoid initrd. */ mem_avoid_init()
H A Deboot.c102 efi_printk(sys_table, "Failed to get initrd info\n"); __file_size32()
155 efi_printk(sys_table, "Failed to get initrd info\n"); __file_size64()
1145 "initrd=", hdr->initrd_addr_max, make_boot_params()
1153 "initrd=", -1UL, make_boot_params()
/linux-4.4.14/arch/x86/xen/
H A Dsetup.c639 * Used to relocate pre-allocated areas like initrd or p2m list which are in
885 /* Check for a conflict of the initrd with the target E820 map. */ xen_memory_setup()
892 xen_raw_console_write("Can't find new memory area for initrd needed due to E820 map conflict\n"); xen_memory_setup()
899 pr_info("initrd moved from [mem %#010llx-%#010llx] to [mem %#010llx-%#010llx]\n", xen_memory_setup()
/linux-4.4.14/include/xen/interface/
H A Delfnote.h177 * Whether or not the guest can deal with being passed an initrd not
/linux-4.4.14/arch/sparc/kernel/
H A Dsetup_32.c16 #include <linux/initrd.h>
H A Dsetup_64.c31 #include <linux/initrd.h>
/linux-4.4.14/arch/ia64/kernel/
H A Dsetup.c43 #include <linux/initrd.h>
332 * initrd, etc. There are currently %IA64_MAX_RSVD_REGIONS defined,
394 * find_initrd - get initrd parameters from the boot parameter structure
396 * Grab the initrd start and end from the boot parameter struct given us by
/linux-4.4.14/arch/arm/mach-s3c24xx/
H A Dmach-qt2410.c257 .name = "initrd",
/linux-4.4.14/arch/x86/
H A DMakefile285 echo ' FDINITRD=file initrd for the booted kernel'
/linux-4.4.14/arch/xtensa/mm/
H A Dinit.c373 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/powerpc/platforms/maple/
H A Dsetup.c31 #include <linux/initrd.h>
/linux-4.4.14/arch/sh/mm/
H A Dinit.c483 free_reserved_area((void *)start, (void *)end, -1, "initrd"); free_initrd_mem()
/linux-4.4.14/arch/parisc/kernel/
H A Dsetup.c30 #include <linux/initrd.h>
/linux-4.4.14/include/linux/
H A Dkexec.h202 unsigned long kernel_len, char *initrd,
/linux-4.4.14/tools/lguest/
H A Dlguest.c392 * This routine is used to load the kernel or initrd. It tries mmap, but if
553 * Most distributions now use this as standard: the initrd contains the code to
568 err(1, "fstat() on initrd '%s'", name); load_initrd()
571 * We map the initrd at the top of memory, but mmap wants it to be load_initrd()
581 verbose("mapped initrd %s size=%lu @ %p\n", name, len, (void*)mem-len); load_initrd()
583 /* We return the initrd size. */ load_initrd()
3203 { "initrd", 1, NULL, 'i' },
3212 "|--block=<filename>|--initrd=<filename>]...\n" usage()
3219 /* Memory, code startpoint and size of the (optional) initrd. */ main()
3225 /* If they specify an initrd file to load. */ main()
3321 /* Map the initrd image if requested (at top of physical memory) */ main()
3326 * start and size of the initrd are expected to be found. main()
/linux-4.4.14/arch/arm/
H A DMakefile364 echo ' (supply initrd image via make variable INITRD=<path>)'
/linux-4.4.14/arch/powerpc/platforms/chrp/
H A Dsetup.c32 #include <linux/initrd.h>
/linux-4.4.14/arch/metag/kernel/
H A Dsetup.c17 #include <linux/initrd.h>
/linux-4.4.14/arch/mips/mm/
H A Dinit.c497 "initrd"); free_initrd_mem()
/linux-4.4.14/arch/powerpc/
H A DMakefile244 BOOT_TARGETS1 := zImage zImage.initrd uImage
/linux-4.4.14/arch/arm/mach-orion5x/
H A Dts78xx-setup.c265 .name = "initrd",
/linux-4.4.14/arch/frv/kernel/
H A Dsetup.c940 "initrd extends beyond end of memory (0x%08lx > 0x%08lx)\n" setup_linux_memory()
941 "disabling initrd\n", setup_linux_memory()
/linux-4.4.14/arch/x86/platform/intel-quark/
H A Dimr.c575 * BIOS and Grub both setup IMRs around compressed kernel, initrd memory
/linux-4.4.14/drivers/gpu/drm/msm/
H A Dmsm_drv.c460 * firmware in the initrd. msm_open()
/linux-4.4.14/kernel/
H A Dkexec_file.c137 * Free up memory used by kernel, initrd, and command line. This is temporary
H A Dsysctl.c46 #include <linux/initrd.h>
/linux-4.4.14/drivers/acpi/
H A Dosl.c660 pr_info("%4.4s ACPI table found in initrd [%s%s][0x%x]\n", acpi_initrd_override()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Di915_drv.c593 "in your initrd/initramfs image.\n"); i915_firmware_load_error_print()
/linux-4.4.14/drivers/block/
H A Dcciss.c4990 * this is the case cciss may be loaded first from the kdump initrd cciss_init_one()

Completed in 5146 milliseconds