Lines Matching refs:pollfds
96 struct pollfd *pollfds; member
374 n = os_realloc_array(eloop.pollfds, nmax, in eloop_sock_table_add_sock()
380 eloop.pollfds = n; in eloop_sock_table_add_sock()
520 struct pollfd *pollfds, in eloop_sock_table_set_fds() argument
536 pollfds[nxt].fd = fd; in eloop_sock_table_set_fds()
537 pollfds[nxt].events = POLLIN; in eloop_sock_table_set_fds()
538 pollfds[nxt].revents = 0; in eloop_sock_table_set_fds()
539 pollfds_map[fd] = &(pollfds[nxt]); in eloop_sock_table_set_fds()
554 pfd = &(pollfds[nxt]); in eloop_sock_table_set_fds()
557 pollfds[i].revents = 0; in eloop_sock_table_set_fds()
580 pfd = &(pollfds[nxt]); in eloop_sock_table_set_fds()
583 pollfds[i].revents = 0; in eloop_sock_table_set_fds()
1234 eloop.pollfds, eloop.pollfds_map, in eloop_run()
1236 res = poll(eloop.pollfds, num_poll_fds, in eloop_run()
1389 os_free(eloop.pollfds); in eloop_destroy()