Home | History | Annotate | Download | only in libevent

Lines Matching full:kevent

49 /* Some platforms apparently define the udata field of struct kevent as
70 struct kevent *changes;
73 struct kevent *events;
132 kqueueop->changes = mm_calloc(NEVENT, sizeof(struct kevent));
135 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent));
146 * If kqueue works, then kevent will succeed, and it will
148 * kevent will fail.
150 if (kevent(kq,
177 kq_setup_kevent(struct kevent *out, evutil_socket_t fd, int filter, short change)
179 memset(out, 0, sizeof(struct kevent));
210 struct kevent *out_ch;
213 struct kevent *newchanges;
216 newsize * sizeof(struct kevent));
241 struct kevent *newresult;
244 new_size * sizeof(struct kevent));
259 struct kevent *events = kqop->events;
260 struct kevent *changes;
284 * value from kevent() rather than as EV_ERROR events in the events
287 * (We could instead handle -1 return values from kevent() by
303 res = kevent(kqop->kq, changes, n_changes,
313 event_warn("kevent");
320 event_debug(("%s: kevent reports %d", __func__, res));
424 struct kevent kev;
438 if (kevent(kqop->kq, &kev, 1, NULL, 0, &timeout) == -1)
453 struct kevent kev;
468 if (kevent(kqop->kq, &kev, 1, NULL, 0, &timeout) == -1)