Searched defs:nfds (Results 26 - 30 of 30) sorted by relevance

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c81 static int empty(struct fd_set *mask, int sec, int nfds);
718 empty(struct fd_set *mask, int sec, int nfds) argument
725 return (select(nfds, mask, NULL, NULL, &t));
965 int nfds = fileno(ctrl_in); local
979 FD_SET(nfds, &mask);
980 nfds = MAX(dfn, nfds);
987 (void) select(nfds + 1, &mask, NULL, NULL, NULL);
1062 int nfds; local
1397 nfds
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dpoll.c321 poll_common(pollfd_t *fds, nfds_t nfds, timespec_t *tsp, k_sigset_t *ksetp) argument
376 if (nfds == 0) {
393 if (nfds > p->p_fno_ctl) {
416 * buffers when nfds changes. There is no hysteresis control,
421 if (nfds != old_nfds) {
424 pollfdp = kmem_alloc(nfds * sizeof (pollfd_t), KM_SLEEP);
426 ps->ps_nfds = nfds;
430 if (copyin(fds, pollfdp, nfds * sizeof (pollfd_t))) {
459 pcache_create(pcp, nfds);
491 error = pcacheset_resolve(ps, nfds,
656 pollsys(pollfd_t *fds, nfds_t nfds, timespec_t *timeoutp, sigset_t *setp) argument
1075 pcache_insert_fd(pollcache_t *pcp, polldat_t *pdp, nfds_t nfds) argument
1109 pcache_grow_hashtbl(pollcache_t *pcp, nfds_t nfds) argument
1507 pollchecksanity(pollstate_t *ps, nfds_t nfds) argument
1545 pcacheset_resolve(pollstate_t *ps, nfds_t nfds, int *fdcntp, int which) argument
1840 pollscanrevents(pollcache_t *pcp, pollfd_t *pollfdp, nfds_t nfds) argument
1866 pcache_poll(pollfd_t *pollfdp, pollstate_t *ps, nfds_t nfds, int *fdcntp, int which) argument
2907 pcache_create(pollcache_t *pcp, nfds_t nfds) argument
3005 nfds_t nfds = psp->ps_nfds; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSPosix.c1652 mDNSlocal void mDNSPosixAddToFDSet(int *nfds, fd_set *readfds, int s) argument
1654 if (*nfds < s + 1) *nfds = s + 1;
1658 mDNSexport void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout) argument
1668 if (m->p->unicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket4);
1670 if (m->p->unicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket6);
1674 if (info->multicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket4);
1676 if (info->multicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket6);
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c578 int nfds, funix; local
589 nfds = poll(&Pfd, 1, 0);
590 if (nfds <= 0) {
615 int nfds; local
638 nfds = poll(&Pfd, 1, INFTIM);
640 if (nfds == 0)
643 if (nfds < 0) {
791 int nfds, i; local
812 nfds = poll(Nfd, Ninputs, -1);
813 if (nfds
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c2074 show_all_pollfds(private_t *pri, long offset, int nfds) argument
2079 for (; nfds && !interrupt; nfds--, offset += sizeof (struct pollfd)) {
2111 int nfds; local
2118 nfds = pri->sys_args[1];
2121 if (offset != NULL && nfds > 32) {
2126 if (offset != NULL && nfds > 0)
2127 show_all_pollfds(pri, offset, nfds);

Completed in 93 milliseconds

12