/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/um/os-Linux/ |
H A D | irq.c | 26 static struct pollfd *pollfds = NULL; variable in typeref:struct:pollfd 35 n = poll(pollfds, pollfds_num, 0); 50 if (pollfds[i].revents != 0) { 51 irq_fd->current_events = pollfds[i].revents; 52 pollfds[i].fd = -1; 62 if (size_tmpfds <= pollfds_size * sizeof(pollfds[0])) { 63 /* return min size needed for new pollfds area */ 64 return (pollfds_size + 1) * sizeof(pollfds[0]); 67 if (pollfds != NULL) { 68 memcpy(tmp_pfd, pollfds, [all...] |
H A D | sigio.c | 39 struct pollfds { struct 48 static struct pollfds current_poll; 49 static struct pollfds next_poll; 50 static struct pollfds all_sigio_fds; 54 struct pollfds *fds, tmp; 100 static int need_poll(struct pollfds *polls, int n) 109 printk("need_poll : failed to allocate new pollfds\n"); 285 current_poll = ((struct pollfds) { .poll = p, 311 current_poll = ((struct pollfds) { .poll = NULL,
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/avahi-0.6.25/avahi-common/ |
H A D | simple-watch.c | 70 struct pollfd* pollfds; member in struct:AvahiSimplePoll 181 w->simple_poll->pollfds[w->idx] = w->pollfd; 191 return w->simple_poll->pollfds[w->idx].revents; 345 s->pollfds = NULL; 376 avahi_free(s->pollfds); 398 if (!(n = avahi_realloc(s->pollfds, sizeof(struct pollfd) * s->max_pollfds))) 401 s->pollfds = n; 405 s->pollfds[0].fd = s->wakeup_pipe[0]; 406 s->pollfds[0].events = POLLIN; 407 s->pollfds[ [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/minidlna.03.14/ |
H A D | inotify.c | 630 struct pollfd pollfds[1]; local 638 pollfds[0].fd = inotify_init(); 639 pollfds[0].events = POLLIN; 641 if ( pollfds[0].fd < 0 ) 650 inotify_create_watches(pollfds[0].fd); 657 length = poll(pollfds, 1, timeout); 676 length = read(pollfds[0].fd, buffer, BUF_LEN); 696 inotify_insert_directory(pollfds[0].fd, esc_name, path_buf); 706 inotify_insert_directory(pollfds[0].fd, esc_name, path_buf); 727 inotify_remove_directory(pollfds[ [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/minidlna/ |
H A D | inotify.c | 638 struct pollfd pollfds[1]; local 646 pollfds[0].fd = inotify_init(); 647 pollfds[0].events = POLLIN; 649 if ( pollfds[0].fd < 0 ) { 659 inotify_create_watches(pollfds[0].fd); 665 length = poll(pollfds, 1, timeout); 684 length = read(pollfds[0].fd, buffer, BUF_LEN); 704 inotify_insert_directory(pollfds[0].fd, esc_name, path_buf); 719 inotify_remove_directory(pollfds[0].fd, path_buf); 732 inotify_remove_watches(pollfds[ [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/minidlna.07.26/ |
H A D | inotify.c | 637 struct pollfd pollfds[1]; local 645 pollfds[0].fd = inotify_init(); 646 pollfds[0].events = POLLIN; 648 if ( pollfds[0].fd < 0 ) { 658 inotify_create_watches(pollfds[0].fd); 664 length = poll(pollfds, 1, timeout); 683 length = read(pollfds[0].fd, buffer, BUF_LEN); 703 inotify_insert_directory(pollfds[0].fd, esc_name, path_buf); 718 inotify_remove_directory(pollfds[0].fd, path_buf); 731 inotify_remove_watches(pollfds[ [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/avahi-0.6.25/avahi-autoipd/ |
H A D | main.c | 1091 struct pollfd pollfds[FD_MAX]; local 1166 memset(pollfds, 0, sizeof(pollfds)); 1167 pollfds[FD_ARP].fd = fd; 1168 pollfds[FD_ARP].events = POLLIN; 1169 pollfds[FD_IFACE].fd = iface_fd; 1170 pollfds[FD_IFACE].events = POLLIN; 1171 pollfds[FD_SIGNAL].fd = daemon_signal_fd(); 1172 pollfds[FD_SIGNAL].events = POLLIN; 1347 while ((r = poll(pollfds, FD_MA [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/libatalk/util/ |
H A D | socket.c | 558 struct pollfd pollfds[1]; local 560 pollfds[0].fd = fd; 561 pollfds[0].events = POLLIN; 580 ret = poll(pollfds, 1, 2000); /* poll 2 seconds, evtl. multipe times (EINTR) */
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp/pppd/ |
H A D | sys-sunos4.c | 83 static struct pollfd pollfds[MAX_POLLFDS];
variable in typeref:struct:pollfd 583 if (poll(pollfds, n_pollfds, t) < 0 && errno != EINTR) {
601 if (pollfds[n].fd == fd)
604 pollfds[n_pollfds].fd = fd;
605 pollfds[n_pollfds].events = POLLIN | POLLPRI | POLLHUP;
620 if (pollfds[n].fd == fd) {
622 pollfds[n-1] = pollfds[n];
|
H A D | sys-solaris.c | 183 static struct pollfd pollfds[MAX_POLLFDS];
variable in typeref:struct:pollfd 1301 if (poll(pollfds, n_pollfds, t) < 0 && errno != EINTR)
1314 if (pollfds[n].fd == fd)
1317 pollfds[n_pollfds].fd = fd;
1318 pollfds[n_pollfds].events = POLLIN | POLLPRI | POLLHUP;
1333 if (pollfds[n].fd == fd) {
1335 pollfds[n-1] = pollfds[n];
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp-2.4.4/pppd/ |
H A D | sys-solaris.c | 228 static struct pollfd pollfds[MAX_POLLFDS]; variable in typeref:struct:pollfd 1371 if (poll(pollfds, n_pollfds, t) < 0 && errno != EINTR) 1384 if (pollfds[n].fd == fd) 1387 pollfds[n_pollfds].fd = fd; 1388 pollfds[n_pollfds].events = POLLIN | POLLPRI | POLLHUP; 1403 if (pollfds[n].fd == fd) { 1405 pollfds[n-1] = pollfds[n];
|