Searched refs:epollfd (Results 1 - 3 of 3) sorted by relevance
/system/core/healthd/ |
H A D | healthd_common.cpp | 73 static int epollfd; variable 100 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { 250 nevents = epoll_wait(epollfd, events, eventct, timeout); 268 epollfd = epoll_create(MAX_EPOLL_EVENTS); 269 if (epollfd == -1) {
|
H A D | healthd_mode_charger.cpp | 838 int epollfd; local 847 epollfd = ev_get_epollfd(); 848 healthd_register_event(epollfd, charger_event_handler, EVENT_WAKEUP_FD);
|
/system/core/lmkd/ |
H A D | lmkd.c | 78 static int epollfd; variable 419 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_dfd, &epev) == -1) { 706 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, evfd, &epev); 735 epollfd = epoll_create(MAX_EPOLL_EVENTS); 736 if (epollfd == -1) { 755 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_lfd, &epev) == -1) { 786 nevents = epoll_wait(epollfd, events, maxevents, -1);
|
Completed in 83 milliseconds