Searched refs:initialPid (Results 1 – 2 of 2) sorted by relevance
/system/core/libprocessgroup/include/processgroup/ |
D | processgroup.h | 45 int killProcessGroup(uid_t uid, int initialPid, int signal); 49 int killProcessGroupOnce(uid_t uid, int initialPid, int signal); 51 int createProcessGroup(uid_t uid, int initialPid, bool memControl = false); 55 bool setProcessGroupSwappiness(uid_t uid, int initialPid, int swappiness); 56 bool setProcessGroupSoftLimit(uid_t uid, int initialPid, int64_t softLimitInBytes); 57 bool setProcessGroupLimit(uid_t uid, int initialPid, int64_t limitInBytes);
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 262 static int DoKillProcessGroupOnce(const char* cgroup, uid_t uid, int initialPid, int signal) { in DoKillProcessGroupOnce() argument 263 auto path = ConvertUidPidToPath(cgroup, uid, initialPid) + PROCESSGROUP_CGROUP_PROCS_FILE; in DoKillProcessGroupOnce() 270 PLOG(WARNING) << "Failed to open process cgroup uid " << uid << " pid " << initialPid; in DoKillProcessGroupOnce() 277 pgids.emplace(initialPid); in DoKillProcessGroupOnce() 312 << " as part of process cgroup " << initialPid; in DoKillProcessGroupOnce() 322 << initialPid; in DoKillProcessGroupOnce() 332 static int KillProcessGroup(uid_t uid, int initialPid, int signal, int retries) { in KillProcessGroup() argument 341 (!access(ConvertUidPidToPath(cpuacct_path.c_str(), uid, initialPid).c_str(), F_OK)) in KillProcessGroup() 349 while ((processes = DoKillProcessGroupOnce(cgroup, uid, initialPid, signal)) > 0) { in KillProcessGroup() 350 LOG(VERBOSE) << "Killed " << processes << " processes for processgroup " << initialPid; in KillProcessGroup() [all …]
|