Home
last modified time | relevance | path

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

12

/linux-6.12.1/init/
Dinitramfs.c587 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 …]
Ddo_mounts_initrd.c15 unsigned long initrd_start, initrd_end; variable
/linux-6.12.1/arch/mips/kernel/
Dsetup.c130 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/
Dinit_32.c113 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/
Dmem_encrypt_identity.c293 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/
Dinitrd.S6 .globl initrd_end symbol
7 initrd_end: label
Dbootp.lds16 initrd_size = initrd_end - initrd_start;
/linux-6.12.1/arch/csky/mm/
Dinit.c50 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/
Dcfe.c41 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/
Dsetup_no.c160 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()
Duboot.c86 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/
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()
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/
Dcore_irongate.c228 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()
Dsetup.c271 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/
Dsetup.c113 initrd_end = r6; in nios2_boot_init()
165 initrd_end - initrd_start); in setup_arch()
/linux-6.12.1/arch/xtensa/kernel/
Dsetup.c53 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/
Dinit.c302 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/
Dsetup-common.c363 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/
Dprom.c31 initrd_end = initrd_start + fw_getenvl("initrd_size"); in prom_init()
/linux-6.12.1/arch/parisc/include/asm/
Dkexec.h21 unsigned long initrd_end; member
/linux-6.12.1/include/linux/
Dinitrd.h18 extern unsigned long initrd_start, initrd_end;
/linux-6.12.1/arch/powerpc/mm/nohash/
Dkaslr_booke.c30 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/
Dinitrd.c31 initrd_end = initrd_start + size; in read_initrd()
/linux-6.12.1/arch/sh/kernel/
Dsetup.c163 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/
Dkexec.c100 *(unsigned long *)(virt + kexec_initrd_end_offset) = arch->initrd_end; in machine_kexec()

12