Home
last modified time | relevance | path

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

/external/libevent/
Dkqueue.c206 int n_changes = 0; in kq_build_changes_list() local
208 for (i = 0; i < changelist->n_changes; ++i) { in kq_build_changes_list()
211 if (n_changes >= kqop->changes_size - 1) { in kq_build_changes_list()
225 out_ch = &kqop->changes[n_changes++]; in kq_build_changes_list()
230 out_ch = &kqop->changes[n_changes++]; in kq_build_changes_list()
235 return n_changes; in kq_build_changes_list()
262 int i, n_changes, res; in kq_dispatch() local
271 n_changes = kq_build_changes_list(&base->changelist, kqop); in kq_dispatch()
272 if (n_changes < 0) in kq_dispatch()
291 if (kqop->events_size < n_changes) { in kq_dispatch()
[all …]
Devmap.c503 changelist->n_changes = 0; in event_changelist_init()
532 EVUTIL_ASSERT(changelist->changes_size >= changelist->n_changes); in event_changelist_check()
533 for (i = 0; i < changelist->n_changes; ++i) { in event_changelist_check()
567 for (i = 0; i < changelist->n_changes; ++i) { in event_changelist_remove_all()
575 changelist->n_changes = 0; in event_changelist_remove_all()
625 EVUTIL_ASSERT(changelist->n_changes <= changelist->changes_size); in event_changelist_get_or_construct()
627 if (changelist->n_changes == changelist->changes_size) { in event_changelist_get_or_construct()
632 idx = changelist->n_changes++; in event_changelist_get_or_construct()
Devent-internal.h158 int n_changes; member
Depoll.c342 for (i = 0; i < changelist->n_changes; ++i) { in epoll_apply_changes()