Searched refs:nfds (Results 1 - 14 of 14) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Dclosefrom.c61 int nfds; local
64 nfds = 0;
77 if (fds_sz <= nfds * sizeof (int)) {
81 fds[nfds++] = i;
95 if (fds_sz <= nfds * sizeof (int)) {
99 fds[nfds++] = i;
113 for (i = 0; i < nfds; i++)
H A Dselect.c58 pselect(int nfds, fd_set *in0, fd_set *out0, fd_set *ex0, argument
78 if (nfds < 0 || nfds > FD_SETSIZE) {
83 p = pfd = (struct pollfd *)alloca(nfds * sizeof (struct pollfd));
112 for (n = 0; n < nfds; n += NFDBITS) {
117 if (p->fd >= nfds)
153 for (n = 0; n < nfds; n += NFDBITS)
158 for (n = 0; n < nfds; n += NFDBITS)
163 for (n = 0; n < nfds; n += NFDBITS)
285 select(int nfds, fd_se argument
[all...]
H A Dselect_large_fdset.c73 pselect_large_fdset(int nfds, fd_set *in0, fd_set *out0, fd_set *ex0, argument
102 if (nfds >= 0 && nfds <= FD_SETSIZE) {
146 for (n = 0; n < nfds; n += NFDBITS) {
151 if (p->fd < nfds) {
198 for (n = 0; n < nfds; n += NFDBITS)
203 for (n = 0; n < nfds; n += NFDBITS)
208 for (n = 0; n < nfds; n += NFDBITS)
336 select_large_fdset(int nfds, fd_set *in0, fd_set *out0, fd_set *ex0, argument
364 return (pselect_large_fdset(nfds, in
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/
H A Dpoll.c46 poll(struct pollfd *fds, unsigned long nfds, int timeout) argument
63 for(i = 0 ; i < (int)nfds ; i++) {
96 for(i = 0 ; i < nfds ; i++) {
110 for(i = 0 ; i < (int)nfds ; i++) {
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dcm.h30 int max, nfds; member in struct:select_state
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_net.c339 nfds_t nfds; local
348 if (make_mc_target(hp, sin, header, &pfd, &nfds, &bcifs) != SLP_OK)
378 mc_recvmsg(pfd, nfds, hp, scopes, header, &collator, final_to,
390 free_pfds(pfd, nfds);
698 struct pollfd **fds, nfds_t *nfds,
754 *nfds = num_givenifs;
774 free_pfds(*fds, *nfds);
857 *nfds = 1;
861 for (nfd_i = 0; nfd_i < *nfds; nfd_i++) {
988 * nfds I
696 make_mc_target(slp_handle_impl_t *hp, struct sockaddr_in *sin, char *header, struct pollfd **fds, nfds_t *nfds, struct bc_ifs *bcifs) argument
1003 mc_recvmsg(struct pollfd *pfd, nfds_t nfds, slp_handle_impl_t *hp, const char *scopes, char *header, void **collator, unsigned long long final_to, unsigned long long sent, unsigned long long *now, int *noresults, int *anyresults, int timeout) argument
1101 free_pfds(struct pollfd *pfds, nfds_t nfds) argument
1152 wait_for_response( unsigned long long final_to, int *timeout, unsigned long long sent, unsigned long long *now, struct pollfd pfd[], nfds_t nfds) argument
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c51 static int LDAP_CALLBACK prldap_poll( LDAP_X_PollFD fds[], int nfds,
227 prldap_poll( LDAP_X_PollFD fds[], int nfds, int timeout, argument
240 if ( prsessp->prsess_pollds_count < nfds ) {
242 ( nfds + PRLDAP_POLL_ARRAY_GROWTH )
249 prsessp->prsess_pollds_count = nfds + PRLDAP_POLL_ARRAY_GROWTH;
255 for ( i = 0; i < nfds; ++i ) {
274 rc = PR_Poll( pds, nfds,
278 for ( i = 0; i < nfds; ++i ) {
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c839 selstate->nfds++;
919 selstate->nfds--;
1154 while (selstate->nfds > 0) {
1297 sel_state->nfds = 0;
1333 if (pass > 0 && sel_state->nfds == 0)
1354 if (sel_state->nfds == 0)
1359 if (sel_state->nfds == 0) {
/osnet-11/usr/src/lib/libldap5/include/ldap/
H A Dsolaris-int.h252 LDAP_X_PollFD fds[], int nfds, int timeout /* milliseconds */,
296 typedef int (LDAP_C LDAP_CALLBACK LDAP_IOF_SELECT_CALLBACK)( int nfds,
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dsasl.c315 LDAP_X_PollFD fds[], int nfds, int timeout,
330 if (fds && nfds > 0) {
331 for(i = 0; i < nfds; i++) {
341 return ( ld->ld_sasl_io_fns.lextiof_poll( fds, nfds, timeout,
314 nsldapi_sasl_poll( LDAP_X_PollFD fds[], int nfds, int timeout, struct lextiof_session_private *arg ) argument
H A Dos-ip.c143 extern int _poll(struct pollfd *fds, unsigned long nfds, int timeout);
144 extern int _select(int nfds, fd_set *readfds, fd_set *writefds,
1534 nsldapi_ext_compat_poll( LDAP_X_PollFD fds[], int nfds, int timeout, argument
1548 for ( i = 0; i < nfds; ++i ) {
1592 for ( i = 0; i < nfds; ++i ) {
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Deventlib.c736 pselect(int nfds, void *rfds, void *wfds, void *efds, argument
749 UNUSED(nfds);
763 n = select(nfds, rfds, wfds, efds, tvp);
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c1209 pselect(int nfds, void *rfds, void *wfds, void *efds, argument
1223 n = select(nfds, rfds, wfds, efds, tvp);
/osnet-11/usr/src/lib/libc/port/
H A Dllib-lc866 int pselect(int nfds,
872 int select(int nfds,

Completed in 57 milliseconds