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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/libtest/
H A Dfirst.c33 int select_wrapper(int nfds, fd_set *rd, fd_set *wr, fd_set *exc, argument
36 if(nfds < 0) {
46 if(!nfds) {
51 return select(nfds, rd, wr, exc, tv);
H A Dtest.h68 extern int select_wrapper(int nfds, fd_set *rd, fd_set *wr, fd_set *exc,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-common/
H A Dsimple-watch.h65 typedef int (*AvahiPollFunc)(struct pollfd *ufds, unsigned int nfds, int timeout, void *userdata);
H A Dthread-watch.c50 static int poll_func(struct pollfd *ufds, unsigned int nfds, int timeout, void *userdata) { argument
58 r = poll(ufds, nfds, timeout);
H A Dsimple-watch.c618 static int system_poll(struct pollfd *ufds, unsigned int nfds, int timeout, AVAHI_GCC_UNUSED void *userdata) { argument
619 return poll(ufds, nfds, timeout);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dselect.c324 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms) argument
342 for(i = 0; i < nfds; i++) {
371 r = poll(ufds, nfds, pending_ms);
389 for(i = 0; i < nfds; i++) {
405 for(i = 0; i < nfds; i++) {
453 for(i = 0; i < nfds; i++) {
H A Dselect.h90 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
H A Dasyn-ares.c259 int nfds; local
287 nfds = Curl_poll(pfd, num, timeout_ms);
289 nfds = 0;
291 if(!nfds)
305 return nfds;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-sharp/
H A DClient.cs47 internal delegate int PollCallback (IntPtr ufds, uint nfds, int timeout); argument
187 private static extern int poll(IntPtr ufds, uint nfds, int timeout); argument
367 private int OnPollCallback (IntPtr ufds, uint nfds, int timeout) { argument
369 int result = poll (ufds, nfds, timeout);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dpoll.h116 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
H A Dsyscalls.h425 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dselect.c14 * of fds to overcome nfds < 16390 descriptors limit (Tigran Aivazian).
581 static int do_poll(unsigned int nfds, struct poll_list *list, argument
652 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, s64 *timeout) argument
665 /* Do a sanity check on nfds ... */
666 if (nfds > current->signal->rlim[RLIMIT_NOFILE].rlim_cur)
673 i = nfds;
700 if (copy_from_user(pp->entries, ufds + nfds-i,
708 fdcount = do_poll(nfds, head, &table, timeout);
738 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds, argument
756 return do_sys_poll(ufds, nfds,
760 sys_ppoll(struct pollfd __user *ufds, unsigned int nfds, struct timespec __user *tsp, const sigset_t __user *sigmask, size_t sigsetsize) argument
[all...]
H A Dcompat.c1779 unsigned int nfds, struct compat_timespec __user *tsp,
1810 ret = do_sys_poll(ufds, nfds, &timeout);
1778 compat_sys_ppoll(struct pollfd __user *ufds, unsigned int nfds, struct compat_timespec __user *tsp, const compat_sigset_t __user *sigmask, compat_size_t sigsetsize) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/atalkd/
H A Dmain.c124 static int nfds = 0; variable
1159 if ( select( nfds, &readfds, NULL, NULL, NULL) < 0 ) {
1377 /* recalculate nfds and fds */
1379 for ( nfds = 0, iface = interfaces; iface; iface = iface->i_next ) {
1382 if ( ap->ap_fd > nfds ) {
1383 nfds = ap->ap_fd;
1387 nfds++;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/atalkd/
H A Dmain.c124 static int nfds = 0; variable
1159 if ( select( nfds, &readfds, NULL, NULL, NULL) < 0 ) {
1377 /* recalculate nfds and fds */
1379 for ( nfds = 0, iface = interfaces; iface; iface = iface->i_next ) {
1382 if ( ap->ap_fd > nfds ) {
1383 nfds = ap->ap_fd;
1387 nfds++;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dtty.c975 int n, nfds; local
1076 nfds = (ofd > pty_master? ofd: pty_master) + 1;
1107 if (select(nfds, &ready, &writey, NULL, top) < 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-compat-howl/
H A Dcompat.c157 static int poll_func(struct pollfd *ufds, unsigned int nfds, int timeout, void *userdata) { argument
164 ret = poll(ufds, nfds, timeout);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-compat-libdns_sd/
H A Dcompat.c288 static int poll_func(struct pollfd *ufds, unsigned int nfds, int timeout, void *userdata) { argument
297 ret = poll(ufds, nfds, timeout);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/
H A Dconfigure25195 $sel_arg1 nfds=0;
25199 $sel_retv res = select(nfds, rfds, wfds, efds, 0);
[all...]

Completed in 416 milliseconds