Lines Matching refs:cmdline
146 const char *cmdline; in load_kernel() local
159 size_t len = strlen(me->cmdline) + 1; in load_kernel()
174 snprintf(cmd, len, "%s %s", me->cmdline, args); in load_kernel()
176 strncpy(cmd, me->cmdline, len); in load_kernel()
228 rsprintf(&cmdline, "%s %s", me->cmdline, default_cmd); in load_kernel()
230 rsprintf(&cmdline, "%s %s", onerror, default_cmd); in load_kernel()
232 type = parse_image_type(cmdline); in load_kernel()
233 execute(cmdline, type, true); in load_kernel()
254 const char *cmdline; in enter_cmdline() local
265 cmdline = edit_cmdline("boot:", 1, NULL, cat_help_file, &to); in enter_cmdline()
269 if (!cmdline || cmdline[0] == '\0') { in enter_cmdline()
275 load_kernel(cmdline); in enter_cmdline()
303 const char *cmdline; in main() local
322 cmdline = dst = malloc(count + 1); in main()
336 load_kernel(cmdline); /* Shouldn't return */ in main()