Searched defs:optstr (Results 1 - 3 of 3) sorted by relevance

/arch/x86/boot/
H A Dearly_serial_console.c116 char optstr[64], *options; local
124 if (cmdline_find_option("console", optstr, sizeof optstr) <= 0)
127 options = optstr;
/arch/ia64/sn/kernel/sn2/
H A Dsn2_smp.c512 char optstr[64]; local
514 if (count == 0 || count > sizeof(optstr))
516 if (copy_from_user(optstr, user, count))
518 optstr[count - 1] = '\0';
519 sn2_flush_opt = simple_strtoul(optstr, NULL, 0);
/arch/x86/platform/uv/
H A Dtlb_uv.c1465 char optstr[64]; local
1468 if (count == 0 || count > sizeof(optstr))
1470 if (copy_from_user(optstr, user, count))
1472 optstr[count - 1] = '\0';
1474 if (!strcmp(optstr, "on")) {
1477 } else if (!strcmp(optstr, "off")) {
1482 if (kstrtol(optstr, 10, &input_arg) < 0) {
1483 printk(KERN_DEBUG "%s is invalid\n", optstr);

Completed in 121 milliseconds