Home
last modified time | relevance | path

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

/system/core/libprocessgroup/include/processgroup/
Dprocessgroup.h32 bool CgroupGetControllerPath(const std::string& cgroup_name, std::string* path);
33 bool CgroupGetControllerFromPath(const std::string& path, std::string* cgroup_name);
/system/core/libprocessgroup/
Dprocessgroup.cpp63 bool CgroupGetControllerPath(const std::string& cgroup_name, std::string* path) { in CgroupGetControllerPath() argument
64 auto controller = CgroupMap::GetInstance().FindController(cgroup_name); in CgroupGetControllerPath()
94 bool CgroupGetControllerFromPath(const std::string& path, std::string* cgroup_name) { in CgroupGetControllerFromPath() argument
101 if (cgroup_name) { in CgroupGetControllerFromPath()
102 *cgroup_name = controller.name(); in CgroupGetControllerFromPath()