Home
last modified time | relevance | path

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

/system/memory/lmkd/
Dlmkd.cpp219 static int last_kill_pid_or_fd = -1; variable
989 if (procp->pidfd >= 0 && procp->pidfd != last_kill_pid_or_fd) { in pid_remove()
2477 if (last_kill_pid_or_fd < 0) { in is_kill_pending()
2486 snprintf(buf, sizeof(buf), "/proc/%d/", last_kill_pid_or_fd); in is_kill_pending()
2495 return pidfd_supported && last_kill_pid_or_fd >= 0; in is_waiting_for_kill()
2501 if (last_kill_pid_or_fd < 0) { in stop_wait_for_proc_kill()
2527 if (epoll_ctl(epollfd, EPOLL_CTL_DEL, last_kill_pid_or_fd, &epev)) { in stop_wait_for_proc_kill()
2532 close(last_kill_pid_or_fd); in stop_wait_for_proc_kill()
2535 last_kill_pid_or_fd = -1; in stop_wait_for_proc_kill()
2561 if (last_kill_pid_or_fd >= 0) { in start_wait_for_proc_kill()
[all …]