Lines Matching refs:events
588 struct epoll_event* events; in uv__platform_invalidate_fd() local
596 events = (struct epoll_event*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
598 if (events != NULL) in uv__platform_invalidate_fd()
601 if ((int) events[i].fd == fd) in uv__platform_invalidate_fd()
602 events[i].fd = -1; in uv__platform_invalidate_fd()
615 p[0].events = POLLIN; in uv__io_check_fd()
750 int events; in os390_message_queue_handler() local
764 events = 0; in os390_message_queue_handler()
766 events = UV_CHANGE; in os390_message_queue_handler()
768 events = UV_RENAME; in os390_message_queue_handler()
776 events = UV_RENAME; in os390_message_queue_handler()
806 handle->cb(handle, uv__basename_r(handle->path), events, 0); in os390_message_queue_handler()
814 struct epoll_event events[1024]; in uv__io_poll() local
853 e.events = w->pevents; in uv__io_poll()
856 if (w->events == 0) in uv__io_poll()
875 w->events = w->pevents; in uv__io_poll()
910 nfds = epoll_wait(loop->ep, events, in uv__io_poll()
911 ARRAY_SIZE(events), timeout); in uv__io_poll()
961 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
964 pe = events + i; in uv__io_poll()
998 pe->events &= w->pevents | POLLERR | POLLHUP; in uv__io_poll()
1000 if (pe->events == POLLERR || pe->events == POLLHUP) in uv__io_poll()
1001 pe->events |= w->pevents & (POLLIN | POLLOUT); in uv__io_poll()
1003 if (pe->events != 0) { in uv__io_poll()
1011 w->cb(loop, w, pe->events); in uv__io_poll()
1036 if (nfds == ARRAY_SIZE(events) && --count != 0) { in uv__io_poll()