Home
last modified time | relevance | path

Searched refs:builtin_cmdline (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/loongarch/kernel/
H A Drelocate.c117 const char *builtin_cmdline = CONFIG_CMDLINE; in kaslr_disabled() local
119 str = strstr(builtin_cmdline, "nokaslr"); in kaslr_disabled()
120 if (str == builtin_cmdline || (str > builtin_cmdline && *(str - 1) == ' ')) in kaslr_disabled()
/openbmc/linux/arch/mips/kernel/
H A Drelocate.c250 const char *builtin_cmdline = CONFIG_CMDLINE; in kaslr_disabled() local
252 str = strstr(builtin_cmdline, "nokaslr"); in kaslr_disabled()
253 if (str == builtin_cmdline || in kaslr_disabled()
254 (str > builtin_cmdline && *(str - 1) == ' ')) in kaslr_disabled()
H A Dsetup.c74 static const char builtin_cmdline[] __initconst = CONFIG_CMDLINE; variable
76 static const char builtin_cmdline[] __initconst = ""; variable
570 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
582 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
612 bootcmdline_append(builtin_cmdline, COMMAND_LINE_SIZE); in bootcmdline_init()
/openbmc/linux/arch/x86/kernel/
H A Dsetup.c166 static char __initdata builtin_cmdline[COMMAND_LINE_SIZE] = CONFIG_CMDLINE; variable
964 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()
966 if (builtin_cmdline[0]) { in setup_arch()
968 strlcat(builtin_cmdline, " ", COMMAND_LINE_SIZE); in setup_arch()
969 strlcat(builtin_cmdline, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
970 strscpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE); in setup_arch()