/linux-6.12.1/arch/mips/ath79/ |
D | prom.c | 28 initrd_start = fw_getenvl("initrd_start"); in prom_init() 29 if (initrd_start) { in prom_init() 30 initrd_start = KSEG0ADDR(initrd_start); in prom_init() 31 initrd_end = initrd_start + fw_getenvl("initrd_size"); in prom_init()
|
/linux-6.12.1/arch/mips/sibyte/common/ |
D | cfe.c | 41 extern unsigned long initrd_start, initrd_end; 89 initrd_pstart = CPHYSADDR(initrd_start); in prom_meminit() 91 if (initrd_start && in prom_meminit() 108 if (initrd_start) { in prom_meminit() 142 if (initrd_start) { in prom_meminit() 186 initrd_start = simple_strtoul(tmp, &endptr, 16); in initrd_setup() 190 initrd_end = initrd_start + initrd_size; in initrd_setup() 191 printk("Found initrd of %lx@%lx\n", initrd_size, initrd_start); in initrd_setup() 195 initrd_start = 0; in initrd_setup()
|
/linux-6.12.1/init/ |
D | initramfs.c | 587 initrd_start = initrd_end = 0; in reserve_initrd_mem() 615 initrd_start = (unsigned long)__va(phys_initrd_start); in reserve_initrd_mem() 616 initrd_end = initrd_start + phys_initrd_size; in reserve_initrd_mem() 622 initrd_start = 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() 656 if (initrd_start < crashk_start) in kexec_free_initrd() 657 free_initrd_mem(initrd_start, crashk_start); 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() [all …]
|
/linux-6.12.1/arch/mips/kernel/ |
D | setup.c | 129 initrd_start = start; in rd_start_early() 152 if (!initrd_start || initrd_end <= initrd_start) in init_initrd() 155 if (initrd_start & ~PAGE_MASK) { in init_initrd() 169 initrd_start = (unsigned long)__va(__pa(initrd_start)); in init_initrd() 171 if (initrd_start < PAGE_OFFSET) { in init_initrd() 179 initrd_start = 0; in init_initrd() 193 if (!memcmp((void *)initrd_start, "070701", 6)) in maybe_bswap_initrd() 197 if (decompress_method((unsigned char *)initrd_start, 8, NULL)) in maybe_bswap_initrd() 201 buf = swab64p((u64 *)initrd_start); in maybe_bswap_initrd() 207 for (i = initrd_start; i < ALIGN(initrd_end, 8); i += 8) in maybe_bswap_initrd() [all …]
|
/linux-6.12.1/arch/alpha/boot/ |
D | bootp.c | 150 static unsigned long initrd_start; in start_kernel() local 167 initrd_start = ((START_ADDR + 5*KERNEL_SIZE + PAGE_SIZE) | in start_kernel() 170 srm_printk("Initrd positioned at %#lx\n", initrd_start); in start_kernel() 177 move_stack(initrd_start - PAGE_SIZE); in start_kernel() 201 load(initrd_start, KERNEL_ORIGIN+KERNEL_SIZE, INITRD_IMAGE_SIZE); in start_kernel() 209 ((long *)(ZERO_PGE+256))[0] = initrd_start; in start_kernel()
|
/linux-6.12.1/arch/csky/mm/ |
D | init.c | 50 if (initrd_start >= initrd_end) { in setup_initrd() 60 size = initrd_end - initrd_start; in setup_initrd() 62 if (memblock_is_region_reserved(__pa(initrd_start), size)) { in setup_initrd() 64 __pa(initrd_start), size); in setup_initrd() 68 memblock_reserve(__pa(initrd_start), size); in setup_initrd() 71 (void *)(initrd_start), size); in setup_initrd() 78 initrd_start = initrd_end = 0; in setup_initrd()
|
/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 327 initrd_start = 0; in sme_encrypt_kernel() 334 initrd_start = (unsigned long)bp->hdr.ramdisk_image | 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() 437 ppd.paddr = initrd_start; in sme_encrypt_kernel() 438 ppd.vaddr = initrd_start; in sme_encrypt_kernel() 444 ppd.paddr = initrd_start; in sme_encrypt_kernel() 445 ppd.vaddr = initrd_start + decrypted_base; in sme_encrypt_kernel() 466 sme_encrypt_execute(initrd_start, initrd_start + decrypted_base, in sme_encrypt_kernel() [all …]
|
/linux-6.12.1/arch/arm/boot/bootp/ |
D | initrd.S | 2 .type initrd_start,#object 3 .globl initrd_start symbol 4 initrd_start: label
|
D | init.S | 23 add r4, r4, lr @ r4 = initrd_start + load addr 76 data: .word initrd_start @ source initrd address
|
/linux-6.12.1/arch/nios2/kernel/ |
D | setup.c | 112 initrd_start = r5; in nios2_boot_init() 163 if (initrd_start) { in setup_arch() 164 memblock_reserve(virt_to_phys((void *)initrd_start), in setup_arch() 165 initrd_end - initrd_start); in setup_arch()
|
/linux-6.12.1/arch/sparc/mm/ |
D | init_32.c | 112 initrd_start = sparc_ramdisk_image + phys_base; in find_ramdisk() 113 initrd_end = initrd_start + sparc_ramdisk_size; in find_ramdisk() 118 initrd_start = 0; in find_ramdisk() 121 size = initrd_end - initrd_start; in find_ramdisk() 122 memblock_reserve(initrd_start, size); in find_ramdisk() 124 initrd_start = (initrd_start - phys_base) + PAGE_OFFSET; in find_ramdisk()
|
/linux-6.12.1/arch/openrisc/kernel/ |
D | setup.c | 80 if (initrd_start && (initrd_end > initrd_start)) { in setup_memory() 81 unsigned long aligned_start = ALIGN_DOWN(initrd_start, PAGE_SIZE); in setup_memory() 273 if (initrd_start == initrd_end) { in setup_arch() 275 initrd_start = 0; in setup_arch() 279 (void *)(initrd_start), initrd_end - initrd_start); in setup_arch()
|
/linux-6.12.1/arch/m68k/kernel/ |
D | setup_no.c | 160 if ((initrd_start > 0) && (initrd_start < initrd_end) && in setup_arch() 162 memblock_reserve(initrd_start, initrd_end - initrd_start); in setup_arch()
|
D | uboot.c | 85 initrd_start = uboot_initrd_start; 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/parisc/mm/ |
D | init.c | 301 if (initrd_start) { in setup_bootmem() 302 printk(KERN_INFO "initrd: %08lx-%08lx\n", initrd_start, initrd_end); in setup_bootmem() 303 if (__pa(initrd_start) < mem_max) { in setup_bootmem() 307 initrd_reserve = mem_max - __pa(initrd_start); in setup_bootmem() 309 initrd_reserve = initrd_end - initrd_start; in setup_bootmem() 312 …NFO "initrd: reserving %08lx-%08lx (mem_max %08lx)\n", __pa(initrd_start), __pa(initrd_start) + in… in setup_bootmem() 314 memblock_reserve(__pa(initrd_start), initrd_reserve); in setup_bootmem() 645 printk(KERN_INFO "initrd: mapping %08lx-%08lx\n", initrd_start, initrd_end); in pagetable_init() 646 map_pages(initrd_start, __pa(initrd_start), in pagetable_init() 647 initrd_end - initrd_start, PAGE_KERNEL, 0); in pagetable_init()
|
/linux-6.12.1/arch/um/kernel/ |
D | initrd.c | 30 initrd_start = (unsigned long) area; in read_initrd() 31 initrd_end = initrd_start + size; in read_initrd()
|
/linux-6.12.1/arch/arm/boot/compressed/ |
D | atags_to_fdt.c | 197 uint32_t initrd_start, initrd_size; in atags_to_fdt() local 198 initrd_start = atag->u.initrd.start; in atags_to_fdt() 201 initrd_start); in atags_to_fdt() 203 initrd_start + initrd_size); in atags_to_fdt()
|
/linux-6.12.1/arch/sh/kernel/ |
D | setup.c | 162 initrd_start = (unsigned long)__va(start); in check_for_initrd() 163 initrd_end = initrd_start + INITRD_SIZE; in check_for_initrd() 165 memblock_reserve(__pa(initrd_start), INITRD_SIZE); in check_for_initrd() 171 initrd_start = initrd_end = 0; in check_for_initrd()
|
/linux-6.12.1/arch/alpha/kernel/ |
D | setup.c | 271 size = initrd_end - initrd_start; in move_initrd() 274 initrd_start = initrd_end = 0; in move_initrd() 277 memmove(start, (void *)initrd_start, size); in move_initrd() 278 initrd_start = (unsigned long)start; in move_initrd() 279 initrd_end = initrd_start + size; in move_initrd() 350 initrd_start = INITRD_START; in setup_memory() 351 if (initrd_start) { in setup_memory() 352 initrd_end = initrd_start+INITRD_SIZE; in setup_memory() 354 (void *) initrd_start, INITRD_SIZE); in setup_memory() 363 memblock_reserve(virt_to_phys((void *)initrd_start), in setup_memory()
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | setup.c | 52 extern unsigned long initrd_start; 109 initrd_start = (unsigned long)__va(mi->start); 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() 297 initrd_start = 0; in setup_arch()
|
/linux-6.12.1/arch/microblaze/mm/ |
D | init.c | 230 if (initrd_start) { in mmu_init() 232 size = initrd_end - initrd_start; in mmu_init() 233 memblock_reserve(__virt_to_phys(initrd_start), size); in mmu_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() 374 if (initrd_start) in check_for_initrd() 375 pr_info("Found initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end); in check_for_initrd()
|
D | prom.c | 100 if (!initrd_start) in overlaps_initrd() 103 return (start + size) > ALIGN_DOWN(initrd_start, PAGE_SIZE) && in overlaps_initrd() 689 if (initrd_start && (initrd_end > initrd_start)) { in early_reserve_mem() 690 memblock_reserve(ALIGN_DOWN(__pa(initrd_start), PAGE_SIZE), in early_reserve_mem() 692 ALIGN_DOWN(initrd_start, PAGE_SIZE)); in early_reserve_mem()
|
/linux-6.12.1/arch/arc/mm/ |
D | init.c | 115 initrd_start = (unsigned long)__va(phys_initrd_start); in setup_arch_memory() 116 initrd_end = initrd_start + phys_initrd_size; in setup_arch_memory()
|
/linux-6.12.1/arch/x86/kernel/ |
D | setup.c | 270 initrd_start = relocated_ramdisk + PAGE_OFFSET; in relocate_initrd() 271 initrd_end = initrd_start + ramdisk_size; in relocate_initrd() 275 copy_from_early_mem((void *)initrd_start, ramdisk_image, ramdisk_size); in relocate_initrd() 308 initrd_start = 0; in reserve_initrd() 316 initrd_start = ramdisk_image + PAGE_OFFSET; in reserve_initrd() 317 initrd_end = initrd_start + ramdisk_size; in reserve_initrd()
|