Home
last modified time | relevance | path

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

/external/libevent/
Dkqueue.c119 struct kqop *kqueueop = NULL; in kq_init() local
121 if (!(kqueueop = mm_calloc(1, sizeof(struct kqop)))) in kq_init()
131 kqueueop->kq = kq; in kq_init()
133 kqueueop->pid = getpid(); in kq_init()
136 kqueueop->changes = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()
137 if (kqueueop->changes == NULL) in kq_init()
139 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()
140 if (kqueueop->events == NULL) in kq_init()
142 kqueueop->events_size = kqueueop->changes_size = NEVENT; in kq_init()
145 memset(&kqueueop->changes[0], 0, sizeof kqueueop->changes[0]); in kq_init()
[all …]