Lines Matching refs:initialPid
256 static int killProcessGroupOnce(uid_t uid, int initialPid, int signal) in killProcessGroupOnce() argument
264 while ((pid = getOneAppProcess(uid, initialPid, &ctx)) >= 0) { in killProcessGroupOnce()
272 if (pid != initialPid) { in killProcessGroupOnce()
277 SLOGI("Killing pid %d in uid %d as part of process group %d", pid, uid, initialPid); in killProcessGroupOnce()
292 int killProcessGroup(uid_t uid, int initialPid, int signal) in killProcessGroup() argument
299 while ((processes = killProcessGroupOnce(uid, initialPid, signal)) > 0) { in killProcessGroup()
300 SLOGV("killed %d processes for processgroup %d\n", processes, initialPid); in killProcessGroup()
306 processes, initialPid); in killProcessGroup()
311 SLOGV("Killed process group uid %d pid %d in %" PRId64 "ms, %d procs remain", uid, initialPid, in killProcessGroup()
315 return removeProcessGroup(uid, initialPid); in killProcessGroup()
340 int createProcessGroup(uid_t uid, int initialPid) in createProcessGroup() argument
353 convertUidPidToPath(path, sizeof(path), uid, initialPid); in createProcessGroup()
371 int len = snprintf(pid, sizeof(pid), "%d", initialPid); in createProcessGroup()