Home
last modified time | relevance | path

Searched refs:kqueueop (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/lib/libevent/
H A Dkqueue.c85 struct kqop *kqueueop; in kq_init() local
91 if (!(kqueueop = calloc(1, sizeof(struct kqop)))) in kq_init()
98 free (kqueueop); in kq_init()
102 kqueueop->kq = kq; in kq_init()
104 kqueueop->pid = getpid(); in kq_init()
107 kqueueop->changes = calloc(NEVENT, sizeof(struct kevent)); in kq_init()
108 if (kqueueop->changes == NULL) { in kq_init()
109 free (kqueueop); in kq_init()
112 kqueueop->events = calloc(NEVENT, sizeof(struct kevent)); in kq_init()
113 if (kqueueop->events == NULL) { in kq_init()
[all …]