Searched refs:cg2_path (Results 1 – 5 of 5) sorted by relevance
58 std::string cg2_path; in TEST_F() local59 ASSERT_EQ(true, CgroupGetControllerPath(CGROUPV2_CONTROLLER_NAME, &cg2_path)); in TEST_F()60 ASSERT_EQ(0, access(cg2_path.c_str(), R_OK)); in TEST_F()61 ASSERT_EQ(0, access((cg2_path + "/cgroup.controllers").c_str(), R_OK)); in TEST_F()
73 static Status initPrograms(const char* cg2_path) { in initPrograms() argument74 if (!cg2_path) return Status("cg2_path is NULL"); in initPrograms()90 if (modules::sdklevel::IsAtLeastU() && !!strcmp(cg2_path, "/sys/fs/cgroup")) { in initPrograms()94 unique_fd cg_fd(open(cg2_path, O_DIRECTORY | O_RDONLY | O_CLOEXEC)); in initPrograms()206 Status BpfHandler::init(const char* cg2_path) { in init() argument241 RETURN_IF_NOT_OK(initPrograms(cg2_path)); in init()
28 int libnetd_updatable_init(const char* cg2_path) { in libnetd_updatable_init() argument32 android::netdutils::Status ret = sBpfHandler.init(cg2_path); in libnetd_updatable_init()
34 netdutils::Status init(const char* cg2_path);
35 int libnetd_updatable_init(const char* cg2_path);