Searched refs:epollfd (Results 1 – 4 of 4) sorted by relevance
/system/memory/lmkd/libpsi/ |
D | psi.cpp | 81 int register_psi_monitor(int epollfd, int fd, void* data) { in register_psi_monitor() argument 87 res = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &epev); in register_psi_monitor() 94 int unregister_psi_monitor(int epollfd, int fd) { in unregister_psi_monitor() argument 95 return epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, NULL); in unregister_psi_monitor()
|
/system/memory/lmkd/libpsi/include/psi/ |
D | psi.h | 48 int register_psi_monitor(int epollfd, int fd, void* data); 54 int unregister_psi_monitor(int epollfd, int fd);
|
/system/memory/lmkd/ |
D | lmkd.cpp | 267 static int epollfd; variable 681 if (epoll_ctl(epollfd, EPOLL_CTL_DEL, data_sock[dsock_idx].sock, &epev) == -1) { in ctrl_data_close() 1511 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, data_sock[free_dscock_idx].sock, &epev) == -1) { in ctrl_connect_handler() 1998 if (epoll_ctl(epollfd, EPOLL_CTL_DEL, last_kill_pid_or_fd, &epev)) { in stop_wait_for_proc_kill() 2034 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, last_kill_pid_or_fd, &epev) != 0) { in start_wait_for_proc_kill() 2788 if (register_psi_monitor(epollfd, fd, &vmpressure_hinfo[level]) < 0) { in init_mp_psi() 2805 if (unregister_psi_monitor(epollfd, fd) < 0) { in destroy_mp_psi() 2892 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, evfd, &epev); in init_mp_common() 2920 if (epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, &epev)) { in destroy_mp_common() 2982 epollfd = epoll_create(MAX_EPOLL_EVENTS); in init() [all …]
|
/system/core/healthd/ |
D | healthd_mode_charger.cpp | 666 int epollfd; in Init() local 675 epollfd = ev_get_epollfd(); in Init() 676 RegisterEvent(epollfd, &charger_event_handler, EVENT_WAKEUP_FD); in Init()
|