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