Searched refs:npollfds (Results 1 – 2 of 2) sorted by relevance
48 static int npollfds = 0; variable101 npollfds = max; in fpm_event_poll_init()123 npollfds = 0; in fpm_event_poll_clean()136 if (npollfds > 0) { in fpm_event_poll_wait()138 memcpy(active_pollfds, pollfds, sizeof(struct pollfd) * npollfds); in fpm_event_poll_wait()142 ret = poll(active_pollfds, npollfds, timeout); in fpm_event_poll_wait()196 if (next_free_slot >= npollfds) { in fpm_event_poll_add()203 for (i = 0; i < npollfds; i++) { in fpm_event_poll_add()215 if (next_free_slot >= npollfds) { in fpm_event_poll_add()234 if (ev->index >= 0 && ev->index < npollfds && pollfds[ev->index].fd == ev->fd) { in fpm_event_poll_remove()[all …]
52 static int npollfds = 0; variable109 npollfds = max; in fpm_event_devpoll_init()138 npollfds = 0; in fpm_event_devpoll_clean()154 dopoll.dp_nfds = npollfds; in fpm_event_devpoll_wait()
Completed in 6 milliseconds