Searched refs:max_processes (Results 1 – 3 of 3) sorted by relevance
/system/core/libprocessgroup/ |
D | processgroup.cpp | 344 int* max_processes) { in KillProcessGroup() argument 351 if (max_processes != nullptr) { in KillProcessGroup() 352 *max_processes = 0; in KillProcessGroup() 358 if (max_processes != nullptr && processes > *max_processes) { in KillProcessGroup() 359 *max_processes = processes; in KillProcessGroup() 411 int killProcessGroup(uid_t uid, int initialPid, int signal, int* max_processes) { in killProcessGroup() argument 412 return KillProcessGroup(uid, initialPid, signal, 40 /*retries*/, max_processes); in killProcessGroup() 415 int killProcessGroupOnce(uid_t uid, int initialPid, int signal, int* max_processes) { in killProcessGroupOnce() argument 416 return KillProcessGroup(uid, initialPid, signal, 0 /*retries*/, max_processes); in killProcessGroupOnce()
|
/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);
|
/system/core/init/ |
D | service.cpp | 195 int max_processes = 0; in KillProcessGroup() local 198 r = killProcessGroupOnce(proc_attr_.uid, pid_, signal, &max_processes); in KillProcessGroup() 200 r = killProcessGroup(proc_attr_.uid, pid_, signal, &max_processes); in KillProcessGroup() 203 if (report_oneshot && max_processes > 0) { in KillProcessGroup() 205 << "Killed " << max_processes in KillProcessGroup()
|