Searched refs:cgroup_path (Results 1 – 1 of 1) sorted by relevance
50 static char cgroup_path[PATH_MAX]; variable95 snprintf(cgroup_path, sizeof(cgroup_path), in setup_cgroup_paths()97 snprintf(tasks_path, sizeof(tasks_path), "%s/tasks", cgroup_path); in setup_cgroup_paths()99 "%s/memory.limit_in_bytes", cgroup_path); in setup_cgroup_paths()101 "%s/memory.memsw.limit_in_bytes", cgroup_path); in setup_cgroup_paths()163 SAFE_MKDIR(cgroup_path, 0777); in child()266 if (cgroup_path[0] && !access(cgroup_path, F_OK)) in cleanup()267 rmdir(cgroup_path); in cleanup()