HomeSort by: relevance | last modified time | path
    Searched defs:maxfd (Results 1 - 10 of 10) sorted by relevancy

  /src/usr.sbin/mopd/common/
loop-linux2.c 99 int bufsize = 1100, maxfd =0; local in function:Loop
122 if (ii->fd > maxfd)
123 maxfd = ii->fd;
128 if (select(maxfd + 1, &listeners, (fd_set *) 0,
  /src/lib/libc/rpc/
svc_run.c 73 int *maxfd, fdsize; local in function:__weak_alias
86 maxfd = svc_fdset_getmax();
87 if (maxfd == NULL) {
89 warn("%s: can't get maxfd", __func__);
107 switch (select(*maxfd + 1, readfds, NULL, NULL, &timeout)) {
138 int *maxfd, fdsize, i; local in function:svc_run_poll
149 maxfd = svc_pollfd_getmax();
150 if (maxfd == NULL) {
152 warn("can't get maxfd");
166 memcpy(pfd, svc_pollfd_get(), *maxfd * sizeof(*pfd))
    [all...]
  /src/regress/sys/kern/select/
select.c 87 int maxfd = -1; local in function:f
107 if (fd > maxfd) {
108 maxfd = fd;
121 ret = select(maxfd + 1, &set, NULL, NULL, &to);
142 for (fd = 0; fd <= maxfd; fd++) {
  /src/usr.sbin/altq/altqd/
altqd.c 117 int i, c, maxfd, rval, qpsock, fd; local in function:main
217 maxfd = 0;
227 maxfd = MAX(maxfd, fd + 1);
231 maxfd = MAX(maxfd, qpsock + 1);
252 if (select(maxfd, &rfds, NULL, NULL, NULL) < 0) {
288 maxfd = MAX(maxfd, newsock + 1);
  /src/usr.sbin/faithd/
tcp.c 201 int atmark, error, maxfd; local in function:relay
215 maxfd = (s_rcv > s_snd) ? s_rcv : s_snd;
223 error = select(maxfd + 1, &readfds, &writefds, &exceptfds, &tv);
  /src/usr.sbin/rarpd/
rarpd.c 440 int bufsize, maxfd = 0; local in function:rarp_loop
463 if (ii->ii_fd > maxfd)
464 maxfd = ii->ii_fd;
468 if (select(maxfd + 1, &listeners, (struct fd_set *) 0,
  /src/usr.bin/mail/
lex.c 96 int maxfd; local in function:fds_count
100 maxfd = fcntl(0, F_MAXFD);
101 if (maxfd == -1) {
107 for (fd = 0; fd <= maxfd; fd++) {
  /src/usr.bin/make/
meta.c 1650 int outfd, metafd, maxfd, nfds; local in function:meta_compat_parent
1662 maxfd = -1;
1663 if (outfd > maxfd)
1664 maxfd = outfd;
1665 if (metafd > maxfd)
1666 maxfd = metafd;
1676 nfds = select(maxfd + 1, &readfds, NULL, NULL, NULL);
job.c 2718 int i, maxfd, nselect, npoll; local in function:emul_poll
2725 maxfd = -1;
2735 if (fd[i].fd > maxfd)
2736 maxfd = fd[i].fd;
2739 if (maxfd >= FD_SETSIZE) {
2753 nselect = select(maxfd + 1, &rfds, &wfds, NULL, tvp);
  /src/tests/dev/audio/
audiotest.c 177 int maxfd; variable in typeref:typename:int
416 if (r > maxfd)
417 maxfd = r;
479 /* maxfd-1 may not valid fd but no matter */
480 if (fd == maxfd)
481 maxfd--;
734 for (fd = 3; fd <= maxfd; fd++) {
738 maxfd = 3;

Completed in 23 milliseconds