Searched refs:epollfd (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/health/2.0/default/ |
D | healthd_common.cpp | 66 static int epollfd; variable 90 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in healthd_register_event() 225 nevents = epoll_wait(epollfd, events, eventct, timeout); in healthd_mainloop() 241 epollfd = epoll_create1(EPOLL_CLOEXEC); in healthd_init() 242 if (epollfd == -1) { in healthd_init()
|
/hardware/qcom/sdm845/display/libhistogram/ |
D | histogram_collector.cpp | 462 auto epollfd = ManagedFd::create(epoll_create1(EPOLL_CLOEXEC)); in collecting_thread() local 463 if (!epollfd) { in collecting_thread() 470 if (epoll_ctl(*epollfd, EPOLL_CTL_ADD, *drm, &ev) == -1) { in collecting_thread() 477 if (epoll_ctl(*epollfd, EPOLL_CTL_ADD, selfpipe, &ev) == -1) { in collecting_thread() 520 int nfds = epoll_wait(*epollfd, events, static_cast<int>(EventType::NUM_EVENT_TYPES), -1); in collecting_thread()
|