Lines Matching refs:nfds
78 int nfds, fdsize;
84 nfds = (int) args[0];
86 /* Kernel rejects negative nfds, so we don't parse it either. */
87 if (nfds < 0)
88 nfds = 0;
91 if (nfds > 1024*1024)
92 nfds = 1024*1024;
96 * Instead of args[0], use nfds for fd count, fdsize for array lengths.
98 fdsize = (((nfds + 7) / 8) + current_wordsize-1) & -current_wordsize;
116 j = next_set_bit(fds, j, nfds);
154 j = next_set_bit(fds, j, nfds);