Lines Matching refs:ev
48 struct kevent ev[2]; in uv__kqueue_runtime_detection() local
54 EV_SET(ev, UV__KQUEUE_EVFILT_USER_IDENT, EVFILT_USER, in uv__kqueue_runtime_detection()
56 EV_SET(ev + 1, UV__KQUEUE_EVFILT_USER_IDENT, EVFILT_USER, in uv__kqueue_runtime_detection()
58 if (kevent(kq, ev, 2, ev, 1, &timeout) < 1 || in uv__kqueue_runtime_detection()
59 ev[0].filter != EVFILT_USER || in uv__kqueue_runtime_detection()
60 ev[0].ident != UV__KQUEUE_EVFILT_USER_IDENT || in uv__kqueue_runtime_detection()
61 ev[0].flags & EV_ERROR) in uv__kqueue_runtime_detection()
231 struct kevent ev; local
235 EV_SET(&ev, fd, EVFILT_USER, 0, NOTE_TRIGGER, 0, 0);
236 r = kevent(loop->backend_fd, &ev, 1, NULL, 0, NULL);
262 struct kevent ev; local
296 EV_SET(&ev, err, EVFILT_USER, EV_ADD | EV_CLEAR, 0, 0, 0);
297 err = kevent(loop->backend_fd, &ev, 1, NULL, 0, NULL);