Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/sntp/libevent/
H A Dkqueue.c77 struct kqop { struct
88 static void kqop_free(struct kqop *kqop); argument
124 struct kqop *kqueueop = NULL; in kq_init()
126 if (!(kqueueop = mm_calloc(1, sizeof(struct kqop)))) in kq_init()
206 struct kqop *kqop) in kq_build_changes_list() argument
214 if (n_changes >= kqop->changes_size - 1) { in kq_build_changes_list()
218 if (kqop->changes_size > INT_MAX / 2 || in kq_build_changes_list()
219 (size_t)kqop in kq_build_changes_list()
250 kq_grow_events(struct kqop * kqop,size_t new_size) kq_grow_events() argument
269 struct kqop *kqop = base->evbase; kq_dispatch() local
432 kqop_free(struct kqop * kqop) kqop_free() argument
447 struct kqop *kqop = base->evbase; kq_dealloc() local
456 struct kqop *kqop = base->evbase; kq_sig_add() local
489 struct kqop *kqop = base->evbase; kq_sig_del() local
524 struct kqop *kqop = base->evbase; event_kq_add_notify_event_() local
555 struct kqop *kqop = base->evbase; event_kq_notify_base_() local
[all...]
H A DChangeLog-1.4137 …o Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigm…
H A DChangeLog-2.01188 …o Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigm…
/freebsd/contrib/libevent/
H A Dkqueue.c77 struct kqop { struct
88 static void kqop_free(struct kqop *kqop); argument
124 struct kqop *kqueueop = NULL; in kq_init()
126 if (!(kqueueop = mm_calloc(1, sizeof(struct kqop)))) in kq_init()
206 struct kqop *kqop) in kq_build_changes_list() argument
214 if (n_changes >= kqop->changes_size - 1) { in kq_build_changes_list()
218 if (kqop->changes_size > INT_MAX / 2 || in kq_build_changes_list()
219 (size_t)kqop->changes_size * 2 > EV_SIZE_MAX / in kq_build_changes_list()
225 newsize = kqop->changes_size * 2; in kq_build_changes_list()
226 newchanges = mm_realloc(kqop->changes, in kq_build_changes_list()
[all …]
H A DChangeLog-1.4137 …o Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigm…
H A DChangeLog-2.01188 …o Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigm…
/freebsd/contrib/pf/libevent/
H A 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 …]