/netbsd-6-1-5-RELEASE/sys/compat/linux/common/ |
H A D | linux_oldselect.h | 42 int nfds; member in struct:linux_oldselect
|
H A D | linux_oldselect.c | 70 return linux_select1(l, retval, ls.nfds, ls.readfds, ls.writefds,
|
/netbsd-6-1-5-RELEASE/lib/libc/compat/sys/ |
H A D | compat_select.c | 64 pollts(struct pollfd * __restrict fds, nfds_t nfds, 74 return __pollts50(fds, nfds, timp, sigmask); 78 select(int nfds, fd_set * __restrict readfds, fd_set * __restrict writefds, argument 87 return __select50(nfds, readfds, writefds, exceptfds, timp); 91 pselect(int nfds, fd_set * __restrict readfds, fd_set * __restrict writefds, argument 101 return __pselect50(nfds, readfds, writefds, exceptfds, timp, sigmask);
|
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/ |
H A D | sunos57-select.c | 53 rpl_select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, argument 59 if (nfds < 1 || nfds > FD_SETSIZE) 80 for (fd = 0; fd < nfds; fd++) 182 * respectively. For each file descriptor less than nfds, the 203 for (fd = 0; fd < nfds; fd++) 222 ret = select (nfds, readfds, writefds, exceptfds, timeout);
|
/netbsd-6-1-5-RELEASE/external/bsd/libevent/dist/ |
H A D | poll.c | 59 int nfds; /* Size of event_* */ member in struct:pollop 127 for (i = 0; i < pop->nfds; ++i) { 139 int res, i, j, msec = -1, nfds; local 147 nfds = pop->nfds; 148 res = poll(pop->event_set, nfds, msec); 164 if (res == 0 || nfds == 0) 167 i = random() % nfds; 168 for (j = 0; j < nfds; j++) { 171 if (++i == nfds) [all...] |
/netbsd-6-1-5-RELEASE/lib/libc/gen/ |
H A D | ftw.c | 39 int nfds) 47 /* XXX - nfds is currently unused */ 48 if (nfds < 1 || nfds > OPEN_MAX) { 38 ftw(const char *path, int (*fn)(const char *, const struct stat *, int), int nfds) argument
|
H A D | nftw.c | 40 struct FTW *), int nfds, int ftwflags) 49 /* XXX - nfds is currently unused */ 50 if (nfds < 1 || nfds > OPEN_MAX) { 39 nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int nfds, int ftwflags) argument
|
/netbsd-6-1-5-RELEASE/external/bsd/dhcpcd/dist/ |
H A D | eloop.c | 285 nfds_t nfds, i; local 321 nfds = 0; 323 nfds++; 324 if (msecs == -1 && nfds == 0) { 328 if (nfds > fds_len) { 331 fds_len = nfds + 5; 334 nfds = 0; 336 fds[nfds].fd = e->fd; 337 fds[nfds].events = POLLIN; 338 fds[nfds] [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/zaurus/stand/zboot/ |
H A D | unixcons.c | 129 int nfds, n; local 137 nfds = 1; 140 n = uselect(nfds, &fdset, NULL, NULL, &tv); 146 for (fd = 0; fd < nfds; fd++) {
|
/netbsd-6-1-5-RELEASE/external/apache2/mDNSResponder/dist/mDNSPosix/ |
H A D | mDNSPosix.h | 131 // After calling mDNSPosixGetFDSet(), call select(nfds, &readfds, NULL, NULL, &timeout); as usual 133 extern void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout);
|
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/ |
H A D | evt.h | 141 #define evt_get_fdmask(nfds, fdset) nfds
|
H A D | session.c | 124 static int nfds = 0; variable 138 if (fd > nfds) 139 nfds = fd; 183 nfds = 0; 303 error = select(nfds + 1, &active_mask, NULL, NULL, timeout);
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/virtual-time/ |
H A D | vtwrapper.c | 216 select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds, argument 226 return syscall(SYS_select, nfds, rfds, wfds, xfds, timeout); 229 return syscall(SYS_select, nfds, rfds, wfds, xfds, &tv); 231 return syscall(SYS_select, nfds, rfds, wfds, xfds, timeout); 238 poll(struct pollfd fds[], nfds_t nfds, int timeout) { argument 245 return syscall(SYS_poll, fds, nfds, timeout); 251 return syscall(SYS_poll, fds, nfds, timeout); 253 return syscall(SYS_poll, fds, nfds, timeout);
|
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/lpd/ |
H A D | lpd.c | 149 int lfd, errs, i, f, nfds; local 285 socks = socksetup(PF_UNSPEC, options, port, &nfds); 316 rv = poll(socks, nfds, INFTIM); 323 for (i = 0; i < nfds; i++) 343 for (i = 0; i < nfds; i++) 707 socksetup(int af, int options, const char *port, int *nfds) argument 715 *nfds = 0; 740 socks[*nfds].fd = s; 741 socks[*nfds].events = POLLIN; 742 (*nfds) [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-run/ |
H A D | io.cpp | 244 safe_poll(struct pollfd fds[], nfds_t nfds, int timeout) argument 246 int ret = ::poll(fds, nfds, timeout); 277 impl::muxer::muxer(const int* fds, const size_t nfds, const size_t bufsize) : argument 279 m_nfds(nfds), 281 m_buffers(new std::string[nfds])
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-run/ |
H A D | io.cpp | 244 safe_poll(struct pollfd fds[], nfds_t nfds, int timeout) argument 246 int ret = ::poll(fds, nfds, timeout); 277 impl::muxer::muxer(const int* fds, const size_t nfds, const size_t bufsize) : argument 279 m_nfds(nfds), 281 m_buffers(new std::string[nfds])
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/arm/ |
H A D | communicate.c | 35 extern int nfds; 61 i = select (nfds, &readfds, (fd_set *) 0, (fd_set *) 0, &timeout); 124 i = select (nfds, &readfds,
|
H A D | main.c | 73 int nfds; variable 158 nfds = getdtablesize ();
|
/netbsd-6-1-5-RELEASE/usr.bin/rsh/ |
H A D | rsh.c | 341 int nr, nw, nfds; local 408 nfds = 2; 410 if (poll(fdp, nfds, INFTIM) == -1) { 416 nfds--; 421 nfds--; 425 while (nfds);
|
/netbsd-6-1-5-RELEASE/lib/librumphijack/ |
H A D | hijack.c | 1483 REALSELECT(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, argument 1497 * nb5 poll() silently refuses nfds > process_maxopen_fds. 1502 for (i = 0, realnfds = 0; i < nfds; i++) { 1525 for (i = 0, j = 0; i < nfds; i++) { 1567 for (i = 0; i < nfds; i++) { 1605 checkpoll(struct pollfd *fds, nfds_t nfds, int *hostcall, int *rumpcall) argument 1609 for (i = 0; i < nfds; i++) { 1621 adjustpoll(struct pollfd *fds, nfds_t nfds, int (*fdadj)(int)) argument 1625 for (i = 0; i < nfds; i++) { 1636 nfds_t nfds; member in struct:pollarg 1661 REALPOLLTS(struct pollfd *fds, nfds_t nfds, const struct timespec *ts, const sigset_t *sigmask) argument 1826 poll(struct pollfd *fds, nfds_t nfds, int timeout) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | uipc_usrreq.c | 1243 const size_t nfds = (cm->cmsg_len - CMSG_ALIGN(sizeof(*cm))) / local 1246 int * const fdp = kmem_alloc(nfds * sizeof(int), KM_SLEEP); 1251 for (size_t i = 0; i < nfds; i++) { 1278 for (size_t i = 0; i < nfds; i++) { 1307 for (size_t i = 0; i < nfds; i++) { 1334 cm->cmsg_len = CMSG_LEN(nfds * sizeof(int)); 1335 rights->m_len = CMSG_SPACE(nfds * sizeof(int)); 1340 for (size_t i = 0; i < nfds; i++) 1358 kmem_free(fdp, nfds * sizeof(int)); 1371 int nfds, erro local [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/mrouted/ |
H A D | main.c | 105 int nfds, n, i; local 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)
|
/netbsd-6-1-5-RELEASE/lib/libpthread/ |
H A D | pthread_cancelstub.c | 405 poll(struct pollfd *fds, nfds_t nfds, int timeout) argument 412 retval = _sys_poll(fds, nfds, timeout); 419 __pollts50(struct pollfd *fds, nfds_t nfds, const struct timespec *ts, argument 427 retval = _sys___pollts50(fds, nfds, ts, sigmask); 448 __pselect50(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, argument 456 retval = _sys___pselect50(nfds, readfds, writefds, exceptfds, timeout, 506 __select50(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, argument 514 retval = _sys___select50(nfds, readfds, writefds, exceptfds, timeout);
|
/netbsd-6-1-5-RELEASE/usr.sbin/rbootd/ |
H A D | rbootd.c | 88 int i, nfds = getdtablesize(); local 90 for (i = 0; i < nfds; i++)
|
/netbsd-6-1-5-RELEASE/sys/compat/linux32/common/ |
H A D | linux32_types.h | 91 int nfds; member in struct:linux32_oldselect
|