Lines Matching refs:events
280 struct epoll_event (*events)[256]);
284 struct epoll_event (*events)[256],
584 e.events = POLLIN; in uv__iou_init()
695 struct epoll_event* events; member
712 if (inv->events[i].data.fd == fd) in uv__platform_invalidate_fd()
713 inv->events[i].data.fd = -1; in uv__platform_invalidate_fd()
738 e.events = POLLIN; in uv__io_check_fd()
1247 struct epoll_event (*events)[256], in uv__epoll_ctl_prep()
1262 pe = &(*events)[slot]; in uv__epoll_ctl_prep()
1277 uv__epoll_ctl_flush(epollfd, ctl, events); in uv__epoll_ctl_prep()
1283 struct epoll_event (*events)[256]) { in uv__epoll_ctl_flush()
1293 STATIC_ASSERT(sizeof(oldevents) == sizeof(*events)); in uv__epoll_ctl_flush()
1310 memcpy(oldevents, *events, sizeof(*events)); in uv__epoll_ctl_flush()
1341 events, in uv__epoll_ctl_flush()
1351 struct epoll_event events[1024]; in uv__io_poll() local
1412 if (w->events == 0) in uv__io_poll()
1415 w->events = w->pevents; in uv__io_poll()
1416 e.events = w->pevents; in uv__io_poll()
1436 inv.events = events; in uv__io_poll()
1464 nfds = epoll_pwait(epollfd, events, ARRAY_SIZE(events), timeout, sigmask); in uv__io_poll()
1498 pe = events + i; in uv__io_poll()
1535 pe->events &= w->pevents | POLLERR | POLLHUP; in uv__io_poll()
1552 if (pe->events == POLLERR || pe->events == POLLHUP) in uv__io_poll()
1553 pe->events |= in uv__io_poll()
1556 if (pe->events != 0) { in uv__io_poll()
1564 w->cb(loop, w, pe->events); in uv__io_poll()
1592 if (nfds == ARRAY_SIZE(events) && --count != 0) { in uv__io_poll()
2547 unsigned int events) { in uv__inotify_read() argument
2575 events = 0; in uv__inotify_read()
2577 events |= UV_CHANGE; in uv__inotify_read()
2579 events |= UV_RENAME; in uv__inotify_read()
2611 h->cb(h, path, events, 0); in uv__inotify_read()
2634 int events; in uv_fs_event_start() local
2647 events = IN_ATTRIB in uv_fs_event_start()
2656 wd = inotify_add_watch(loop->inotify_fd, path, events); in uv_fs_event_start()