Searched refs:oom_adj_path (Results 1 – 1 of 1) sorted by relevance
257 static char *oom_adj_path = NULL; variable279 oom_adj_path = oom_adjust[i].path; in oom_adjust_setup()281 if ((fp = fopen(oom_adj_path, "r+")) != NULL) { in oom_adjust_setup()283 verbose("error reading %s: %s", oom_adj_path, in oom_adjust_setup()289 oom_adj_path, strerror(errno)); in oom_adjust_setup()292 oom_adj_path, oom_adj_save, value); in oom_adjust_setup()298 oom_adj_path = NULL; in oom_adjust_setup()308 if (oom_adj_save == INT_MIN || oom_adj_path == NULL || in oom_adjust_restore()309 (fp = fopen(oom_adj_path, "w")) == NULL) in oom_adjust_restore()313 verbose("error writing %s: %s", oom_adj_path, strerror(errno)); in oom_adjust_restore()[all …]