Lines Matching refs:fds
456 struct pollfd fds = { in copyfd_io_poll() local
469 if (fds.events == 0) in copyfd_io_poll()
472 switch (poll(&fds, 1, poll_timeout)) { in copyfd_io_poll()
481 fds.events & POLLIN, fds.events & POLLOUT); in copyfd_io_poll()
485 if (fds.revents & POLLIN) { in copyfd_io_poll()
491 fds.events &= ~POLLIN; in copyfd_io_poll()
493 if ((fds.events & POLLOUT) == 0) { in copyfd_io_poll()
508 if (fds.revents & POLLOUT) { in copyfd_io_poll()
525 fds.events &= ~POLLOUT; in copyfd_io_poll()
527 if ((fds.events & POLLIN) == 0) in copyfd_io_poll()
547 if (fds.revents & (POLLERR | POLLNVAL)) { in copyfd_io_poll()
549 "POLLERR/POLLNVAL(%x)\n", fds.revents); in copyfd_io_poll()