Lines Matching refs:pollsum
824 nfds_t pollsum; in the_big_loop() local
874 pollsum = 3; in the_big_loop()
876 pfd[pollsum].fd = hs->socket; in the_big_loop()
877 pfd[pollsum].events = POLLIN; in the_big_loop()
878 pfd[pollsum].revents = 0; in the_big_loop()
879 pollsum++; in the_big_loop()
885 if (pollsum >= MAX_POLL_FDS) in the_big_loop()
887 pfd[pollsum].fd = csockets[i].socket; in the_big_loop()
888 pfd[pollsum].events = POLLIN; in the_big_loop()
889 pfd[pollsum].revents = 0; in the_big_loop()
890 pollsum++; in the_big_loop()
900 if (pollsum >= MAX_POLL_FDS) in the_big_loop()
902 pfd[pollsum].fd = p->socket; in the_big_loop()
903 pfd[pollsum].events = POLLRDNORM; in the_big_loop()
904 pfd[pollsum].revents = 0; in the_big_loop()
905 pollsum++; in the_big_loop()
908 if (pollsum >= MAX_POLL_FDS) in the_big_loop()
910 pfd[pollsum].fd = p->socket; in the_big_loop()
911 pfd[pollsum].events = POLLWRNORM; in the_big_loop()
912 pfd[pollsum].revents = 0; in the_big_loop()
913 pollsum++; in the_big_loop()
918 if (pollsum >= MAX_POLL_FDS) { in the_big_loop()
922 if (poll(pfd, pollsum, INFTIM) < 0) { in the_big_loop()
928 for (i = 0; i < pollsum; i++) { in the_big_loop()