Home
last modified time | relevance | path

Searched refs:npollfds (Results 1 – 2 of 2) sorted by relevance

/PHP-8.3/sapi/fpm/fpm/events/
H A Dpoll.c46 static int npollfds = 0; variable
98 npollfds = max; in fpm_event_poll_init()
119 npollfds = 0; in fpm_event_poll_clean()
131 if (npollfds > 0) { in fpm_event_poll_wait()
133 memcpy(active_pollfds, pollfds, sizeof(struct pollfd) * npollfds); in fpm_event_poll_wait()
137 ret = poll(active_pollfds, npollfds, timeout); in fpm_event_poll_wait()
191 if (next_free_slot >= npollfds) { in fpm_event_poll_add()
198 for (i = 0; i < npollfds; i++) { in fpm_event_poll_add()
210 if (next_free_slot >= npollfds) { in fpm_event_poll_add()
229 if (ev->index >= 0 && ev->index < npollfds && pollfds[ev->index].fd == ev->fd) { in fpm_event_poll_remove()
[all …]
H A Ddevpoll.c50 static int npollfds = 0; variable
106 npollfds = max; in fpm_event_devpoll_init()
135 npollfds = 0; in fpm_event_devpoll_clean()
150 dopoll.dp_nfds = npollfds; in fpm_event_devpoll_wait()

Completed in 8 milliseconds