Lines Matching full:bootargs
410 const char *bootargs = get_bootargs(); in prepare_main_args() local
412 const char bootargs[] = CONFIG_BOOTARGS_STRING; in prepare_main_args()
426 if (!bootargs) { in prepare_main_args()
432 while (isspace(bootargs[i])) { in prepare_main_args()
436 if (bootargs[i] == '\0') { in prepare_main_args()
441 LOG_WRN("not enough space in args buffer to accommodate all bootargs" in prepare_main_args()
442 " - bootargs truncated"); in prepare_main_args()
452 if (bootargs[i] == '\"' || bootargs[i] == '\'') { in prepare_main_args()
453 char delimiter = bootargs[i]; in prepare_main_args()
455 for (int j = i + 1; bootargs[j] != '\0'; j++) { in prepare_main_args()
456 if (bootargs[j] == delimiter) { in prepare_main_args()
464 char delimiter = bootargs[i]; in prepare_main_args()
467 while (bootargs[i] != delimiter in prepare_main_args()
469 *strings_end++ = bootargs[i++]; in prepare_main_args()
473 while (!isspace(bootargs[i]) in prepare_main_args()
474 && bootargs[i] != '\0' in prepare_main_args()
476 *strings_end++ = bootargs[i++]; in prepare_main_args()
483 LOG_WRN("not enough space in args buffer to accommodate all bootargs" in prepare_main_args()
484 " - bootargs truncated"); in prepare_main_args()