/linux/arch/powerpc/kexec/ |
A D | file_load.c | 40 char *cmdline_ptr; in setup_kdump_cmdline() local 42 cmdline_ptr = kzalloc(COMMAND_LINE_SIZE, GFP_KERNEL); in setup_kdump_cmdline() 43 if (!cmdline_ptr) in setup_kdump_cmdline() 46 elfcorehdr_strlen = sprintf(cmdline_ptr, "elfcorehdr=0x%lx ", in setup_kdump_cmdline() 51 kfree(cmdline_ptr); in setup_kdump_cmdline() 55 memcpy(cmdline_ptr + elfcorehdr_strlen, cmdline, cmdline_len); in setup_kdump_cmdline() 57 cmdline_ptr[COMMAND_LINE_SIZE - 1] = '\0'; in setup_kdump_cmdline() 58 return cmdline_ptr; in setup_kdump_cmdline()
|
/linux/arch/x86/boot/ |
A D | cmdline.c | 28 int __cmdline_find_option(unsigned long cmdline_ptr, const char *option, char *buffer, int bufsize) in __cmdline_find_option() argument 42 if (!cmdline_ptr) in __cmdline_find_option() 45 cptr = cmdline_ptr & 0xf; in __cmdline_find_option() 46 set_fs(cmdline_ptr >> 4); in __cmdline_find_option() 100 int __cmdline_find_option_bool(unsigned long cmdline_ptr, const char *option) in __cmdline_find_option_bool() argument 112 if (!cmdline_ptr) in __cmdline_find_option_bool() 115 cptr = cmdline_ptr & 0xf; in __cmdline_find_option_bool() 116 set_fs(cmdline_ptr >> 4); in __cmdline_find_option_bool()
|
A D | boot.h | 270 int __cmdline_find_option(unsigned long cmdline_ptr, const char *option, char *buffer, int bufsize); 271 int __cmdline_find_option_bool(unsigned long cmdline_ptr, const char *option);
|
/linux/drivers/firmware/efi/libstub/ |
A D | efi-stub.c | 129 char *cmdline_ptr = NULL; in efi_pe_entry() local 168 cmdline_ptr = efi_convert_cmdline(image, &cmdline_size); in efi_pe_entry() 169 if (!cmdline_ptr) { in efi_pe_entry() 186 status = efi_parse_options(cmdline_ptr); in efi_pe_entry() 220 if (strstr(cmdline_ptr, "dtb=")) in efi_pe_entry() 293 cmdline_ptr, fdt_addr, fdt_size); in efi_pe_entry() 315 efi_bs_call(free_pool, cmdline_ptr); in efi_pe_entry()
|
A D | fdt.c | 31 void *fdt, int new_fdt_size, char *cmdline_ptr, in update_fdt() argument 89 if (cmdline_ptr != NULL && strlen(cmdline_ptr) > 0) { in update_fdt() 90 status = fdt_setprop(fdt, node, "bootargs", cmdline_ptr, in update_fdt() 91 strlen(cmdline_ptr) + 1); in update_fdt() 242 char *cmdline_ptr, in allocate_new_fdt_and_exit_boot() argument 292 (void *)*new_fdt_addr, MAX_FDT_SIZE, cmdline_ptr, in allocate_new_fdt_and_exit_boot()
|
A D | x86-stub.c | 364 char *cmdline_ptr; in efi_pe_entry() local 407 cmdline_ptr = efi_convert_cmdline(image, &options_size); in efi_pe_entry() 408 if (!cmdline_ptr) in efi_pe_entry() 411 efi_set_u64_split((unsigned long)cmdline_ptr, in efi_pe_entry()
|
A D | efistub.h | 754 char *cmdline_ptr,
|
/linux/arch/x86/include/asm/ |
A D | cmdline.h | 5 int cmdline_find_option_bool(const char *cmdline_ptr, const char *option); 6 int cmdline_find_option(const char *cmdline_ptr, const char *option,
|
/linux/arch/x86/kernel/ |
A D | kexec-bzimage64.c | 72 char *cmdline_ptr = ((char *)params) + cmdline_offset; in setup_cmdline() local 77 len = sprintf(cmdline_ptr, in setup_cmdline() 80 memcpy(cmdline_ptr + len, cmdline, cmdline_len); in setup_cmdline() 83 cmdline_ptr[cmdline_len - 1] = '\0'; in setup_cmdline() 85 pr_debug("Final command line is: %s\n", cmdline_ptr); in setup_cmdline()
|
/linux/arch/x86/mm/ |
A D | mem_encrypt_identity.c | 505 const char *cmdline_ptr, *cmdline_arg, *cmdline_on, *cmdline_off; in sme_enable() local 592 cmdline_ptr = (const char *)((u64)bp->hdr.cmd_line_ptr | in sme_enable() 595 cmdline_find_option(cmdline_ptr, cmdline_arg, buffer, sizeof(buffer)); in sme_enable()
|
/linux/kernel/ |
A D | kexec_file.c | 223 const char __user *cmdline_ptr, in kimage_file_prepare_segments() argument 259 image->cmdline_buf = memdup_user(cmdline_ptr, cmdline_len); in kimage_file_prepare_segments() 299 int initrd_fd, const char __user *cmdline_ptr, 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 392 ret = kimage_file_alloc_init(&image, kernel_fd, initrd_fd, cmdline_ptr, in SYSCALL_DEFINE5()
|
/linux/include/linux/ |
A D | syscalls.h | 1203 const char __user *cmdline_ptr,
|