Searched refs:kqop (Results 1 – 2 of 2) sorted by relevance
71 struct kqop { struct85 static int kq_insert (struct kqop *, struct kevent *); argument102 struct kqop *kqueueop; in kq_init()108 if (!(kqueueop = calloc(1, sizeof(struct kqop)))) in kq_init()167 kq_insert(struct kqop *kqop, struct kevent *kev) in kq_insert() argument169 int nevents = kqop->nevents; in kq_insert()171 if (kqop->nchanges == nevents) { in kq_insert()177 newchange = realloc(kqop->changes, in kq_insert()183 kqop->changes = newchange; in kq_insert()185 newresult = realloc(kqop->events, in kq_insert()[all …]
107 …o Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigm…