Home
last modified time | relevance | path

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

/system/core/libprocessgroup/
Dprocessgroup.cpp74 static const char* cgroup_root_path = NULL; in getCgroupRootPath() local
78 cgroup_root_path = access(MEM_CGROUP_TASKS, F_OK) || access(MEM_CGROUP_PATH, W_OK) ? in getCgroupRootPath()
81 return cgroup_root_path; in getCgroupRootPath()
230 const char *cgroup_root_path = getCgroupRootPath(); in removeAllProcessGroups() local
231 DIR *root = opendir(cgroup_root_path); in removeAllProcessGroups()
233 SLOGE("failed to open %s: %s", cgroup_root_path, strerror(errno)); in removeAllProcessGroups()
247 snprintf(path, sizeof(path), "%s/%s", cgroup_root_path, dir->d_name); in removeAllProcessGroups()