Searched refs:position_in_fds_table (Results 1 – 12 of 12) sorted by relevance
42 assert(wsi->position_in_fds_table == LWS_NO_FDS_POS || in _lws_change_pollfd()43 wsi->position_in_fds_table >= 0); in _lws_change_pollfd()45 if (wsi->position_in_fds_table == LWS_NO_FDS_POS) in _lws_change_pollfd()72 assert(wsi->position_in_fds_table < (int)pt->fds_count); in _lws_change_pollfd()115 ftp->fd_index = wsi->position_in_fds_table; in _lws_change_pollfd()148 pfd = &pt->fds[wsi->position_in_fds_table]; in _lws_change_pollfd()260 wsi ? wsi->position_in_fds_table : -1); in __dump_fds()319 wsi->position_in_fds_table = (int)pt->fds_count; in __insert_wsi_socket_into_fds()321 pt->fds[wsi->position_in_fds_table].fd = wsi->desc.sockfd; in __insert_wsi_socket_into_fds()322 pt->fds[wsi->position_in_fds_table].events = LWS_POLLIN; in __insert_wsi_socket_into_fds()[all …]
613 if (wsi->position_in_fds_table >= 0) { in lws_service_flag_pending()615 pt->fds[wsi->position_in_fds_table].revents = (short)( in lws_service_flag_pending()616 pt->fds[wsi->position_in_fds_table].revents | in lws_service_flag_pending()617 (pt->fds[wsi->position_in_fds_table].events & in lws_service_flag_pending()619 if (pt->fds[wsi->position_in_fds_table].revents & in lws_service_flag_pending()
583 if (wsi->position_in_fds_table == LWS_NO_FDS_POS) in adopt_socket_readbuf()615 pfd = &pt->fds[wsi->position_in_fds_table]; in adopt_socket_readbuf()
747 int position_in_fds_table; member
326 wsi->position_in_fds_table = LWS_NO_FDS_POS; in __lws_wsi_create_with_role()
43 if (wsi->position_in_fds_table >= 0) { in lws_tls_fake_POLLIN_for_buffered()45 pt->fds[wsi->position_in_fds_table].revents = (short) in lws_tls_fake_POLLIN_for_buffered()46 (pt->fds[wsi->position_in_fds_table].revents | in lws_tls_fake_POLLIN_for_buffered()47 (pt->fds[wsi->position_in_fds_table].events & LWS_POLLIN)); in lws_tls_fake_POLLIN_for_buffered()48 ret |= pt->fds[wsi->position_in_fds_table].revents & LWS_POLLIN; in lws_tls_fake_POLLIN_for_buffered()
169 wsi->position_in_fds_table != LWS_NO_FDS_POS && in rops_handle_POLLIN_listen()170 lws_poll_listen_fd(&pt->fds[wsi->position_in_fds_table]) > 0); in rops_handle_POLLIN_listen()
1481 while (wsi && wsi->position_in_fds_table != LWS_NO_FDS_POS) { in rops_service_flag_pending_ws()1482 pt->fds[wsi->position_in_fds_table].revents = in rops_service_flag_pending_ws()1483 (short)((short)pt->fds[wsi->position_in_fds_table].revents | in rops_service_flag_pending_ws()1484 (short)(pt->fds[wsi->position_in_fds_table].events & LWS_POLLIN)); in rops_service_flag_pending_ws()1485 if (pt->fds[wsi->position_in_fds_table].revents & LWS_POLLIN) in rops_service_flag_pending_ws()
131 if (wsi->position_in_fds_table != LWS_NO_FDS_POS && in __lws_header_table_reset()141 pfd = &pt->fds[wsi->position_in_fds_table]; in __lws_header_table_reset()399 if (wsi->position_in_fds_table != LWS_NO_FDS_POS) { in __lws_header_table_detach()
286 wsi->position_in_fds_table = LWS_NO_FDS_POS; in lws_client_connect_via_info()
677 if (wsi->position_in_fds_table != LWS_NO_FDS_POS)
95 new_wsi->position_in_fds_table = LWS_NO_FDS_POS; in lws_create_basic_wsi()