Lines Matching refs:str
1317 static int __init resume_setup(char *str)
1323 strncpy(resume_file, str, HIBERNATE_TWOHUNDREDFIFTYFIVE);
1327 static int __init resume_offset_setup(char *str)
1335 if (sscanf(str, "%llu", &offset) == 1) {
1342 static int __init hibernate_setup(char *str)
1344 if (!strncmp(str, "noresume", HIBERNATE_EIGHT)) {
1346 } else if (!strncmp(str, "nocompress", HIBERNATE_TEN)) {
1348 } else if (!strncmp(str, "no", HIBERNATE_TWO)) {
1351 } else if (IS_ENABLED(CONFIG_STRICT_KERNEL_RWX) && !strncmp(str, "protect_image", HIBERNATE_THIRTEEN)) {
1357 static int __init noresume_setup(char *str)
1363 static int __init resumewait_setup(char *str)
1369 static int __init resumedelay_setup(char *str)
1371 int rc = kstrtouint(str, 0, &resume_delay);
1374 pr_warn("resumedelay: bad option string '%s'\n", str);
1379 static int __init nohibernate_setup(char *str)