Home
last modified time | relevance | path

Searched refs:reaper (Results 1 – 4 of 4) sorted by relevance

/system/memory/lmkd/
Dreaper.cpp92 Reaper *reaper = static_cast<Reaper*>(param); in reaper_main() local
107 target = reaper->dequeue_request(); in reaper_main()
109 if (reaper->debug_enabled()) { in reaper_main()
115 reaper->notify_kill_failure(target.pid); in reaper_main()
127 if (reaper->debug_enabled()) { in reaper_main()
135 reaper->request_complete(); in reaper_main()
DAndroid.bp43 "reaper.cpp",
Dlmkd.cpp226 static Reaper reaper; variable
2179 if (target.valid && reaper.kill({ target.pidfd, target.pid, target.uid }, true) == 0) { in watchdog_callback()
2365 kill_result = reaper.kill({ pidfd, pid, uid }, false); in kill_one_process()
3409 if (!reaper.is_reaping_supported()) { in init_reaper()
3430 if (!reaper.init(reaper_comm_fd[1])) { in init_reaper()
3778 reaper.enable_debug(debug_process_killing); in update_props()
3833 reaper.thread_cnt()); in main()
/system/core/init/
Dsigchld_handler.cpp68 auto reaper = make_scope_guard([pid] { TEMP_FAILURE_RETRY(waitpid(pid, nullptr, WNOHANG)); }); in ReapOneProcess() local