Lines Matching refs:pollev
97 int pollev = 0; in so_notify_disconnecting() local
101 (void) i_so_notify_last_tx(so, &pollev, &sigev); in so_notify_disconnecting()
111 if (pollev != 0) in so_notify_disconnecting()
112 pollwakeup(&so->so_poll_list, pollev); in so_notify_disconnecting()
126 int pollev = 0; in so_notify_disconnected() local
131 (void) i_so_notify_last_tx(so, &pollev, &sigev); in so_notify_disconnected()
132 (void) i_so_notify_last_rx(so, &pollev, &sigev); in so_notify_disconnected()
153 pollev = (pollev | POLLHUP) & ~POLLOUT; in so_notify_disconnected()
155 if (pollev != 0) in so_notify_disconnected()
156 pollwakeup(&so->so_poll_list, pollev); in so_notify_disconnected()
292 int pollev = 0; in so_notify_eof() local
297 (void) i_so_notify_last_rx(so, &pollev, &sigev); in so_notify_eof()
306 if (pollev != 0) in so_notify_eof()
307 pollwakeup(&so->so_poll_list, pollev); in so_notify_eof()
347 int pollev = 0; in so_notify_shutdown() local
354 (void) i_so_notify_last_tx(so, &pollev, &sigev); in so_notify_shutdown()
356 (void) i_so_notify_last_rx(so, &pollev, &sigev); in so_notify_shutdown()
361 if (pollev != 0) in so_notify_shutdown()
362 pollwakeup(&so->so_poll_list, pollev); in so_notify_shutdown()
372 i_so_notify_last_rx(struct sonode *so, int *pollev, int *sigev) in i_so_notify_last_rx() argument
380 *pollev |= POLLIN|POLLRDNORM|POLLRDHUP; in i_so_notify_last_rx()
393 i_so_notify_last_tx(struct sonode *so, int *pollev, int *sigev) in i_so_notify_last_tx() argument
399 *pollev |= POLLOUT; in i_so_notify_last_tx()