Home
last modified time | relevance | path

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

/external/chromium/third_party/libevent/
Dkqueue.c102 struct kqop *kqueueop; in kq_init() local
108 if (!(kqueueop = calloc(1, sizeof(struct kqop)))) in kq_init()
115 free (kqueueop); in kq_init()
119 kqueueop->kq = kq; in kq_init()
121 kqueueop->pid = getpid(); in kq_init()
124 kqueueop->changes = malloc(NEVENT * sizeof(struct kevent)); in kq_init()
125 if (kqueueop->changes == NULL) { in kq_init()
126 free (kqueueop); in kq_init()
129 kqueueop->events = malloc(NEVENT * sizeof(struct kevent)); in kq_init()
130 if (kqueueop->events == NULL) { in kq_init()
[all …]