Lines Matching refs:pollfds
63 struct pollfd *pollfds; member
168 n = os_realloc_array(eloop.pollfds, nmax, in eloop_sock_table_add_sock()
174 eloop.pollfds = n; in eloop_sock_table_add_sock()
240 struct pollfd *pollfds, in eloop_sock_table_set_fds() argument
256 pollfds[nxt].fd = fd; in eloop_sock_table_set_fds()
257 pollfds[nxt].events = POLLIN; in eloop_sock_table_set_fds()
258 pollfds[nxt].revents = 0; in eloop_sock_table_set_fds()
259 pollfds_map[fd] = &(pollfds[nxt]); in eloop_sock_table_set_fds()
274 pfd = &(pollfds[nxt]); in eloop_sock_table_set_fds()
277 pollfds[i].revents = 0; in eloop_sock_table_set_fds()
300 pfd = &(pollfds[nxt]); in eloop_sock_table_set_fds()
303 pollfds[i].revents = 0; in eloop_sock_table_set_fds()
750 eloop.pollfds, eloop.pollfds_map, in eloop_run()
752 res = poll(eloop.pollfds, num_poll_fds, in eloop_run()
848 os_free(eloop.pollfds); in eloop_destroy()