Searched refs:epfd (Results 1 – 1 of 1) sorted by relevance
/packages/modules/adb/libs/adbconnection/ |
D | adbconnection_server.cpp | 66 unique_fd epfd(epoll_create1(EPOLL_CLOEXEC)); in adbconnection_listen() local 71 if (epoll_ctl(epfd.get(), EPOLL_CTL_ADD, s.get(), &events[0]) != 0) { in adbconnection_listen() 76 int epoll_rc = TEMP_FAILURE_RETRY(epoll_wait(epfd.get(), events.data(), events.size(), -1)); in adbconnection_listen() 96 if (epoll_ctl(epfd.get(), EPOLL_CTL_ADD, client.get(), ®ister_event) != 0) { in adbconnection_listen() 120 if (epoll_ctl(epfd.get(), EPOLL_CTL_DEL, event.data.fd, nullptr) != 0) { in adbconnection_listen()
|