Home
last modified time | relevance | path

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

/system/core/libprocessgroup/
Dprocessgroup.cpp58 bool CgroupGetControllerPath(const std::string& cgroup_name, std::string* path) { in CgroupGetControllerPath() function
179 if (CgroupGetControllerPath("cpuacct", &path)) { in removeAllProcessGroups()
182 if (CgroupGetControllerPath("memory", &path)) { in removeAllProcessGroups()
308 CgroupGetControllerPath("cpuacct", &cpuacct_path); in KillProcessGroup()
309 CgroupGetControllerPath("memory", &memory_path); in KillProcessGroup()
380 CgroupGetControllerPath("memory", &cgroup); in createProcessGroup()
383 CgroupGetControllerPath("cpuacct", &cgroup); in createProcessGroup()
/system/core/libprocessgroup/include/processgroup/
Dprocessgroup.h28 bool CgroupGetControllerPath(const std::string& cgroup_name, std::string* path);
/system/netd/tests/
Dbpf_base_test.cpp65 ASSERT_EQ(true, CgroupGetControllerPath(CGROUPV2_CONTROLLER_NAME, &cg2_path)); in TEST_F()
67 ASSERT_EQ(true, CgroupGetControllerPath(CGROUPV2_CONTROLLER_NAME, nullptr)); in TEST_F()
/system/core/init/
Dservice_utils.cpp285 if (CgroupGetControllerPath("cpuset", &cpuset_path)) { in WritePidToFiles()
/system/netd/server/
DTrafficController.cpp222 if (!CgroupGetControllerPath(CGROUPV2_CONTROLLER_NAME, &cg2_path)) { in initPrograms()