Lines Matching refs:num_pollfds
1978 unsigned int num_pollfds, i; in client_thread() local
1985 num_pollfds = 0; in client_thread()
1989 cbs[num_pollfds] = sock_file_wait_dispatch; in client_thread()
1990 pollfds[num_pollfds].fd = rc; in client_thread()
1991 pollfds[num_pollfds].events = POLLIN; in client_thread()
1992 pollfds[num_pollfds].revents = 0; in client_thread()
1993 num_pollfds++; in client_thread()
1998 cbs[num_pollfds] = server_fd_dispatch; in client_thread()
1999 server_fill_pollfd(client, &(pollfds[num_pollfds])); in client_thread()
2000 num_pollfds++; in client_thread()
2003 cbs[num_pollfds] = handle_command_message; in client_thread()
2004 pollfds[num_pollfds].fd = client->command_fds[0]; in client_thread()
2005 pollfds[num_pollfds].events = POLLIN; in client_thread()
2006 pollfds[num_pollfds].revents = 0; in client_thread()
2007 num_pollfds++; in client_thread()
2010 cbs[num_pollfds] = handle_stream_message; in client_thread()
2011 pollfds[num_pollfds].fd = client->stream_fds[0]; in client_thread()
2012 pollfds[num_pollfds].events = POLLIN; in client_thread()
2013 pollfds[num_pollfds].revents = 0; in client_thread()
2014 num_pollfds++; in client_thread()
2017 rc = poll(pollfds, num_pollfds, -1); in client_thread()
2021 for (i = 0; i < num_pollfds; i++) { in client_thread()