Lines Matching refs:nfds
73 static APP_BMEM int nfds; variable
85 nfds = 0; in prepare_fds()
88 fds[nfds].fd = eventfd(0, 0); in prepare_fds()
89 fds[nfds].events = POLLIN; in prepare_fds()
90 nfds++; in prepare_fds()
93 fds[nfds].fd = conf.ipv4.udp.sock; in prepare_fds()
94 fds[nfds].events = POLLIN; in prepare_fds()
95 nfds++; in prepare_fds()
99 fds[nfds].fd = conf.ipv4.tcp.sock; in prepare_fds()
100 fds[nfds].events = POLLIN; in prepare_fds()
101 nfds++; in prepare_fds()
105 fds[nfds].fd = conf.ipv6.udp.sock; in prepare_fds()
106 fds[nfds].events = POLLIN; in prepare_fds()
107 nfds++; in prepare_fds()
111 fds[nfds].fd = conf.ipv6.tcp.sock; in prepare_fds()
112 fds[nfds].events = POLLIN; in prepare_fds()
113 nfds++; in prepare_fds()
124 ret = poll(fds, nfds, -1); in wait()