Lines Matching refs:events
97 event.events = EPOLLIN; in reactor_new()
155 if (read_ready) event.events |= (EPOLLIN | EPOLLRDHUP); in reactor_register()
156 if (write_ready) event.events |= EPOLLOUT; in reactor_register()
177 if (read_ready) event.events |= (EPOLLIN | EPOLLRDHUP); in reactor_change_registration()
178 if (write_ready) event.events |= EPOLLOUT; in reactor_change_registration()
238 struct epoll_event events[MAX_EVENTS]; in run_reactor() local
246 OSI_NO_INTR(ret = epoll_wait(reactor->epoll_fd, events, MAX_EVENTS, -1)); in run_reactor()
257 if (events[j].data.ptr == NULL) { in run_reactor()
264 reactor_object_t* object = (reactor_object_t*)events[j].data.ptr; in run_reactor()
277 if (events[j].events & (EPOLLIN | EPOLLHUP | EPOLLRDHUP | EPOLLERR) && in run_reactor()
280 if (!reactor->object_removed && events[j].events & EPOLLOUT && in run_reactor()