Home
last modified time | relevance | path

Searched refs:initrd_end (Results 1 – 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/arch/sparc/mm/
Dinit_32.c114 initrd_end = initrd_start + sparc_ramdisk_size; in find_ramdisk()
115 if (initrd_end > end_of_phys_memory) { in find_ramdisk()
118 initrd_end, end_of_phys_memory); in find_ramdisk()
122 size = initrd_end - initrd_start; in find_ramdisk()
126 initrd_end = (initrd_end - phys_base) + PAGE_OFFSET; in find_ramdisk()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dsetup.c128 initrd_end += start; in rd_start_early()
135 initrd_end += memparse(p, &p); in rd_size_early()
150 if (!initrd_start || initrd_end <= initrd_start) in init_initrd()
169 end = __pa(initrd_end); in init_initrd()
170 initrd_end = (unsigned long)__va(end); in init_initrd()
177 initrd_end = 0; in init_initrd()
204 for (i = initrd_start; i < ALIGN(initrd_end, 8); i += 8) in maybe_bswap_initrd()
212 unsigned long size = initrd_end - initrd_start; in finalize_initrd()
218 if (__pa(initrd_end) > PFN_PHYS(max_low_pfn)) { in finalize_initrd()
234 initrd_end = 0; in finalize_initrd()
/kernel/linux/linux-5.10/arch/csky/mm/
Dinit.c44 if (initrd_start >= initrd_end) { in setup_initrd()
49 if (__pa(initrd_end) > PFN_PHYS(max_low_pfn)) { in setup_initrd()
54 size = initrd_end - initrd_start; in setup_initrd()
72 initrd_start = initrd_end = 0; in setup_initrd()
/kernel/linux/linux-5.10/arch/arm/boot/bootp/
Dinitrd.S6 .globl initrd_end symbol
7 initrd_end: label
Dbootp.lds19 initrd_size = initrd_end - initrd_start;
/kernel/linux/linux-5.10/init/
Dinitramfs.c561 if (initrd_start >= crashk_end || initrd_end <= crashk_start) in kexec_free_initrd()
567 memset((void *)initrd_start, 0, initrd_end - initrd_start); in kexec_free_initrd()
570 if (initrd_end > crashk_end) in kexec_free_initrd()
571 free_initrd_mem(crashk_end, initrd_end); in kexec_free_initrd()
596 written = xwrite(file, (char *)initrd_start, initrd_end - initrd_start, in populate_initrd_image()
598 if (written != initrd_end - initrd_start) in populate_initrd_image()
600 written, initrd_end - initrd_start); in populate_initrd_image()
620 err = unpack_to_rootfs((char *)initrd_start, initrd_end - initrd_start); in populate_rootfs()
635 free_initrd_mem(initrd_start, initrd_end); in populate_rootfs()
637 initrd_end = 0; in populate_rootfs()
/kernel/linux/linux-5.10/arch/c6x/kernel/
Dsetup.c335 if (initrd_start < initrd_end) in setup_arch()
337 initrd_end - initrd_start)) in setup_arch()
339 initrd_end - initrd_start); in setup_arch()
363 if (initrd_start < initrd_end) { in setup_arch()
365 initrd_end - initrd_start)) in setup_arch()
367 CACHE_REGION_START(initrd_end - 1)); in setup_arch()
/kernel/linux/linux-5.10/arch/x86/mm/
Dmem_encrypt_identity.c294 unsigned long initrd_start, initrd_end, initrd_len; in sme_encrypt_kernel() local
323 initrd_end = 0; in sme_encrypt_kernel()
331 initrd_end = PAGE_ALIGN(initrd_start + initrd_len); in sme_encrypt_kernel()
332 initrd_len = initrd_end - initrd_start; in sme_encrypt_kernel()
421 check_base = (pgd_index(initrd_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel()
442 ppd.vaddr_end = initrd_end; in sme_encrypt_kernel()
449 ppd.vaddr_end = initrd_end + decrypted_base; in sme_encrypt_kernel()
484 ppd.vaddr_end = initrd_end + decrypted_base; in sme_encrypt_kernel()
/kernel/linux/linux-5.10/arch/mips/sibyte/common/
Dcfe.c47 extern unsigned long initrd_start, initrd_end;
96 initrd_pend = CPHYSADDR(initrd_end); in prom_meminit()
206 initrd_end = initrd_start + initrd_size; in initrd_setup()
212 initrd_end = 0; in initrd_setup()
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dsetup_no.c157 if ((initrd_start > 0) && (initrd_start < initrd_end) && in setup_arch()
158 (initrd_end < memory_end)) in setup_arch()
159 memblock_reserve(initrd_start, initrd_end - initrd_start); in setup_arch()
Duboot.c83 initrd_end = uboot_initrd_end; in parse_uboot_commandline()
85 pr_info("initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end); in parse_uboot_commandline()
/kernel/linux/linux-5.10/arch/openrisc/kernel/
Dsetup.c80 if (initrd_start && (initrd_end > initrd_start)) { in setup_memory()
82 unsigned long aligned_end = ALIGN(initrd_end, PAGE_SIZE); in setup_memory()
302 if (initrd_start == initrd_end) { in setup_arch()
305 initrd_end = 0; in setup_arch()
308 (void *)(initrd_start), initrd_end - initrd_start); in setup_arch()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dcore_irongate.c228 extern unsigned long initrd_start, initrd_end; in albacore_init_arch()
232 if (initrd_end && __pa(initrd_end) > pci_mem) { in albacore_init_arch()
235 size = initrd_end - initrd_start; in albacore_init_arch()
Dsetup.c294 size = initrd_end - initrd_start; in move_initrd()
297 initrd_start = initrd_end = 0; in move_initrd()
302 initrd_end = initrd_start + size; in move_initrd()
376 initrd_end = initrd_start+INITRD_SIZE; in setup_memory()
380 if ((void *)initrd_end > phys_to_virt(PFN_PHYS(max_low_pfn))) { in setup_memory()
384 initrd_end, in setup_memory()
/kernel/linux/linux-5.10/arch/alpha/mm/
Dnuma.c183 initrd_end = initrd_start+INITRD_SIZE; in setup_memory()
187 if ((void *)initrd_end > phys_to_virt(PFN_PHYS(max_low_pfn))) { in setup_memory()
191 initrd_end, in setup_memory()
/kernel/linux/linux-5.10/arch/parisc/mm/
Dinit.c303 printk(KERN_INFO "initrd: %08lx-%08lx\n", initrd_start, initrd_end); in setup_bootmem()
307 if (__pa(initrd_end) > mem_max) { in setup_bootmem()
310 initrd_reserve = initrd_end - initrd_start; in setup_bootmem()
641 if (initrd_end && initrd_end > mem_limit) { in pagetable_init()
642 printk(KERN_INFO "initrd: mapping %08lx-%08lx\n", initrd_start, initrd_end); in pagetable_init()
644 initrd_end - initrd_start, PAGE_KERNEL, 0); in pagetable_init()
/kernel/linux/linux-5.10/arch/nios2/kernel/
Dsetup.c120 initrd_end = r6; in nios2_boot_init()
172 initrd_end - initrd_start); in setup_arch()
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dsetup.c62 extern unsigned long initrd_end;
119 initrd_end = (unsigned long)__va(mi->end); in parse_tag_initrd()
339 if (initrd_start < initrd_end && in setup_arch()
340 !mem_reserve(__pa(initrd_start), __pa(initrd_end))) in setup_arch()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsetup-common.c373 initrd_start, initrd_end); in check_for_initrd()
378 if (is_kernel_addr(initrd_start) && is_kernel_addr(initrd_end) && in check_for_initrd()
379 initrd_end > initrd_start) in check_for_initrd()
382 initrd_start = initrd_end = 0; in check_for_initrd()
385 pr_info("Found initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end); in check_for_initrd()
/kernel/linux/linux-5.10/include/linux/
Dinitrd.h15 extern unsigned long initrd_start, initrd_end;
/kernel/linux/linux-5.10/arch/mips/ath79/
Dprom.c31 initrd_end = initrd_start + fw_getenvl("initrd_size"); in prom_init()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dkexec.h21 unsigned long initrd_end; member
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
Dkaslr_booke.c30 unsigned long initrd_end; member
166 regions.initrd_end)) in overlaps_region()
217 regions.initrd_end = (unsigned long)end; in get_initrd_range()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dsetup.c167 initrd_end = initrd_start + INITRD_SIZE; in check_for_initrd()
175 initrd_start = initrd_end = 0; in check_for_initrd()
/kernel/linux/linux-5.10/arch/s390/mm/
Dkasan_init.c282 unsigned long initrd_end; in kasan_early_init() local
338 initrd_end = in kasan_early_init()
340 pgalloc_low = max(pgalloc_low, initrd_end); in kasan_early_init()

12