Home
last modified time | relevance | path

Searched refs:pollfd (Results 1 – 6 of 6) sorted by relevance

/PHP-7.3/sapi/fpm/fpm/events/
H A Ddevpoll.c50 static struct pollfd *pollfds = NULL;
201 struct pollfd pollfd; in fpm_event_devpoll_add() local
204 pollfd.fd = ev->fd; in fpm_event_devpoll_add()
205 pollfd.events = POLLIN; in fpm_event_devpoll_add()
206 pollfd.revents = 0; in fpm_event_devpoll_add()
209 if (write(dpfd, &pollfd, sizeof(struct pollfd)) != sizeof(struct pollfd)) { in fpm_event_devpoll_add()
226 struct pollfd pollfd; in fpm_event_devpoll_remove() local
229 pollfd.fd = ev->fd; in fpm_event_devpoll_remove()
230 pollfd.events = POLLIN | POLLREMOVE; in fpm_event_devpoll_remove()
231 pollfd.revents = 0; in fpm_event_devpoll_remove()
[all …]
H A Dpoll.c46 static struct pollfd *pollfds = NULL;
47 static struct pollfd *active_pollfds = NULL;
79 pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_poll_init()
84 memset(pollfds, 0, sizeof(struct pollfd) * max); in fpm_event_poll_init()
92 active_pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_poll_init()
98 memset(active_pollfds, 0, sizeof(struct pollfd) * max); in fpm_event_poll_init()
138 memcpy(active_pollfds, pollfds, sizeof(struct pollfd) * npollfds); in fpm_event_poll_wait()
/PHP-7.3/main/
H A Dphp_network.h129 typedef struct pollfd php_pollfd;
H A Dfastcgi.c1434 struct pollfd fds;
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_io.c102 struct pollfd pfd;
/PHP-7.3/sapi/fpm/
H A Dconfig.m4480 struct pollfd fds[2];

Completed in 21 milliseconds