Home
last modified time | relevance | path

Searched refs:cg_path (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/oom/
Doomd-manager.c215 _cleanup_free_ char *cg_path = NULL; in recursively_get_cgroup_context() local
218 cg_path = path_join(empty_to_root(path), subpath); in recursively_get_cgroup_context()
219 if (!cg_path) in recursively_get_cgroup_context()
224 r = cg_get_attribute_as_bool("memory", cg_path, "memory.oom.group", &oom_group); in recursively_get_cgroup_context()
229 … log_debug_errno(r, "Failed to read memory.oom.group from %s, ignoring: %m", cg_path); in recursively_get_cgroup_context()
234 r = oomd_insert_cgroup_context(NULL, new_h, cg_path); in recursively_get_cgroup_context()
236 r = recursively_get_cgroup_context(new_h, cg_path); in recursively_get_cgroup_context()
240 … log_debug_errno(r, "Failed to insert or recursively get from %s, ignoring: %m", cg_path); in recursively_get_cgroup_context()
Doomd-util.c181 _cleanup_free_ char *cg_path = NULL; in oomd_cgroup_kill() local
183 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, path, NULL, &cg_path); in oomd_cgroup_kill()
187 …log_debug("oomd dry-run: Would have tried to kill %s with recurse=%s", cg_path, true_false(recurse… in oomd_cgroup_kill()