Home
last modified time | relevance | path

Searched refs:cmdline_len (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/arch/x86/kernel/
Dkexec-bzimage64.c70 unsigned long cmdline_len) in setup_cmdline() argument
80 memcpy(cmdline_ptr + len, cmdline, cmdline_len); in setup_cmdline()
81 cmdline_len += len; in setup_cmdline()
83 cmdline_ptr[cmdline_len - 1] = '\0'; in setup_cmdline()
338 unsigned long cmdline_len) in bzImage64_load() argument
367 if (cmdline_len > header->cmdline_size) { in bzImage64_load()
376 if (cmdline_len + MAX_ELFCOREHDR_STR_LEN > header->cmdline_size) { in bzImage64_load()
410 params_cmdline_sz = sizeof(struct boot_params) + cmdline_len + in bzImage64_load()
474 sizeof(struct boot_params), cmdline, cmdline_len); in bzImage64_load()
/Linux-v5.4/arch/arm64/kernel/
Dmachine_kexec_file.c139 size_t cmdline_len; in create_dtb() local
142 cmdline_len = cmdline ? strlen(cmdline) : 0; in create_dtb()
144 + cmdline_len + DTB_EXTRA_SPACE; in create_dtb()
Dkexec_image.c40 char *cmdline, unsigned long cmdline_len) in image_load() argument
/Linux-v5.4/arch/parisc/kernel/
Dkexec_file.c19 unsigned long cmdline_len) in elf_load() argument
61 kbuf.bufsz = kbuf.memsz = ALIGN(cmdline_len, 8); in elf_load()
/Linux-v5.4/kernel/
Dkexec_file.c240 unsigned long cmdline_len, unsigned flags) in kimage_file_prepare_segments() argument
274 if (cmdline_len) { in kimage_file_prepare_segments()
275 image->cmdline_buf = memdup_user(cmdline_ptr, cmdline_len); in kimage_file_prepare_segments()
282 image->cmdline_buf_len = cmdline_len; in kimage_file_prepare_segments()
285 if (image->cmdline_buf[cmdline_len - 1] != '\0') { in kimage_file_prepare_segments()
316 unsigned long cmdline_len, unsigned long flags) in kimage_file_alloc_init() argument
335 cmdline_ptr, cmdline_len, flags); in kimage_file_alloc_init()
371 unsigned long, cmdline_len, const char __user *, cmdline_ptr, in SYSCALL_DEFINE5() argument
409 cmdline_len, flags); in SYSCALL_DEFINE5()
/Linux-v5.4/arch/powerpc/boot/
Dcuboot.c26 loader_info.cmdline_len = r7 - r6; in cuboot_init()
Dmain.c237 if ((loader_info.cmdline_len > 0) && (cmdline[0] == '\0')) in start()
239 min(loader_info.cmdline_len, BOOT_COMMAND_LINE_SIZE-1)); in start()
Dredboot-83xx.c56 loader_info.cmdline_len = strlen((char *)bd.bi_cmdline); in platform_init()
Dredboot-8xx.c54 loader_info.cmdline_len = strlen((char *)bd.bi_cmdline); in platform_init()
Dtreeboot-akebono.c129 loader_info.cmdline_len = 256; in platform_init()
Dops.h81 int cmdline_len; member
/Linux-v5.4/arch/s390/kernel/
Dkexec_image.c46 char *cmdline, unsigned long cmdline_len) in s390_image_load() argument
Dkexec_elf.c69 char *cmdline, unsigned long cmdline_len) in s390_elf_load() argument
/Linux-v5.4/arch/powerpc/kernel/
Dkexec_elf_64.c29 unsigned long cmdline_len) in elf64_load() argument
/Linux-v5.4/include/linux/
Dkexec.h125 unsigned long cmdline_len);
Dsyscalls.h1147 unsigned long cmdline_len,