Searched refs:ufds (Results 1 - 25 of 25) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/
H A Dselect.c350 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms) argument
367 if(ufds) {
369 if(ufds[i].fd != CURL_SOCKET_BAD) {
397 r = poll(ufds, nfds, pending_ms);
416 if(ufds[i].fd == CURL_SOCKET_BAD)
418 if(ufds[i].revents & POLLHUP)
419 ufds[i].revents |= POLLIN;
420 if(ufds[i].revents & POLLERR)
421 ufds[i].revents |= (POLLIN|POLLOUT);
432 ufds[
[all...]
H A Dselect.h82 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
H A Dmulti.c791 struct pollfd *ufds = NULL; local
832 ufds = malloc(nfds * sizeof(struct pollfd));
833 if(!ufds)
851 ufds[nfds].fd = sockbunch[i];
852 ufds[nfds].events = POLLIN;
857 ufds[nfds].fd = sockbunch[i];
858 ufds[nfds].events = POLLOUT;
873 ufds[nfds].fd = extra_fds[i].fd;
874 ufds[nfds].events = 0;
876 ufds[nfd
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/gtk1/
H A Dapp.cpp295 int wxPoll(wxPollFd *ufds, unsigned int nfds, int timeout) argument
316 wxASSERT_MSG( ufds[i].fd < FD_SETSIZE, _T("fd out of range") );
318 if ( ufds[i].events & G_IO_IN )
319 wxFD_SET(ufds[i].fd, &readfds);
321 if ( ufds[i].events & G_IO_PRI )
322 wxFD_SET(ufds[i].fd, &exceptfds);
324 if ( ufds[i].events & G_IO_OUT )
325 wxFD_SET(ufds[i].fd, &writefds);
327 if ( ufds[i].fd > fdMax )
328 fdMax = ufds[
354 wxapp_poll_func( GPollFD *ufds, guint nfds, gint timeout ) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/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-R7000-V1.0.7.12_1.2.5/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-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/xtensa/include/asm/
H A Dsyscall.h35 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/
H A Dtelnet.c560 struct pollfd ufds[2]; local
606 ufds[0].fd = 0; ufds[1].fd = G.netfd;
607 ufds[0].events = ufds[1].events = POLLIN;
621 switch (poll(ufds, 2, -1))
636 if (ufds[0].revents) /* well, should check POLLIN, but ... */
649 if (ufds[1].revents) /* well, should check POLLIN, but ... */
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/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-R7000-V1.0.7.12_1.2.5/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-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dselect.c830 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, argument
853 if (copy_from_user(walk->entries, ufds + nfds-todo,
878 for (j = 0; j < walk->len; j++, ufds++)
879 if (__put_user(fds[j].revents, &ufds->revents))
897 struct pollfd __user *ufds = restart_block->poll.ufds; local
908 ret = do_sys_poll(ufds, nfds, to);
917 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds,
929 ret = do_sys_poll(ufds, nfds, to);
936 restart_block->poll.ufds
[all...]
H A Dcompat.c1914 asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds, argument
1944 ret = do_sys_poll(ufds, nfds, to);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dthread_info.h44 struct pollfd __user *ufds; member in struct:restart_block::__anon18209::__anon18213
H A Dpoll.h132 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
H A Dsyscalls.h619 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/test/
H A Dpcm.c281 static int wait_for_poll(snd_pcm_t *handle, struct pollfd *ufds, unsigned int count) argument
286 poll(ufds, count, -1);
287 snd_pcm_poll_descriptors_revents(handle, ufds, count, &revents);
299 struct pollfd *ufds; local
310 ufds = malloc(sizeof(struct pollfd) * count);
311 if (ufds == NULL) {
315 if ((err = snd_pcm_poll_descriptors(handle, ufds, count)) < 0) {
323 err = wait_for_poll(handle, ufds, count);
361 err = wait_for_poll(handle, ufds, count);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/gtk/
H A Dapp.cpp259 static gint wxapp_poll_func( GPollFD *ufds, guint nfds, gint timeout ) argument
266 gint res = (*wxgs_poll_func)(ufds, nfds, timeout);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/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-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/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-R7000-V1.0.7.12_1.2.5/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-R7000-V1.0.7.12_1.2.5/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);

Completed in 325 milliseconds