Lines Matching refs:revents
38 short revents = srvst->fds[idx].revents; in server_io_cb() local
44 if (revents & POLLIN) { in server_io_cb()
51 if (revents & POLLOUT) { in server_io_cb()
58 if (!(revents & ~(POLLIN | POLLOUT))) in server_io_cb()
83 srvst->fds[n].revents = 0; in server_add_state()
101 srvst->fds[srvst->nfds].revents = 0; in server_add_state()
109 short revents = srvst->fds[idx].revents; in tcp_server_accept_cb() local
116 if (!(revents & POLLIN)) in tcp_server_accept_cb()
140 short revents = srvst->fds[idx].revents; in udp_server_cb() local
142 if (!(revents & POLLIN)) in udp_server_cb()
188 if (srvst.fds[n].revents) { in sock_server()