Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/ntp/sntp/libevent/
Dkqueue.c72 struct kqop { struct
83 static void kqop_free(struct kqop *kqop); argument
119 struct kqop *kqueueop = NULL; in kq_init()
121 if (!(kqueueop = mm_calloc(1, sizeof(struct kqop)))) in kq_init()
201 struct kqop *kqop) in kq_build_changes_list() argument
209 if (n_changes >= kqop->changes_size - 1) { in kq_build_changes_list()
210 int newsize = kqop->changes_size * 2; in kq_build_changes_list()
213 newchanges = mm_realloc(kqop->changes, in kq_build_changes_list()
219 kqop->changes = newchanges; in kq_build_changes_list()
220 kqop->changes_size = newsize; in kq_build_changes_list()
[all …]
DChangeLog-1.4137 …o Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigm…
DChangeLog-2.01188 …o Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigm…
/freebsd-10-stable/contrib/pf/libevent/
Dkqueue.c64 struct kqop { struct
77 int kq_insert (struct kqop *, struct kevent *); argument
94 struct kqop *kqueueop; in kq_init()
100 if (!(kqueueop = calloc(1, sizeof(struct kqop)))) in kq_init()
158 kq_insert(struct kqop *kqop, struct kevent *kev) in kq_insert() argument
160 int nevents = kqop->nevents; in kq_insert()
162 if (kqop->nchanges == nevents) { in kq_insert()
168 newchange = realloc(kqop->changes, in kq_insert()
174 kqop->changes = newchange; in kq_insert()
176 newresult = realloc(kqop->events, in kq_insert()
[all …]