Searched refs:epollfd (Results 1 – 3 of 3) sorted by relevance
/system/core/healthd/ |
D | healthd.cpp | 63 static int epollfd; variable 144 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in healthd_register_event() 288 nevents = epoll_wait(epollfd, events, eventct, timeout); in healthd_mainloop() 312 epollfd = epoll_create(MAX_EPOLL_EVENTS); in healthd_init() 313 if (epollfd == -1) { in healthd_init()
|
D | healthd_mode_charger.cpp | 680 int epollfd; in healthd_mode_charger_init() local 688 epollfd = ev_get_epollfd(); in healthd_mode_charger_init() 689 healthd_register_event(epollfd, charger_event_handler); in healthd_mode_charger_init()
|
/system/core/lmkd/ |
D | lmkd.c | 77 static int epollfd; variable 422 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_dfd, &epev) == -1) { in ctrl_connect_handler() 709 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, evfd, &epev); in init_mp() 738 epollfd = epoll_create(MAX_EPOLL_EVENTS); in init() 739 if (epollfd == -1) { in init() 758 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_lfd, &epev) == -1) { in init() 789 nevents = epoll_wait(epollfd, events, maxevents, -1); in mainloop()
|