Home
last modified time | relevance | path

Searched refs:pidPath (Results 1 - 4 of 4) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/
H A Dprocess.cpp90 bool Process::CheckMaps(std::string pidPath) in CheckMaps() argument
95 auto path = StringPrintf("%s/maps", pidPath.c_str()); in CheckMaps()
107 LOGI("Found map in %{public}s", pidPath.c_str()); in CheckMaps()
131 bool Process::CheckFds(std::string pidPath) in CheckFds() argument
134 auto path = StringPrintf("%s/fd", pidPath.c_str()); in CheckFds()
164 std::string pidPath = StringPrintf("/proc/%d", pid); in UpdatePidByPath() local
165 if (CheckMaps(pidPath) in UpdatePidByPath()
166 || CheckSymlink(pidPath + "/cwd") in UpdatePidByPath()
167 || CheckSymlink(pidPath + "/root") in UpdatePidByPath()
168 || CheckSymlink(pidPath in UpdatePidByPath()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/include/volume/
H A Dprocess.h41 bool CheckMaps(std::string pidPath);
43 bool CheckFds(std::string pidPath);
/foundation/filemanagement/storage_service/services/storage_daemon/user/src/
H A Dmount_manager.cpp314 std::string pidPath = "/proc/" + name; in FindAndKillProcess() local
315 if (PidUsingFlag(pidPath, prefix, mountFailList)) { in FindAndKillProcess()
342 bool MountManager::PidUsingFlag(std::string &pidPath, const std::string &prefix, std::list<std::string> &mountFailList) in PidUsingFlag() argument
345 found |= CheckMaps(pidPath + "/maps", prefix, mountFailList); in PidUsingFlag()
346 found |= CheckSymlink(pidPath + "/cwd", prefix, mountFailList); in PidUsingFlag()
347 found |= CheckSymlink(pidPath + "/root", prefix, mountFailList); in PidUsingFlag()
348 found |= CheckSymlink(pidPath + "/exe", prefix, mountFailList); in PidUsingFlag()
350 std::string fdPath = pidPath + "/fd"; in PidUsingFlag()
/foundation/filemanagement/storage_service/services/storage_daemon/include/user/
H A Dmount_manager.h103 bool PidUsingFlag(std::string &pidPath, const std::string &prefix, std::list<std::string> &mountFailList);

Completed in 4 milliseconds