/linux/drivers/firmware/efi/libstub/ |
A D | file.c | 87 static int find_file_option(const efi_char16_t *cmdline, int cmdline_len, in find_file_option() argument 95 for (i = prefix_len; i < cmdline_len; i++) { in find_file_option() 106 while (i < cmdline_len && (cmdline[i] == L'/' || cmdline[i] == L'\\')) in find_file_option() 109 while (--result_len > 0 && i < cmdline_len) { in find_file_option() 139 int cmdline_len = image->load_options_size; in handle_cmdline_files() local 151 efi_apply_loadoptions_quirk((const void **)&cmdline, &cmdline_len); in handle_cmdline_files() 152 cmdline_len /= sizeof(*cmdline); in handle_cmdline_files() 163 offset = find_file_option(cmdline, cmdline_len, in handle_cmdline_files() 171 cmdline_len -= offset; in handle_cmdline_files()
|
/linux/arch/x86/kernel/ |
A D | kexec-bzimage64.c | 70 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() 327 unsigned long cmdline_len) in bzImage64_load() argument 356 if (cmdline_len > header->cmdline_size) { in bzImage64_load() 365 if (cmdline_len + MAX_ELFCOREHDR_STR_LEN > header->cmdline_size) { in bzImage64_load() 399 params_cmdline_sz = sizeof(struct boot_params) + cmdline_len + in bzImage64_load() 463 sizeof(struct boot_params), cmdline, cmdline_len); in bzImage64_load()
|
/linux/arch/powerpc/kexec/ |
A D | file_load.c | 37 unsigned long cmdline_len) in setup_kdump_cmdline() argument 49 if (elfcorehdr_strlen + cmdline_len > COMMAND_LINE_SIZE) { in setup_kdump_cmdline() 55 memcpy(cmdline_ptr + elfcorehdr_strlen, cmdline, cmdline_len); in setup_kdump_cmdline()
|
A D | elf_64.c | 30 unsigned long cmdline_len) in elf64_load() argument 82 cmdline_len); in elf64_load()
|
/linux/arch/parisc/kernel/ |
A D | kexec_file.c | 19 unsigned long cmdline_len) in elf_load() argument 61 kbuf.bufsz = kbuf.memsz = ALIGN(cmdline_len, 8); in elf_load()
|
/linux/kernel/ |
A D | kexec_file.c | 224 unsigned long cmdline_len, unsigned flags) in kimage_file_prepare_segments() argument 258 if (cmdline_len) { in kimage_file_prepare_segments() 259 image->cmdline_buf = memdup_user(cmdline_ptr, cmdline_len); in kimage_file_prepare_segments() 266 image->cmdline_buf_len = cmdline_len; in kimage_file_prepare_segments() 269 if (image->cmdline_buf[cmdline_len - 1] != '\0') { in kimage_file_prepare_segments() 300 unsigned long cmdline_len, unsigned long flags) in kimage_file_alloc_init() argument 319 cmdline_ptr, cmdline_len, flags); in kimage_file_alloc_init() 355 unsigned long, cmdline_len, const char __user *, cmdline_ptr, in SYSCALL_DEFINE5() argument 393 cmdline_len, flags); in SYSCALL_DEFINE5()
|
/linux/arch/powerpc/boot/ |
A D | main.c | 237 if ((loader_info.cmdline_len > 0) && (cmdline[0] == '\0')) in start() 239 min(loader_info.cmdline_len, BOOT_COMMAND_LINE_SIZE-1)); in start()
|
A D | cuboot.c | 26 loader_info.cmdline_len = r7 - r6; in cuboot_init()
|
A D | redboot-83xx.c | 56 loader_info.cmdline_len = strlen((char *)bd.bi_cmdline); in platform_init()
|
A D | redboot-8xx.c | 54 loader_info.cmdline_len = strlen((char *)bd.bi_cmdline); in platform_init()
|
A D | treeboot-akebono.c | 129 loader_info.cmdline_len = 256; in platform_init()
|
A D | ops.h | 81 int cmdline_len; member
|
/linux/arch/s390/kernel/ |
A D | kexec_image.c | 46 char *cmdline, unsigned long cmdline_len) in s390_image_load() argument
|
A D | kexec_elf.c | 69 char *cmdline, unsigned long cmdline_len) in s390_elf_load() argument
|
/linux/arch/powerpc/include/asm/ |
A D | kexec.h | 113 unsigned long cmdline_len);
|
/linux/arch/arm64/kernel/ |
A D | kexec_image.c | 40 char *cmdline, unsigned long cmdline_len) in image_load() argument
|
/linux/include/linux/ |
A D | kexec.h | 125 unsigned long cmdline_len);
|
A D | syscalls.h | 1202 unsigned long cmdline_len,
|