Lines Matching refs:lws_lookup
36 return context->lws_lookup[fd - lws_plat_socket_offset()]; in wsi_from_fd()
40 p = context->lws_lookup; in wsi_from_fd()
64 p = context->lws_lookup; in sanity_assert_no_wsi_traces()
93 if (sfd == LWS_SOCK_INVALID || !context->lws_lookup) in sanity_assert_no_sockfd_traces()
97 context->lws_lookup[sfd - lws_plat_socket_offset()]) { in sanity_assert_no_sockfd_traces()
104 p = context->lws_lookup; in sanity_assert_no_sockfd_traces()
132 assert(context->lws_lookup[wsi->desc.sockfd - in insert_wsi()
135 context->lws_lookup[wsi->desc.sockfd - \ in insert_wsi()
143 p = context->lws_lookup; in insert_wsi()
151 p = context->lws_lookup; in insert_wsi()
177 if (context->lws_lookup) in delete_from_fd()
178 context->lws_lookup[fd - lws_plat_socket_offset()] = NULL; in delete_from_fd()
185 p = context->lws_lookup; in delete_from_fd()
199 p = context->lws_lookup; in delete_from_fd()
205 fd, (int)(p - context->lws_lookup)); in delete_from_fd()
223 p = context->lws_lookup; in delete_from_fdwsi()