Home
last modified time | relevance | path

Searched refs:initrd_size (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/boot/
Dmain.c103 unsigned long initrd_size) in prep_initrd() argument
111 initrd_size = _initrd_end - _initrd_start; in prep_initrd()
112 } else if (initrd_size > 0) { in prep_initrd()
114 initrd_addr, initrd_addr + initrd_size); in prep_initrd()
118 if (! initrd_size) in prep_initrd()
130 initrd_size); in prep_initrd()
131 initrd_addr = (unsigned long)malloc(initrd_size); in prep_initrd()
136 initrd_addr, old_addr, initrd_size); in prep_initrd()
137 memmove((void *)initrd_addr, old_addr, initrd_size); in prep_initrd()
144 setprop_val(chosen, "linux,initrd-end", (u32)(initrd_addr+initrd_size)); in prep_initrd()
[all …]
Dcuboot.c24 loader_info.initrd_size = r4 ? r5 - r4 : 0; in cuboot_init()
Dof.c80 loader_info.initrd_size = a2; in of_platform_init()
Dops.h79 unsigned long initrd_addr, initrd_size; member
/kernel/linux/linux-5.10/arch/arm/boot/compressed/
Dkaslr.c28 u32 initrd_size; member
153 regions->initrd_start + regions->initrd_size)) in intersects_occupied_region()
376 regions.initrd_start = regions.initrd_size = 0; in kaslr_early_init()
381 regions.initrd_size = __memparse(p, NULL); in kaslr_early_init()
382 if (regions.initrd_size == 0) in kaslr_early_init()
387 if (regions.initrd_size == 0) { in kaslr_early_init()
406 regions.initrd_size = max_t(u64, end, U32_MAX) - start; in kaslr_early_init()
429 puthex32(regions.initrd_size); in kaslr_early_init()
Datags_to_fdt.c196 uint32_t initrd_start, initrd_size; in atags_to_fdt() local
198 initrd_size = atag->u.initrd.size; in atags_to_fdt()
202 initrd_start + initrd_size); in atags_to_fdt()
/kernel/linux/linux-5.10/arch/mips/sibyte/common/
Dcfe.c171 unsigned long initrd_size; in initrd_setup() local
196 initrd_size = simple_strtoul(str, &endptr, 16); in initrd_setup()
206 initrd_end = initrd_start + initrd_size; in initrd_setup()
207 printk("Found initrd of %lx@%lx\n", initrd_size, initrd_start); in initrd_setup()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Dfdt.c32 u64 initrd_addr, u64 initrd_size) in update_fdt() argument
97 if (initrd_size != 0) { in update_fdt()
105 initrd_image_end = cpu_to_fdt64(initrd_addr + initrd_size); in update_fdt()
242 u64 initrd_addr, u64 initrd_size, in allocate_new_fdt_and_exit_boot() argument
286 initrd_addr, initrd_size); in allocate_new_fdt_and_exit_boot()
Defi-stub.c126 unsigned long initrd_size = 0; in efi_pe_entry() local
245 status = efi_load_initrd(image, &initrd_addr, &initrd_size, in efi_pe_entry()
293 initrd_addr, initrd_size, in efi_pe_entry()
307 efi_free(initrd_size, initrd_addr); in efi_pe_entry()
Defi-stub-helper.c576 unsigned long initrd_size; in efi_load_initrd_dev_path() local
590 status = efi_call_proto(lf2, load_file, dp, false, &initrd_size, NULL); in efi_load_initrd_dev_path()
594 status = efi_allocate_pages(initrd_size, &initrd_addr, max); in efi_load_initrd_dev_path()
598 status = efi_call_proto(lf2, load_file, dp, false, &initrd_size, in efi_load_initrd_dev_path()
601 efi_free(initrd_size, initrd_addr); in efi_load_initrd_dev_path()
606 *load_size = initrd_size; in efi_load_initrd_dev_path()
Defistub.h754 u64 initrd_addr, u64 initrd_size,
/kernel/linux/linux-5.10/tools/bootconfig/
Dtest-bootconfig.sh53 initrd_size=$(stat -c %s $INITRD)
63 total_size=$(expr $bconf_size + $initrd_size + 9 + 12 + $ALIGN - 1 )
79 xpass test $new_size -eq $initrd_size
/kernel/linux/linux-5.10/arch/arm/boot/bootp/
Dinit.S78 .word initrd_size @ initrd size
83 .word initrd_size @ r8
Dbootp.lds19 initrd_size = initrd_end - initrd_start; symbol
/kernel/linux/linux-5.10/arch/arm/kernel/
Datags_compat.c62 unsigned long initrd_size; /* 68 */ member
114 params->u1.s.initrd_size = 0; in build_tag_list()
137 tag->u.initrd.size = params->u1.s.initrd_size; in build_tag_list()
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/
Dsetup.h22 __u64 initrd_size; member
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
Dkaslr.c391 u64 initrd_start, initrd_size; in mem_avoid_init() local
404 initrd_size = (u64)boot_params->ext_ramdisk_size << 32; in mem_avoid_init()
405 initrd_size |= boot_params->hdr.ramdisk_size; in mem_avoid_init()
407 mem_avoid[MEM_AVOID_INITRD].size = initrd_size; in mem_avoid_init()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dsetup.h76 unsigned long initrd_size; /* 0x10410 */ member
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dsetup.c364 rsvd_region[n].end = rsvd_region[n].start + ia64_boot_param->initrd_size; in reserve_memory()
413 initrd_end = initrd_start+ia64_boot_param->initrd_size; in find_initrd()
416 initrd_start, ia64_boot_param->initrd_size); in find_initrd()
/kernel/linux/linux-5.10/Documentation/arm/
Dsetup.rst84 initrd_start / initrd_size
/kernel/linux/linux-5.10/arch/s390/kernel/
Dmachine_kexec_file.c164 data->parm->initrd_size = buf.memsz; in kexec_file_add_initrd()
/kernel/linux/linux-5.10/Documentation/x86/
Dboot.rst1141 ramdisk_size = <initrd_size>;