Searched refs:initialPid (Results 1 – 2 of 2) sorted by relevance
/system/core/libprocessgroup/include/processgroup/ |
D | processgroup.h | 52 int killProcessGroup(uid_t uid, int initialPid, int signal, int* max_processes = nullptr); 56 int killProcessGroupOnce(uid_t uid, int initialPid, int signal, int* max_processes = nullptr); 58 int createProcessGroup(uid_t uid, int initialPid, bool memControl = false); 62 bool setProcessGroupSwappiness(uid_t uid, int initialPid, int swappiness); 63 bool setProcessGroupSoftLimit(uid_t uid, int initialPid, int64_t softLimitInBytes); 64 bool setProcessGroupLimit(uid_t uid, int initialPid, int64_t limitInBytes);
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 273 static int DoKillProcessGroupOnce(const char* cgroup, uid_t uid, int initialPid, int signal) { in DoKillProcessGroupOnce() argument 274 auto path = ConvertUidPidToPath(cgroup, uid, initialPid) + PROCESSGROUP_CGROUP_PROCS_FILE; in DoKillProcessGroupOnce() 281 PLOG(WARNING) << "Failed to open process cgroup uid " << uid << " pid " << initialPid; in DoKillProcessGroupOnce() 288 pgids.emplace(initialPid); in DoKillProcessGroupOnce() 323 << " as part of process cgroup " << initialPid; in DoKillProcessGroupOnce() 333 << initialPid; in DoKillProcessGroupOnce() 343 static int KillProcessGroup(uid_t uid, int initialPid, int signal, int retries, in KillProcessGroup() argument 357 while ((processes = DoKillProcessGroupOnce(cgroup, uid, initialPid, signal)) > 0) { in KillProcessGroup() 361 LOG(VERBOSE) << "Killed " << processes << " processes for processgroup " << initialPid; in KillProcessGroup() 372 << initialPid; in KillProcessGroup() [all …]
|