Lines Matching defs:path
69 std::string path = KernelInterface::GetInstance().JoinPath(XML_PATH, "memmgr_config.xml");
71 HILOGI(":%{public}s", path.c_str());
72 if (path.length() > PATH_MAX || realpath(path.c_str(), absPatch) == NULL) {
75 if (!XmlHelper::CheckPathExist(path.c_str())) {
76 HILOGE("bad profile path! path:%{public}s", path.c_str());
80 xmlReadFile(path.c_str(), nullptr, XML_PARSE_NOBLANKS), xmlFreeDoc);
162 std::string path = KernelInterface::GetInstance().JoinPath(MEMCG_PATH, "memory.zswapd_memcgs_param");
176 return KernelInterface::GetInstance().WriteToFile(path, content);