/linux-6.12.1/init/ |
D | initramfs.c | 587 initrd_start = initrd_end = 0; in reserve_initrd_mem() 616 initrd_end = initrd_start + phys_initrd_size; in reserve_initrd_mem() 623 initrd_end = 0; in reserve_initrd_mem() 649 if (initrd_start >= crashk_end || initrd_end <= crashk_start) in kexec_free_initrd() 655 memset((void *)initrd_start, 0, initrd_end - initrd_start); in kexec_free_initrd() 658 if (initrd_end > crashk_end) in kexec_free_initrd() 659 free_initrd_mem(crashk_end, initrd_end); in kexec_free_initrd() 682 written = xwrite(file, (char *)initrd_start, initrd_end - initrd_start, in populate_initrd_image() 684 if (written != initrd_end - initrd_start) in populate_initrd_image() 686 written, initrd_end - initrd_start); in populate_initrd_image() [all …]
|
D | do_mounts_initrd.c | 15 unsigned long initrd_start, initrd_end; variable
|
/linux-6.12.1/arch/mips/kernel/ |
D | setup.c | 130 initrd_end += start; in rd_start_early() 137 initrd_end += memparse(p, &p); in rd_size_early() 152 if (!initrd_start || initrd_end <= initrd_start) in init_initrd() 167 end = __pa(initrd_end); in init_initrd() 168 initrd_end = (unsigned long)__va(end); in init_initrd() 180 initrd_end = 0; in init_initrd() 207 for (i = initrd_start; i < ALIGN(initrd_end, 8); i += 8) in maybe_bswap_initrd() 215 unsigned long size = initrd_end - initrd_start; in finalize_initrd() 221 if (__pa(initrd_end) > PFN_PHYS(max_low_pfn)) { in finalize_initrd() 237 initrd_end = 0; in finalize_initrd()
|
/linux-6.12.1/arch/sparc/mm/ |
D | init_32.c | 113 initrd_end = initrd_start + sparc_ramdisk_size; in find_ramdisk() 114 if (initrd_end > end_of_phys_memory) { in find_ramdisk() 117 initrd_end, end_of_phys_memory); in find_ramdisk() 121 size = initrd_end - initrd_start; in find_ramdisk() 125 initrd_end = (initrd_end - phys_base) + PAGE_OFFSET; in find_ramdisk()
|
/linux-6.12.1/arch/x86/mm/ |
D | mem_encrypt_identity.c | 293 unsigned long initrd_start, initrd_end, initrd_len; in sme_encrypt_kernel() local 328 initrd_end = 0; in sme_encrypt_kernel() 336 initrd_end = PAGE_ALIGN(initrd_start + initrd_len); in sme_encrypt_kernel() 337 initrd_len = initrd_end - initrd_start; in sme_encrypt_kernel() 418 check_base = (pgd_index(initrd_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel() 439 ppd.vaddr_end = initrd_end; in sme_encrypt_kernel() 446 ppd.vaddr_end = initrd_end + decrypted_base; in sme_encrypt_kernel() 481 ppd.vaddr_end = initrd_end + decrypted_base; in sme_encrypt_kernel()
|
/linux-6.12.1/arch/arm/boot/bootp/ |
D | initrd.S | 6 .globl initrd_end symbol 7 initrd_end: label
|
D | bootp.lds | 16 initrd_size = initrd_end - initrd_start;
|
/linux-6.12.1/arch/csky/mm/ |
D | init.c | 50 if (initrd_start >= initrd_end) { in setup_initrd() 55 if (__pa(initrd_end) > PFN_PHYS(max_low_pfn)) { in setup_initrd() 60 size = initrd_end - initrd_start; in setup_initrd() 78 initrd_start = initrd_end = 0; in setup_initrd()
|
/linux-6.12.1/arch/mips/sibyte/common/ |
D | cfe.c | 41 extern unsigned long initrd_start, initrd_end; 90 initrd_pend = CPHYSADDR(initrd_end); in prom_meminit() 190 initrd_end = initrd_start + initrd_size; in initrd_setup() 196 initrd_end = 0; in initrd_setup()
|
/linux-6.12.1/arch/m68k/kernel/ |
D | setup_no.c | 160 if ((initrd_start > 0) && (initrd_start < initrd_end) && in setup_arch() 161 (initrd_end < memory_end)) in setup_arch() 162 memblock_reserve(initrd_start, initrd_end - initrd_start); in setup_arch()
|
D | uboot.c | 86 initrd_end = uboot_initrd_end; in parse_uboot_commandline() 88 pr_info("initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end); in parse_uboot_commandline()
|
/linux-6.12.1/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() 273 if (initrd_start == initrd_end) { in setup_arch() 276 initrd_end = 0; in setup_arch() 279 (void *)(initrd_start), initrd_end - initrd_start); in setup_arch()
|
/linux-6.12.1/arch/alpha/kernel/ |
D | core_irongate.c | 228 extern unsigned long initrd_start, initrd_end; in albacore_init_arch() 231 if (initrd_end && __pa(initrd_end) > pci_mem) { in albacore_init_arch() 234 size = initrd_end - initrd_start; in albacore_init_arch()
|
D | setup.c | 271 size = initrd_end - initrd_start; in move_initrd() 274 initrd_start = initrd_end = 0; in move_initrd() 279 initrd_end = initrd_start + size; in move_initrd() 352 initrd_end = initrd_start+INITRD_SIZE; in setup_memory() 356 if ((void *)initrd_end > phys_to_virt(PFN_PHYS(max_low_pfn))) { in setup_memory() 360 initrd_end, in setup_memory()
|
/linux-6.12.1/arch/nios2/kernel/ |
D | setup.c | 113 initrd_end = r6; in nios2_boot_init() 165 initrd_end - initrd_start); in setup_arch()
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | setup.c | 53 extern unsigned long initrd_end; 110 initrd_end = (unsigned long)__va(mi->end); in parse_tag_initrd() 293 if (initrd_start < initrd_end && in setup_arch() 294 !mem_reserve(__pa(initrd_start), __pa(initrd_end))) in setup_arch()
|
/linux-6.12.1/arch/parisc/mm/ |
D | init.c | 302 printk(KERN_INFO "initrd: %08lx-%08lx\n", initrd_start, initrd_end); in setup_bootmem() 306 if (__pa(initrd_end) > mem_max) { in setup_bootmem() 309 initrd_reserve = initrd_end - initrd_start; in setup_bootmem() 644 if (initrd_end && initrd_end > mem_limit) { in pagetable_init() 645 printk(KERN_INFO "initrd: mapping %08lx-%08lx\n", initrd_start, initrd_end); in pagetable_init() 647 initrd_end - initrd_start, PAGE_KERNEL, 0); in pagetable_init()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | setup-common.c | 363 initrd_start, initrd_end); in check_for_initrd() 368 if (is_kernel_addr(initrd_start) && is_kernel_addr(initrd_end) && in check_for_initrd() 369 initrd_end > initrd_start) in check_for_initrd() 372 initrd_start = initrd_end = 0; in check_for_initrd() 375 pr_info("Found initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end); in check_for_initrd()
|
/linux-6.12.1/arch/mips/ath79/ |
D | prom.c | 31 initrd_end = initrd_start + fw_getenvl("initrd_size"); in prom_init()
|
/linux-6.12.1/arch/parisc/include/asm/ |
D | kexec.h | 21 unsigned long initrd_end; member
|
/linux-6.12.1/include/linux/ |
D | initrd.h | 18 extern unsigned long initrd_start, initrd_end;
|
/linux-6.12.1/arch/powerpc/mm/nohash/ |
D | kaslr_booke.c | 30 unsigned long initrd_end; member 164 regions.initrd_end)) in overlaps_region() 215 regions.initrd_end = (unsigned long)end; in get_initrd_range()
|
/linux-6.12.1/arch/um/kernel/ |
D | initrd.c | 31 initrd_end = initrd_start + size; in read_initrd()
|
/linux-6.12.1/arch/sh/kernel/ |
D | setup.c | 163 initrd_end = initrd_start + INITRD_SIZE; in check_for_initrd() 171 initrd_start = initrd_end = 0; in check_for_initrd()
|
/linux-6.12.1/arch/parisc/kernel/ |
D | kexec.c | 100 *(unsigned long *)(virt + kexec_initrd_end_offset) = arch->initrd_end; in machine_kexec()
|