Lines Matching defs:ev_count
22 unsigned int ev_count;
30 state->ev_count = waiter->pfd_count;
31 state->events = calloc(state->ev_count, sizeof(*state->events));
54 unsigned int ev_count;
58 memset(state->events, 0, state->ev_count * sizeof(*state->events));
59 err = epoll_wait(state->epfd, state->events, state->ev_count,
63 ev_count = (unsigned int)err;
65 if (ev_count > 0) {
67 for (i = 0; i < (int)ev_count; ++i) {
78 return ev_count;
96 state->ev_count = 0;