Searched refs:retevents (Results 1 – 2 of 2) sorted by relevance
1781 int retevents; in fifo_poll() local1787 retevents = 0; in fifo_poll()1826 retevents = POLLHUP; in fifo_poll()1833 retevents = POLLHUP; in fifo_poll()1837 retevents = POLLWRNORM; in fifo_poll()1846 retevents |= POLLWRBAND; in fifo_poll()1850 retevents |= (events & (POLLIN | POLLRDNORM)); in fifo_poll()1856 if ((*reventsp = (short)retevents) != 0 && !(events & POLLET)) { in fifo_poll()
8306 int retevents = 0; in strpoll() local8332 retevents |= POLLHUP; in strpoll()8366 retevents |= POLLOUT; in strpoll()8381 retevents |= POLLOUT; in strpoll()8390 retevents |= POLLWRBAND; in strpoll()8394 retevents |= POLLWRBAND; in strpoll()8402 retevents |= (events & POLLPRI); in strpoll()8435 retevents |= normevents; in strpoll()8437 retevents |= (events & (POLLIN | POLLRDBAND)); in strpoll()8440 if (!(retevents & normevents) && (stp->sd_wakeq & RSLEEP)) { in strpoll()[all …]