Lines Matching defs:pollfds
846 struct pollfd pollfds[NumConnectionKind];
849 pollfds[FROM_GDB].fd = from_gdb;
850 pollfds[FROM_GDB].events = POLLIN;
851 pollfds[FROM_GDB].revents = 0;
852 pollfds[TO_GDB].fd = to_gdb;
853 pollfds[TO_GDB].events = 0;
854 pollfds[TO_GDB].revents = 0;
857 pollfds[FROM_PID].fd = from_pid;
858 pollfds[FROM_PID].events = POLLIN;
859 pollfds[FROM_PID].revents = 0;
860 pollfds[TO_PID].fd = to_pid;
861 pollfds[TO_PID].events = 0;
862 pollfds[TO_PID].revents = 0;
864 ret = poll(pollfds,
880 if (pollfds[ck].revents & POLLIN) {
898 if (pollfds[ck].revents & POLLERR) {
900 ppConnectionKind(ck), pollfds[ck].fd);
904 if (pollfds[ck].revents & POLLHUP) {
906 ppConnectionKind(ck), pollfds[ck].fd);
910 if (pollfds[ck].revents & POLLNVAL) {
912 ppConnectionKind(ck), pollfds[ck].fd);