Home
last modified time | relevance | path

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

12

/linux-5.19.10/arch/mips/kernel/ !
Dsetup.c131 initrd_end += start; in rd_start_early()
138 initrd_end += memparse(p, &p); in rd_size_early()
153 if (!initrd_start || initrd_end <= initrd_start) in init_initrd()
172 end = __pa(initrd_end); in init_initrd()
173 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-5.19.10/init/ !
Dinitramfs.c590 initrd_start = initrd_end = 0; in reserve_initrd_mem()
619 initrd_end = initrd_start + phys_initrd_size; in reserve_initrd_mem()
626 initrd_end = 0; in reserve_initrd_mem()
652 if (initrd_start >= crashk_end || initrd_end <= crashk_start) in kexec_free_initrd()
658 memset((void *)initrd_start, 0, initrd_end - initrd_start); in kexec_free_initrd()
661 if (initrd_end > crashk_end) in kexec_free_initrd()
662 free_initrd_mem(crashk_end, initrd_end); in kexec_free_initrd()
687 written = xwrite(file, (char *)initrd_start, initrd_end - initrd_start, in populate_initrd_image()
689 if (written != initrd_end - initrd_start) in populate_initrd_image()
691 written, initrd_end - initrd_start); in populate_initrd_image()
[all …]
/linux-5.19.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()
/linux-5.19.10/arch/arm/boot/bootp/ !
Dinitrd.S6 .globl initrd_end
7 initrd_end: label
Dbootp.lds19 initrd_size = initrd_end - initrd_start;
/linux-5.19.10/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-5.19.10/arch/mips/sibyte/common/ !
Dcfe.c46 extern unsigned long initrd_start, initrd_end;
95 initrd_pend = CPHYSADDR(initrd_end); in prom_meminit()
205 initrd_end = initrd_start + initrd_size; in initrd_setup()
211 initrd_end = 0; in initrd_setup()
/linux-5.19.10/arch/x86/mm/ !
Dmem_encrypt_identity.c297 unsigned long initrd_start, initrd_end, initrd_len; in sme_encrypt_kernel() local
332 initrd_end = 0; in sme_encrypt_kernel()
340 initrd_end = PAGE_ALIGN(initrd_start + initrd_len); in sme_encrypt_kernel()
341 initrd_len = initrd_end - initrd_start; in sme_encrypt_kernel()
430 check_base = (pgd_index(initrd_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel()
451 ppd.vaddr_end = initrd_end; in sme_encrypt_kernel()
458 ppd.vaddr_end = initrd_end + decrypted_base; in sme_encrypt_kernel()
493 ppd.vaddr_end = initrd_end + decrypted_base; in sme_encrypt_kernel()
/linux-5.19.10/arch/m68k/kernel/ !
Dsetup_no.c161 if ((initrd_start > 0) && (initrd_start < initrd_end) && in setup_arch()
162 (initrd_end < memory_end)) in setup_arch()
163 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()
/linux-5.19.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()
285 if (initrd_start == initrd_end) { in setup_arch()
288 initrd_end = 0; in setup_arch()
291 (void *)(initrd_start), initrd_end - initrd_start); in setup_arch()
/linux-5.19.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.c289 size = initrd_end - initrd_start; in move_initrd()
292 initrd_start = initrd_end = 0; in move_initrd()
297 initrd_end = initrd_start + size; in move_initrd()
370 initrd_end = initrd_start+INITRD_SIZE; in setup_memory()
374 if ((void *)initrd_end > phys_to_virt(PFN_PHYS(max_low_pfn))) { in setup_memory()
378 initrd_end, in setup_memory()
/linux-5.19.10/arch/parisc/mm/ !
Dinit.c299 printk(KERN_INFO "initrd: %08lx-%08lx\n", initrd_start, initrd_end); in setup_bootmem()
303 if (__pa(initrd_end) > mem_max) { in setup_bootmem()
306 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()
/linux-5.19.10/arch/nios2/kernel/ !
Dsetup.c118 initrd_end = r6; in nios2_boot_init()
170 initrd_end - initrd_start); in setup_arch()
/linux-5.19.10/arch/xtensa/kernel/ !
Dsetup.c63 extern unsigned long initrd_end;
120 initrd_end = (unsigned long)__va(mi->end); in parse_tag_initrd()
297 if (initrd_start < initrd_end && in setup_arch()
298 !mem_reserve(__pa(initrd_start), __pa(initrd_end))) in setup_arch()
/linux-5.19.10/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-5.19.10/arch/mips/ath79/ !
Dprom.c31 initrd_end = initrd_start + fw_getenvl("initrd_size"); in prom_init()
/linux-5.19.10/arch/parisc/include/asm/ !
Dkexec.h21 unsigned long initrd_end; member
/linux-5.19.10/include/linux/ !
Dinitrd.h18 extern unsigned long initrd_start, initrd_end;
/linux-5.19.10/arch/um/kernel/ !
Dinitrd.c31 initrd_end = initrd_start + size; in read_initrd()
/linux-5.19.10/arch/s390/mm/ !
Dkasan_init.c255 unsigned long initrd_end; in kasan_early_init() local
301 initrd_end = in kasan_early_init()
303 pgalloc_low = max(pgalloc_low, initrd_end); in kasan_early_init()
/linux-5.19.10/arch/powerpc/mm/nohash/ !
Dkaslr_booke.c31 unsigned long initrd_end; member
165 regions.initrd_end)) in overlaps_region()
216 regions.initrd_end = (unsigned long)end; in get_initrd_range()
/linux-5.19.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()
/linux-5.19.10/arch/parisc/kernel/ !
Dkexec.c98 *(unsigned long *)(virt + kexec_initrd_end_offset) = arch->initrd_end; in machine_kexec()

12