Home | History | Annotate | Download | only in libevent

Lines Matching full:events

74 	struct kevent *events;
129 kqueueop->events = malloc(NEVENT * sizeof(struct kevent));
130 if (kqueueop->events == NULL) {
137 /* we need to keep track of multiple events per signal */
148 * stick an error in events[0]. If kqueue is broken, then
152 kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 ||
153 kqueueop->events[0].ident != -1 ||
154 kqueueop->events[0].flags != EV_ERROR) {
157 free(kqueueop->events);
185 newresult = realloc(kqop->events,
196 kqop->events = newresult;
222 struct kevent *events = kqop->events;
233 events, kqop->nevents, ts_p);
249 if (events[i].flags & EV_ERROR) {
262 if (events[i].data == EBADF ||
263 events[i].data == EINVAL ||
264 events[i].data == ENOENT)
266 errno = events[i].data;
270 if (events[i].filter == EVFILT_READ) {
272 } else if (events[i].filter == EVFILT_WRITE) {
274 } else if (events[i].filter == EVFILT_SIGNAL) {
281 if (events[i].filter == EVFILT_SIGNAL) {
283 (struct event_list *)events[i].udata;
285 event_active(ev, which, events[i].data);
288 ev = (struct event *)events[i].udata;
395 /* Because we insert signal events
444 if (kqop->events)
445 free(kqop->events);