Searched refs:oom_adj_path (Results 1 – 1 of 1) sorted by relevance
245 static char *oom_adj_path = NULL; variable267 oom_adj_path = oom_adjust[i].path; in oom_adjust_setup()269 if ((fp = fopen(oom_adj_path, "r+")) != NULL) { in oom_adjust_setup()271 verbose("error reading %s: %s", oom_adj_path, in oom_adjust_setup()277 oom_adj_path, strerror(errno)); in oom_adjust_setup()280 oom_adj_path, oom_adj_save, value); in oom_adjust_setup()286 oom_adj_path = NULL; in oom_adjust_setup()296 if (oom_adj_save == INT_MIN || oom_adj_path == NULL || in oom_adjust_restore()297 (fp = fopen(oom_adj_path, "w")) == NULL) in oom_adjust_restore()301 verbose("error writing %s: %s", oom_adj_path, strerror(errno)); in oom_adjust_restore()[all …]