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 | 233 static int DoKillProcessGroupOnce(const char* cgroup, uid_t uid, int initialPid, int signal) { in DoKillProcessGroupOnce() argument 234 auto path = ConvertUidPidToPath(cgroup, uid, initialPid) + PROCESSGROUP_CGROUP_PROCS_FILE; in DoKillProcessGroupOnce() 241 PLOG(WARNING) << "Failed to open process cgroup uid " << uid << " pid " << initialPid; in DoKillProcessGroupOnce() 248 pgids.emplace(initialPid); in DoKillProcessGroupOnce() 283 << " as part of process cgroup " << initialPid; in DoKillProcessGroupOnce() 293 << initialPid; in DoKillProcessGroupOnce() 303 static int KillProcessGroup(uid_t uid, int initialPid, int signal, int retries, in KillProcessGroup() argument 313 (!access(ConvertUidPidToPath(cpuacct_path.c_str(), uid, initialPid).c_str(), F_OK)) in KillProcessGroup() 325 while ((processes = DoKillProcessGroupOnce(cgroup, uid, initialPid, signal)) > 0) { in KillProcessGroup() 329 LOG(VERBOSE) << "Killed " << processes << " processes for processgroup " << initialPid; in KillProcessGroup() [all …]
|