Lines Matching refs:eventfd
85 struct lws_pollfd eventfd; in lws_io_cb() local
91 eventfd.fd = watcher->socket; in lws_io_cb()
93 eventfd.fd = watcher->io_watcher.fd; in lws_io_cb()
95 eventfd.events = 0; in lws_io_cb()
96 eventfd.revents = 0; in lws_io_cb()
108 eventfd.events |= LWS_POLLHUP; in lws_io_cb()
109 eventfd.revents |= LWS_POLLHUP; in lws_io_cb()
112 eventfd.events |= LWS_POLLIN; in lws_io_cb()
113 eventfd.revents |= LWS_POLLIN; in lws_io_cb()
116 eventfd.events |= LWS_POLLOUT; in lws_io_cb()
117 eventfd.revents |= LWS_POLLOUT; in lws_io_cb()
120 lws_service_fd_tsi(context, &eventfd, wsi->tsi); in lws_io_cb()