Lines Matching defs:pollfds
1795 struct pollfd pollfds[NumConnectionKind];
1798 pollfds[FROM_GDB].fd = from_gdb;
1799 pollfds[FROM_GDB].events = POLLIN;
1800 pollfds[FROM_GDB].revents = 0;
1801 pollfds[TO_GDB].fd = to_gdb;
1802 pollfds[TO_GDB].events = 0;
1803 pollfds[TO_GDB].revents = 0;
1806 pollfds[FROM_PID].fd = from_pid;
1807 pollfds[FROM_PID].events = POLLIN;
1808 pollfds[FROM_PID].revents = 0;
1809 pollfds[TO_PID].fd = to_pid;
1810 pollfds[TO_PID].events = 0;
1811 pollfds[TO_PID].revents = 0;
1813 ret = poll(pollfds,
1829 if (pollfds[ck].revents & POLLIN) {
1847 if (pollfds[ck].revents & POLLERR) {
1849 ppConnectionKind(ck), pollfds[ck].fd);
1853 if (pollfds[ck].revents & POLLHUP) {
1855 ppConnectionKind(ck), pollfds[ck].fd);
1859 if (pollfds[ck].revents & POLLNVAL) {
1861 ppConnectionKind(ck), pollfds[ck].fd);