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.cpp187 static int last_kill_pid_or_fd = -1; variable
892 if (procp->pidfd >= 0 && procp->pidfd != last_kill_pid_or_fd) { in pid_remove()
1948 if (last_kill_pid_or_fd < 0) { in is_kill_pending()
1957 snprintf(buf, sizeof(buf), "/proc/%d/", last_kill_pid_or_fd); in is_kill_pending()
1966 return pidfd_supported && last_kill_pid_or_fd >= 0; in is_waiting_for_kill()
1972 if (last_kill_pid_or_fd < 0) { in stop_wait_for_proc_kill()
1998 if (epoll_ctl(epollfd, EPOLL_CTL_DEL, last_kill_pid_or_fd, &epev)) { in stop_wait_for_proc_kill()
2003 close(last_kill_pid_or_fd); in stop_wait_for_proc_kill()
2006 last_kill_pid_or_fd = -1; in stop_wait_for_proc_kill()
2019 if (last_kill_pid_or_fd >= 0) { in start_wait_for_proc_kill()
[all …]