Searched refs:cgroup_name (Results 1 – 2 of 2) sorted by relevance
32 bool CgroupGetControllerPath(const std::string& cgroup_name, std::string* path);33 bool CgroupGetControllerFromPath(const std::string& path, std::string* cgroup_name);
63 bool CgroupGetControllerPath(const std::string& cgroup_name, std::string* path) { in CgroupGetControllerPath() argument64 auto controller = CgroupMap::GetInstance().FindController(cgroup_name); in CgroupGetControllerPath()94 bool CgroupGetControllerFromPath(const std::string& path, std::string* cgroup_name) { in CgroupGetControllerFromPath() argument101 if (cgroup_name) { in CgroupGetControllerFromPath()102 *cgroup_name = controller.name(); in CgroupGetControllerFromPath()