Searched refs:epoll_fd (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Bluetooth/system/osi/src/ |
D | reactor.cc | 44 int epoll_fd; member 73 ret->epoll_fd = INVALID_FD; in reactor_new() 76 ret->epoll_fd = epoll_create1(EPOLL_CLOEXEC); in reactor_new() 77 if (ret->epoll_fd == INVALID_FD) { in reactor_new() 99 if (epoll_ctl(ret->epoll_fd, EPOLL_CTL_ADD, ret->event_fd, &event) == -1) { in reactor_new() 117 close(reactor->epoll_fd); in reactor_free() 160 if (epoll_ctl(reactor->epoll_fd, EPOLL_CTL_ADD, fd, &event) == -1) { in reactor_register() 182 if (epoll_ctl(object->reactor->epoll_fd, EPOLL_CTL_MOD, object->fd, &event) == in reactor_change_registration() 201 if (epoll_ctl(reactor->epoll_fd, EPOLL_CTL_DEL, obj->fd, NULL) == -1) in reactor_unregister() 247 OSI_NO_INTR(ret = epoll_wait(reactor->epoll_fd, events, MAX_EVENTS, -1)); in run_reactor()
|