Lines Matching refs:str
1055 static bool hw_protection_action_parse(const char *str, in hw_protection_action_parse() argument
1058 if (sysfs_streq(str, "shutdown")) in hw_protection_action_parse()
1060 else if (sysfs_streq(str, "reboot")) in hw_protection_action_parse()
1068 static int __init hw_protection_setup(char *str) in hw_protection_setup() argument
1070 hw_protection_action_parse(str, &hw_protection_action); in hw_protection_setup()
1097 static int __init reboot_setup(char *str) in reboot_setup() argument
1109 if (!strncmp(str, "panic_", 6)) { in reboot_setup()
1111 str += 6; in reboot_setup()
1116 switch (*str) { in reboot_setup()
1134 str += str[1] == 'm' && str[2] == 'p' ? 3 : 1; in reboot_setup()
1136 if (isdigit(str[0])) { in reboot_setup()
1137 int cpu = simple_strtoul(str, NULL, 0); in reboot_setup()
1160 reboot_type = *str; in reboot_setup()
1168 str = strchr(str, ','); in reboot_setup()
1169 if (str) in reboot_setup()
1170 str++; in reboot_setup()