Lines Matching full:changes
65 struct kevent *changes; member
114 kqueueop->changes = malloc(NEVENT * sizeof(struct kevent)); in kq_init()
115 if (kqueueop->changes == NULL) { in kq_init()
121 free (kqueueop->changes); in kq_init()
128 kqueueop->changes[0].ident = -1; in kq_init()
129 kqueueop->changes[0].filter = EVFILT_READ; in kq_init()
130 kqueueop->changes[0].flags = EV_ADD; in kq_init()
137 kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || in kq_init()
141 free(kqueueop->changes); in kq_init()
168 newchange = realloc(kqop->changes, in kq_insert()
174 kqop->changes = newchange; in kq_insert()
192 memcpy(&kqop->changes[kqop->nchanges++], kev, sizeof(struct kevent)); in kq_insert()
212 struct kevent *changes = kqop->changes; in kq_dispatch() local
220 res = kevent(kqop->kq, changes, kqop->nchanges, in kq_dispatch()
405 if (kqop->changes) in kq_dealloc()
406 free(kqop->changes); in kq_dealloc()