Home
last modified time | relevance | path

Searched refs:KillProcessesWithOpenFiles (Results 1 – 3 of 3) sorted by relevance

/system/vold/
DProcess.h23 int KillProcessesWithOpenFiles(const std::vector<std::string>& paths, int signal,
25 int KillProcessesWithOpenFiles(const std::string& path, int signal, bool killFuseDaemon = true);
DProcess.cpp139 int KillProcessesWithOpenFiles(const std::vector<std::string>& prefixes, int signal, in KillProcessesWithOpenFiles() function
209 int KillProcessesWithOpenFiles(const std::string& prefix, int signal, bool killFuseDaemon) { in KillProcessesWithOpenFiles() function
210 return KillProcessesWithOpenFiles(std::vector<std::string>(1, prefix), signal, in KillProcessesWithOpenFiles()
DUtils.cpp486 KillProcessesWithOpenFiles(path, SIGINT); in ForceUnmount()
492 KillProcessesWithOpenFiles(path, SIGTERM); in ForceUnmount()
498 KillProcessesWithOpenFiles(path, SIGKILL); in ForceUnmount()
533 if (KillProcessesWithOpenFiles(path, SIGINT, false /* killFuseDaemon */) == 0) { in KillProcessesUsingPath()
538 if (KillProcessesWithOpenFiles(path, SIGTERM, false /* killFuseDaemon */) == 0) { in KillProcessesUsingPath()
543 if (KillProcessesWithOpenFiles(path, SIGKILL, false /* killFuseDaemon */) == 0) { in KillProcessesUsingPath()
551 if (KillProcessesWithOpenFiles(path, SIGKILL, true /* killFuseDaemon */) == 0) { in KillProcessesUsingPath()
1768 int total_killed_pids = KillProcessesWithOpenFiles(paths_to_kill, signal, kill_fuse_daemon); in KillProcessesWithFuseOpenFilesAndUnmount()