• Home
  • Raw
  • Download

Lines Matching refs:mux

144 	while (wsi->mux.parent_wsi)  in lws_get_network_wsi()
145 wsi = wsi->mux.parent_wsi; in lws_get_network_wsi()
1369 lws_wsi_tag(parent_wsi), sid, wsi->mux.my_sid); in lws_wsi_mux_insert()
1371 if (wsi->mux.my_sid && wsi->mux.my_sid != (unsigned int)sid) in lws_wsi_mux_insert()
1374 wsi->mux.my_sid = sid; in lws_wsi_mux_insert()
1375 wsi->mux.parent_wsi = parent_wsi; in lws_wsi_mux_insert()
1379 wsi->mux.sibling_list = parent_wsi->mux.child_list; in lws_wsi_mux_insert()
1382 parent_wsi->mux.child_list = wsi; in lws_wsi_mux_insert()
1384 parent_wsi->mux.child_count++; in lws_wsi_mux_insert()
1390 lws_start_foreach_ll(struct lws *, wsi, parent_wsi->mux.child_list) { in lws_wsi_mux_from_id()
1391 if (wsi->mux.my_sid == sid) in lws_wsi_mux_from_id()
1393 } lws_end_foreach_ll(wsi, mux.sibling_list); in lws_wsi_mux_from_id()
1402 if (!wsi->mux.parent_wsi || !lwsl_visible(LLL_INFO)) in lws_wsi_mux_dump_children()
1406 wsi->mux.parent_wsi->mux.child_list) { in lws_wsi_mux_dump_children()
1410 assert(*w != (*w)->mux.sibling_list); in lws_wsi_mux_dump_children()
1411 } lws_end_foreach_llp(w, mux.sibling_list); in lws_wsi_mux_dump_children()
1421 if (!wsi->mux.child_list) in lws_wsi_mux_close_children()
1424 w = &wsi->mux.child_list; in lws_wsi_mux_close_children()
1428 wsi2 = (*w)->mux.sibling_list; in lws_wsi_mux_close_children()
1430 (*w)->mux.sibling_list = NULL; in lws_wsi_mux_close_children()
1444 wsi->mux.parent_wsi->mux.child_list) { in lws_wsi_mux_sibling_disconnect()
1448 wsi2 = (*w)->mux.sibling_list; in lws_wsi_mux_sibling_disconnect()
1449 (*w)->mux.sibling_list = NULL; in lws_wsi_mux_sibling_disconnect()
1455 } lws_end_foreach_llp(w, mux.sibling_list); in lws_wsi_mux_sibling_disconnect()
1456 wsi->mux.parent_wsi->mux.child_count--; in lws_wsi_mux_sibling_disconnect()
1458 wsi->mux.parent_wsi = NULL; in lws_wsi_mux_sibling_disconnect()
1468 wsi = wsi->mux.child_list; in lws_wsi_mux_dump_waiting_children()
1471 wsi->mux.requested_POLLOUT ? '*' : ' ', in lws_wsi_mux_dump_waiting_children()
1472 wsi->mux.my_sid, lwsi_state(wsi), in lws_wsi_mux_dump_waiting_children()
1476 wsi = wsi->mux.sibling_list; in lws_wsi_mux_dump_waiting_children()
1491 wsi2->mux.requested_POLLOUT = 1; in lws_wsi_mux_mark_parents_needing_writeable()
1493 wsi2->mux.my_sid); in lws_wsi_mux_mark_parents_needing_writeable()
1494 wsi2 = wsi2->mux.parent_wsi; in lws_wsi_mux_mark_parents_needing_writeable()
1506 if (!w->mux.sibling_list) { /* w is the current last */ in lws_wsi_mux_move_child_to_tail()
1513 w->mux.sibling_list = *wsi2; in lws_wsi_mux_move_child_to_tail()
1517 *wsi2 = (*wsi2)->mux.sibling_list; in lws_wsi_mux_move_child_to_tail()
1520 w->mux.sibling_list->mux.sibling_list = NULL; in lws_wsi_mux_move_child_to_tail()
1523 w = w->mux.sibling_list; in lws_wsi_mux_move_child_to_tail()
1526 w = w->mux.sibling_list; in lws_wsi_mux_move_child_to_tail()
1532 w->mux.requested_POLLOUT = 0; in lws_wsi_mux_move_child_to_tail()
1540 struct lws *w = wsi->mux.child_list; in lws_wsi_mux_action_pending_writeable_reqs()
1543 if (w->mux.requested_POLLOUT) { in lws_wsi_mux_action_pending_writeable_reqs()
1548 w = w->mux.sibling_list; in lws_wsi_mux_action_pending_writeable_reqs()