Home
last modified time | relevance | path

Searched refs:initrd_len (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/arch/x86/mm/
Dmem_encrypt_identity.c285 unsigned long initrd_start, initrd_end, initrd_len; in sme_encrypt_kernel() local
315 initrd_len = 0; in sme_encrypt_kernel()
317 initrd_len = (unsigned long)bp->hdr.ramdisk_size | in sme_encrypt_kernel()
319 if (initrd_len) { in sme_encrypt_kernel()
322 initrd_end = PAGE_ALIGN(initrd_start + initrd_len); in sme_encrypt_kernel()
323 initrd_len = initrd_end - initrd_start; in sme_encrypt_kernel()
354 if (initrd_len) in sme_encrypt_kernel()
355 pgtable_area_len += sme_pgtable_calc(initrd_len) * 2; in sme_encrypt_kernel()
409 if (initrd_len) { in sme_encrypt_kernel()
429 if (initrd_len) { in sme_encrypt_kernel()
[all …]
/Linux-v5.10/arch/arm64/kernel/
Dmachine_kexec_file.c54 unsigned long initrd_load_addr, unsigned long initrd_len, in setup_dtb() argument
109 initrd_load_addr + initrd_len); in setup_dtb()
166 unsigned long initrd_load_addr, unsigned long initrd_len, in create_dtb() argument
188 ret = setup_dtb(image, initrd_load_addr, initrd_len, in create_dtb()
251 char *initrd, unsigned long initrd_len, in load_other_segments() argument
296 kbuf.bufsz = initrd_len; in load_other_segments()
298 kbuf.memsz = initrd_len; in load_other_segments()
315 ret = create_dtb(image, initrd_load_addr, initrd_len, cmdline, &dtb); in load_other_segments()
Dkexec_image.c39 char *initrd, unsigned long initrd_len, in image_load() argument
103 initrd_len, cmdline); in image_load()
/Linux-v5.10/arch/powerpc/kexec/
Dfile_load.c156 unsigned long initrd_load_addr, unsigned long initrd_len, in setup_new_fdt() argument
212 if (initrd_len == 0) { in setup_new_fdt()
228 if (initrd_len) { in setup_new_fdt()
237 initrd_load_addr + initrd_len); in setup_new_fdt()
241 ret = fdt_add_mem_rsv(fdt, initrd_load_addr, initrd_len); in setup_new_fdt()
Delf_64.c28 unsigned long initrd_len, char *cmdline, in elf64_load() argument
93 kbuf.bufsz = kbuf.memsz = initrd_len; in elf64_load()
120 initrd_len, cmdline); in elf64_load()
Dfile_load_64.c942 unsigned long initrd_len, const char *cmdline) in setup_new_fdt_ppc64() argument
947 ret = setup_new_fdt(image, fdt, initrd_load_addr, initrd_len, cmdline); in setup_new_fdt_ppc64()
/Linux-v5.10/arch/x86/kernel/
Dkexec-bzimage64.c56 unsigned long initrd_load_addr, unsigned long initrd_len) in setup_initrd() argument
59 params->hdr.ramdisk_size = initrd_len & 0xffffffffUL; in setup_initrd()
62 params->ext_ramdisk_size = initrd_len >> 32; in setup_initrd()
326 unsigned long initrd_len, char *cmdline, in bzImage64_load() argument
447 kbuf.bufsz = kbuf.memsz = initrd_len; in bzImage64_load()
457 initrd_load_addr, initrd_len, initrd_len); in bzImage64_load()
459 setup_initrd(params, initrd_load_addr, initrd_len); in bzImage64_load()
/Linux-v5.10/arch/parisc/kernel/
Dkexec_file.c18 unsigned long initrd_len, char *cmdline, in elf_load() argument
46 kbuf.bufsz = kbuf.memsz = initrd_len; in elf_load()
56 image->arch.initrd_end = kbuf.mem + initrd_len; in elf_load()
/Linux-v5.10/arch/powerpc/include/asm/
Dkexec.h127 unsigned long initrd_load_addr, unsigned long initrd_len,
141 unsigned long initrd_len, const char *cmdline);
/Linux-v5.10/arch/arm64/include/asm/
Dkexec.h112 char *initrd, unsigned long initrd_len,
/Linux-v5.10/arch/s390/kernel/
Dkexec_image.c45 char *initrd, unsigned long initrd_len, in s390_image_load() argument
Dkexec_elf.c68 char *initrd, unsigned long initrd_len, in s390_elf_load() argument
/Linux-v5.10/include/linux/
Dkexec.h124 unsigned long initrd_len, char *cmdline,