HomeSort by: relevance | last modified time | path
    Searched defs:nfds (Results 1 - 25 of 44) sorted by relevancy

1 2

  /src/sys/compat/linux/common/
linux_oldselect.h 42 int nfds; member in struct:linux_oldselect
linux_oldselect.h 42 int nfds; member in struct:linux_oldselect
  /src/sys/arch/zaurus/stand/zboot/
unixcons.c 129 int nfds, n; local in function:common_getc
137 nfds = 1;
140 n = uselect(nfds, &fdset, NULL, NULL, &tv);
146 for (fd = 0; fd < nfds; fd++) {
unixcons.c 129 int nfds, n; local in function:common_getc
137 nfds = 1;
140 n = uselect(nfds, &fdset, NULL, NULL, &tv);
146 for (fd = 0; fd < nfds; fd++) {
  /src/usr.sbin/rbootd/
rbootd.c 86 int i, nfds = getdtablesize(); local in function:main
88 for (i = 0; i < nfds; i++)
rbootd.c 86 int i, nfds = getdtablesize(); local in function:main
88 for (i = 0; i < nfds; i++)
  /src/games/hunt/hunt/
playit.c 206 int nfds; local in function:getchr
216 nfds = poll(set, 2, INFTIM);
217 } while (nfds <= 0 && errno == EINTR);
playit.c 206 int nfds; local in function:getchr
216 nfds = poll(set, 2, INFTIM);
217 } while (nfds <= 0 && errno == EINTR);
  /src/tests/net/if_vlan/
bpfopen.c 211 int nfds; local in function:bpf_read
242 nfds = poll(pfd, PFD_NUM, 1 * 1000);
243 if (nfds == -1 && errno != EINTR) {
248 if (nfds > 0 && (pfd[PFD_BPF].revents & POLLIN)) {
bpfopen.c 211 int nfds; local in function:bpf_read
242 nfds = poll(pfd, PFD_NUM, 1 * 1000);
243 if (nfds == -1 && errno != EINTR) {
248 if (nfds > 0 && (pfd[PFD_BPF].revents & POLLIN)) {
  /src/usr.sbin/ypserv/yppush/
yppush.c 430 int rv, nfds; local in function:_svc_run
432 nfds = sysconf(_SC_OPEN_MAX);
439 rv = select(nfds, &readfds, NULL, NULL, &tv);
yppush.c 430 int rv, nfds; local in function:_svc_run
432 nfds = sysconf(_SC_OPEN_MAX);
439 rv = select(nfds, &readfds, NULL, NULL, &tv);
  /src/tests/kernel/
t_signal_and_sp.c 74 int nfds; local in function:test_execsp
116 RL(nfds = poll(&pollfd, 1, 5*1000/*ms*/));
117 if (nfds == 0) {
t_signal_and_sp.c 74 int nfds; local in function:test_execsp
116 RL(nfds = poll(&pollfd, 1, 5*1000/*ms*/));
117 if (nfds == 0) {
  /src/usr.bin/rsh/
rsh.c 338 int nr, nw, nfds; local in function:talk
396 nfds = 2;
401 nfds = 3;
411 if (poll(fdp, nfds, INFTIM) == -1) {
421 nfds--;
425 nfds--;
432 nfds--;
436 while (nfds);
rsh.c 338 int nr, nw, nfds; local in function:talk
396 nfds = 2;
401 nfds = 3;
411 if (poll(fdp, nfds, INFTIM) == -1) {
421 nfds--;
425 nfds--;
432 nfds--;
436 while (nfds);
  /src/sys/kern/
sys_epoll.c 557 epoll_recover_watch_tree(struct epoll_edge *edges, size_t nedges, size_t nfds) {
562 for (i = 0; i < nfds && (edges == NULL || nedges_so_far < nedges); i++)
645 size_t nedges, nfds, seen_size; local in function:epoll_check_loop_and_depth
657 nfds = l->l_proc->p_fd->fd_lastfile + 1;
664 nedges = 1 + epoll_recover_watch_tree(NULL, 0, nfds);
668 epoll_recover_watch_tree(edges + 1, nedges - 1, nfds);
673 seen_size = __BITMAP_SIZE(char, nfds);
676 error = epoll_dfs(edges, nedges, seen, nfds, epfd, 0);
sys_epoll.c 557 epoll_recover_watch_tree(struct epoll_edge *edges, size_t nedges, size_t nfds) {
562 for (i = 0; i < nfds && (edges == NULL || nedges_so_far < nedges); i++)
645 size_t nedges, nfds, seen_size; local in function:epoll_check_loop_and_depth
657 nfds = l->l_proc->p_fd->fd_lastfile + 1;
664 nedges = 1 + epoll_recover_watch_tree(NULL, 0, nfds);
668 epoll_recover_watch_tree(edges + 1, nedges - 1, nfds);
673 seen_size = __BITMAP_SIZE(char, nfds);
676 error = epoll_dfs(edges, nedges, seen, nfds, epfd, 0);
  /src/sys/compat/linux32/common/
linux32_types.h 97 int nfds; member in struct:linux32_oldselect
linux32_types.h 97 int nfds; member in struct:linux32_oldselect
  /src/usr.sbin/mrouted/
main.c 105 int nfds, n, i; local in function:main
258 nfds = igmp_socket + 1;
263 if (ihandlers[i].fd >= nfds)
264 nfds = ihandlers[i].fd + 1;
308 snmp_select_info(&nfds, &rfds, tvp, &block);
311 if ((n = select(nfds, &rfds, NULL, NULL, tvp)) < 0)
313 if ((n = select(nfds, &rfds, NULL, NULL, NULL)) < 0)
main.c 105 int nfds, n, i; local in function:main
258 nfds = igmp_socket + 1;
263 if (ihandlers[i].fd >= nfds)
264 nfds = ihandlers[i].fd + 1;
308 snmp_select_info(&nfds, &rfds, tvp, &block);
311 if ((n = select(nfds, &rfds, NULL, NULL, tvp)) < 0)
313 if ((n = select(nfds, &rfds, NULL, NULL, NULL)) < 0)
  /src/usr.sbin/lpr/lpd/
lpd.c 148 int lfd, errs, i, f, nfds; local in function:main
284 socks = socksetup(PF_UNSPEC, options, port, &nfds);
315 rv = poll(socks, nfds, INFTIM);
322 for (i = 0; i < nfds; i++)
342 for (i = 0; i < nfds; i++)
706 socksetup(int af, int options, const char *port, int *nfds)
714 *nfds = 0;
739 socks[*nfds].fd = s;
740 socks[*nfds].events = POLLIN;
741 (*nfds)++
    [all...]
lpd.c 148 int lfd, errs, i, f, nfds; local in function:main
284 socks = socksetup(PF_UNSPEC, options, port, &nfds);
315 rv = poll(socks, nfds, INFTIM);
322 for (i = 0; i < nfds; i++)
342 for (i = 0; i < nfds; i++)
706 socksetup(int af, int options, const char *port, int *nfds)
714 *nfds = 0;
739 socks[*nfds].fd = s;
740 socks[*nfds].events = POLLIN;
741 (*nfds)++
    [all...]
  /src/tests/lib/libc/sys/
t_poll.c 559 int nfds; local in function:check_pollclosed_delayed_write
573 RL(nfds = poll(&pfd, 1, INFTIM));
575 fprintf(stderr, "poll %d done nfds=%d\n", writefd, nfds);
586 RL(nfds = poll(&pfd, 1, 0));
587 ATF_CHECK_EQ_MSG(nfds, 1, "nfds=%d", nfds);
629 int nfds; local in function:check_pollclosed_delayed_read
644 RL(nfds = poll(&pfd, 1, INFTIM))
786 int nfds; local in function:check_pollclosed_immediate_write
822 int nfds; local in function:check_pollclosed_immediate_readnone
858 int nfds; local in function:check_pollclosed_immediate_readsome
    [all...]

Completed in 57 milliseconds

1 2