Lines Matching refs:revents
1749 fds[i].revents = 0; in poll_nocancel()
1800 fds[i].revents = POLLNVAL; in poll_nocancel()
1803 fds[i].revents = 0; in poll_nocancel()
1863 short prev_revents = fds->revents; in poll_callback()
1868 fds->revents |= POLLHUP; in poll_callback()
1871 fds->revents |= POLLERR; in poll_callback()
1876 if (fds->revents & POLLHUP) { in poll_callback()
1884 fds->revents |= (fds->events & mask); in poll_callback()
1888 if (!(fds->revents & POLLHUP)) { in poll_callback()
1889 fds->revents |= (fds->events & (POLLOUT | POLLWRNORM | POLLWRBAND)); in poll_callback()
1895 fds->revents |= (fds->events & POLLEXTEND); in poll_callback()
1898 fds->revents |= (fds->events & POLLATTRIB); in poll_callback()
1901 fds->revents |= (fds->events & POLLNLINK); in poll_callback()
1904 fds->revents |= (fds->events & POLLWRITE); in poll_callback()
1909 if (fds->revents != 0 && prev_revents == 0) { in poll_callback()