Searched refs:epoll_fd (Results 1 – 4 of 4) sorted by relevance
/system/bt/osi/src/ |
D | reactor.cc | 43 int epoll_fd; member 72 ret->epoll_fd = INVALID_FD; in reactor_new() 75 ret->epoll_fd = epoll_create1(EPOLL_CLOEXEC); in reactor_new() 76 if (ret->epoll_fd == INVALID_FD) { in reactor_new() 101 if (epoll_ctl(ret->epoll_fd, EPOLL_CTL_ADD, ret->event_fd, &event) == -1) { in reactor_new() 119 close(reactor->epoll_fd); in reactor_free() 161 if (epoll_ctl(reactor->epoll_fd, EPOLL_CTL_ADD, fd, &event) == -1) { in reactor_register() 183 if (epoll_ctl(object->reactor->epoll_fd, EPOLL_CTL_MOD, object->fd, &event) == in reactor_change_registration() 202 if (epoll_ctl(reactor->epoll_fd, EPOLL_CTL_DEL, obj->fd, NULL) == -1) in reactor_unregister() 248 OSI_NO_INTR(ret = epoll_wait(reactor->epoll_fd, events, MAX_EVENTS, -1)); in run_reactor()
|
/system/extras/tests/suspend_stress/ |
D | suspend_stress.cpp | 103 int epoll_fd = epoll_create(1); in main() local 104 if (epoll_fd < 0) { in main() 111 int ret = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev); in main() 138 ret = epoll_wait(epoll_fd, &out_ev, 1, -1); in main()
|
/system/core/libappfuse/ |
D | FuseAppLoop.cc | 206 base::unique_fd epoll_fd(epoll_create1(EPOLL_CLOEXEC)); in Start() local 207 if (epoll_fd.get() == -1) { in Start() 215 std::unique_ptr<EpollController> epoll_controller(new EpollController(std::move(epoll_fd))); in Start()
|
D | FuseBridgeLoop.cc | 315 base::unique_fd epoll_fd(epoll_create1(EPOLL_CLOEXEC)); in FuseBridgeLoop() local 316 if (epoll_fd.get() == -1) { in FuseBridgeLoop() 321 epoll_controller_.reset(new BridgeEpollController(std::move(epoll_fd))); in FuseBridgeLoop()
|