/kernel/linux/linux-5.10/arch/sparc/mm/ |
D | init_32.c | 114 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/ |
D | setup.c | 128 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/ |
D | init.c | 44 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/ |
D | initrd.S | 6 .globl initrd_end symbol 7 initrd_end: label
|
D | bootp.lds | 19 initrd_size = initrd_end - initrd_start;
|
/kernel/linux/linux-5.10/init/ |
D | initramfs.c | 561 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/ |
D | setup.c | 335 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/ |
D | mem_encrypt_identity.c | 294 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/ |
D | cfe.c | 47 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/ |
D | setup_no.c | 157 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()
|
D | uboot.c | 83 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/ |
D | setup.c | 80 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/ |
D | core_irongate.c | 228 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()
|
D | setup.c | 294 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/ |
D | numa.c | 183 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/ |
D | init.c | 303 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/ |
D | setup.c | 120 initrd_end = r6; in nios2_boot_init() 172 initrd_end - initrd_start); in setup_arch()
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
D | setup.c | 62 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/ |
D | setup-common.c | 373 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/ |
D | initrd.h | 15 extern unsigned long initrd_start, initrd_end;
|
/kernel/linux/linux-5.10/arch/mips/ath79/ |
D | prom.c | 31 initrd_end = initrd_start + fw_getenvl("initrd_size"); in prom_init()
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | kexec.h | 21 unsigned long initrd_end; member
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
D | kaslr_booke.c | 30 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/ |
D | setup.c | 167 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/ |
D | kasan_init.c | 282 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()
|