Lines Matching refs:parent_wsi
216 __lws_wsi_server_new(struct lws_vhost *vh, struct lws *parent_wsi, in __lws_wsi_server_new() argument
219 struct lws *nwsi = lws_get_network_wsi(parent_wsi); in __lws_wsi_server_new()
245 if (parent_wsi->mux.child_count + 1 > in __lws_wsi_server_new()
246 parent_wsi->h2.h2n->our_set.s[H2SET_MAX_CONCURRENT_STREAMS]) { in __lws_wsi_server_new()
252 p = &parent_wsi->lc.gutag[1]; in __lws_wsi_server_new()
263 wsi = lws_create_new_server_wsi(vh, parent_wsi->tsi, tmp); in __lws_wsi_server_new()
270 if (lwsi_role_server(parent_wsi)) { in __lws_wsi_server_new()
277 lws_wsi_mux_insert(wsi, parent_wsi, sid); in __lws_wsi_server_new()
289 lwsi_set_role(wsi, lwsi_role(parent_wsi)); in __lws_wsi_server_new()
304 lws_wsi_tag(parent_wsi), lws_wsi_tag(wsi), sid, wsi->user_space); in __lws_wsi_server_new()
313 parent_wsi->mux.child_list = wsi->mux.sibling_list; in __lws_wsi_server_new()
314 parent_wsi->mux.child_count--; in __lws_wsi_server_new()
326 lws_wsi_h2_adopt(struct lws *parent_wsi, struct lws *wsi) in lws_wsi_h2_adopt() argument
328 struct lws *nwsi = lws_get_network_wsi(parent_wsi); in lws_wsi_h2_adopt()
331 if (parent_wsi->mux.child_count + 1 > in lws_wsi_h2_adopt()
332 parent_wsi->h2.h2n->our_set.s[H2SET_MAX_CONCURRENT_STREAMS]) { in lws_wsi_h2_adopt()
356 lws_wsi_mux_insert(wsi, parent_wsi, wsi->mux.my_sid); in lws_wsi_h2_adopt()
376 parent_wsi->mux.child_list = wsi->mux.sibling_list; in lws_wsi_h2_adopt()
377 parent_wsi->mux.child_count--; in lws_wsi_h2_adopt()