Lines Matching refs:eventfd
99 struct lws_pollfd eventfd; in lws_io_cb() local
114 eventfd.fd = watcher->socket; in lws_io_cb()
116 eventfd.fd = watcher->io_watcher.fd; in lws_io_cb()
118 eventfd.events = 0; in lws_io_cb()
119 eventfd.revents = 0; in lws_io_cb()
131 eventfd.events |= LWS_POLLHUP; in lws_io_cb()
132 eventfd.revents |= LWS_POLLHUP; in lws_io_cb()
135 eventfd.events |= LWS_POLLIN; in lws_io_cb()
136 eventfd.revents |= LWS_POLLIN; in lws_io_cb()
139 eventfd.events |= LWS_POLLOUT; in lws_io_cb()
140 eventfd.revents |= LWS_POLLOUT; in lws_io_cb()
147 lws_service_fd_tsi(context, &eventfd, wsi->tsi); in lws_io_cb()