Searched refs:epoll_fd (Results 1 – 2 of 2) sorted by relevance
145 android::base::unique_fd epoll_fd(epoll_create1(EPOLL_CLOEXEC)); in ev_init() local146 if (epoll_fd == -1) { in ev_init()178 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1) { in ev_init()194 g_epoll_fd.reset(epoll_fd.release()); in ev_init()
191 android::base::unique_fd epoll_fd(epoll_create1(O_CLOEXEC)); in ListenAndExecuteMinadbdCommands() local192 if (epoll_fd == -1) { in ListenAndExecuteMinadbdCommands()203 if (epoll_ctl(epoll_fd.get(), EPOLL_CTL_ADD, socket_fd.get(), &ev) == -1) { in ListenAndExecuteMinadbdCommands()219 TEMP_FAILURE_RETRY(epoll_wait(epoll_fd.get(), events, EPOLL_MAX_EVENTS, TIMEOUT_MILLIS)); in ListenAndExecuteMinadbdCommands()