Searched refs:oom_adj_path (Results 1 – 1 of 1) sorted by relevance
249 static char *oom_adj_path = NULL; variable271 oom_adj_path = oom_adjust[i].path; in oom_adjust_setup()273 if ((fp = fopen(oom_adj_path, "r+")) != NULL) { in oom_adjust_setup()275 verbose("error reading %s: %s", oom_adj_path, in oom_adjust_setup()281 oom_adj_path, strerror(errno)); in oom_adjust_setup()284 oom_adj_path, oom_adj_save, value); in oom_adjust_setup()290 oom_adj_path = NULL; in oom_adjust_setup()300 if (oom_adj_save == INT_MIN || oom_adj_path == NULL || in oom_adjust_restore()301 (fp = fopen(oom_adj_path, "w")) == NULL) in oom_adjust_restore()305 verbose("error writing %s: %s", oom_adj_path, strerror(errno)); in oom_adjust_restore()[all …]