Searched refs:epoll_fd (Results 1 - 5 of 5) sorted by relevance
/system/bt/osi/src/ |
H A D | reactor.cc | 43 int epoll_fd; member in struct:reactor_t 72 ret->epoll_fd = INVALID_FD; 75 ret->epoll_fd = epoll_create(MAX_EVENTS); 76 if (ret->epoll_fd == INVALID_FD) { 101 if (epoll_ctl(ret->epoll_fd, EPOLL_CTL_ADD, ret->event_fd, &event) == -1) { 119 close(reactor->epoll_fd); 161 if (epoll_ctl(reactor->epoll_fd, EPOLL_CTL_ADD, fd, &event) == -1) { 183 if (epoll_ctl(object->reactor->epoll_fd, EPOLL_CTL_MOD, object->fd, &event) == 202 if (epoll_ctl(reactor->epoll_fd, EPOLL_CTL_DEL, obj->fd, NULL) == -1) 248 OSI_NO_INTR(ret = epoll_wait(reactor->epoll_fd, event [all...] |
/system/extras/tests/suspend_stress/ |
H A D | suspend_stress.cpp | 103 int epoll_fd = epoll_create(1); local 104 if (epoll_fd < 0) { 111 int ret = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev); 138 ret = epoll_wait(epoll_fd, &out_ev, 1, -1);
|
/system/core/libappfuse/ |
H A D | FuseAppLoop.cc | 206 base::unique_fd epoll_fd(epoll_create1(EPOLL_CLOEXEC)); 207 if (epoll_fd.get() == -1) { 215 std::unique_ptr<EpollController> epoll_controller(new EpollController(std::move(epoll_fd)));
|
H A D | FuseBridgeLoop.cc | 314 base::unique_fd epoll_fd(epoll_create1(/* no flag */ 0)); 315 if (epoll_fd.get() == -1) { 320 epoll_controller_.reset(new BridgeEpollController(std::move(epoll_fd)));
|
/system/core/init/ |
H A D | init.cpp | 93 static int epoll_fd = -1; member in namespace:android::init 111 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1) { 1112 epoll_fd = epoll_create1(EPOLL_CLOEXEC); 1113 if (epoll_fd == -1) { 1211 int nr = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd, &ev, 1, epoll_timeout_ms));
|
Completed in 2450 milliseconds