Lines Matching refs:cgroup_path
50 static char cgroup_path[PATH_MAX];
95 snprintf(cgroup_path, sizeof(cgroup_path),
97 snprintf(tasks_path, sizeof(tasks_path), "%s/tasks", cgroup_path);
99 "%s/memory.limit_in_bytes", cgroup_path);
101 "%s/memory.memsw.limit_in_bytes", cgroup_path);
163 SAFE_MKDIR(cgroup_path, 0777);
266 if (cgroup_path[0] && !access(cgroup_path, F_OK))
267 rmdir(cgroup_path);