• Home
  • Raw
  • Download

Lines Matching refs:mux

105 	while (wsi->mux.parent_wsi)  in lws_get_network_wsi()
106 wsi = wsi->mux.parent_wsi; in lws_get_network_wsi()
1069 wsi->mux.my_sid = sid; in lws_wsi_mux_insert()
1070 wsi->mux.parent_wsi = parent_wsi; in lws_wsi_mux_insert()
1074 wsi->mux.sibling_list = parent_wsi->mux.child_list; in lws_wsi_mux_insert()
1077 parent_wsi->mux.child_list = wsi; in lws_wsi_mux_insert()
1079 parent_wsi->mux.child_count++; in lws_wsi_mux_insert()
1085 lws_start_foreach_ll(struct lws *, wsi, parent_wsi->mux.child_list) { in lws_wsi_mux_from_id()
1086 if (wsi->mux.my_sid == sid) in lws_wsi_mux_from_id()
1088 } lws_end_foreach_ll(wsi, mux.sibling_list); in lws_wsi_mux_from_id()
1097 if (!wsi->mux.parent_wsi || !lwsl_visible(LLL_INFO)) in lws_wsi_mux_dump_children()
1101 wsi->mux.parent_wsi->mux.child_list) { in lws_wsi_mux_dump_children()
1104 assert(*w != (*w)->mux.sibling_list); in lws_wsi_mux_dump_children()
1105 } lws_end_foreach_llp(w, mux.sibling_list); in lws_wsi_mux_dump_children()
1114 if (!wsi->mux.child_list) in lws_wsi_mux_close_children()
1117 lws_start_foreach_llp(struct lws **, w, wsi->mux.child_list) { in lws_wsi_mux_close_children()
1120 wsi2 = (*w)->mux.sibling_list; in lws_wsi_mux_close_children()
1122 (*w)->mux.sibling_list = NULL; in lws_wsi_mux_close_children()
1127 } lws_end_foreach_llp(w, mux.sibling_list); in lws_wsi_mux_close_children()
1137 wsi->mux.parent_wsi->mux.child_list) { in lws_wsi_mux_sibling_disconnect()
1141 wsi2 = (*w)->mux.sibling_list; in lws_wsi_mux_sibling_disconnect()
1142 (*w)->mux.sibling_list = NULL; in lws_wsi_mux_sibling_disconnect()
1148 } lws_end_foreach_llp(w, mux.sibling_list); in lws_wsi_mux_sibling_disconnect()
1149 wsi->mux.parent_wsi->mux.child_count--; in lws_wsi_mux_sibling_disconnect()
1151 wsi->mux.parent_wsi = NULL; in lws_wsi_mux_sibling_disconnect()
1161 wsi = wsi->mux.child_list; in lws_wsi_mux_dump_waiting_children()
1164 wsi->mux.requested_POLLOUT ? '*' : ' ', in lws_wsi_mux_dump_waiting_children()
1165 wsi, wsi->mux.my_sid, lwsi_state(wsi), in lws_wsi_mux_dump_waiting_children()
1169 wsi = wsi->mux.sibling_list; in lws_wsi_mux_dump_waiting_children()
1184 wsi2->mux.requested_POLLOUT = 1; in lws_wsi_mux_mark_parents_needing_writeable()
1186 wsi2, wsi2->mux.my_sid); in lws_wsi_mux_mark_parents_needing_writeable()
1187 wsi2 = wsi2->mux.parent_wsi; in lws_wsi_mux_mark_parents_needing_writeable()
1199 if (!w->mux.sibling_list) { /* w is the current last */ in lws_wsi_mux_move_child_to_tail()
1206 w->mux.sibling_list = *wsi2; in lws_wsi_mux_move_child_to_tail()
1210 *wsi2 = (*wsi2)->mux.sibling_list; in lws_wsi_mux_move_child_to_tail()
1213 w->mux.sibling_list->mux.sibling_list = NULL; in lws_wsi_mux_move_child_to_tail()
1216 w = w->mux.sibling_list; in lws_wsi_mux_move_child_to_tail()
1219 w = w->mux.sibling_list; in lws_wsi_mux_move_child_to_tail()
1225 w->mux.requested_POLLOUT = 0; in lws_wsi_mux_move_child_to_tail()
1233 struct lws *w = wsi->mux.child_list; in lws_wsi_mux_action_pending_writeable_reqs()
1236 if (w->mux.requested_POLLOUT) { in lws_wsi_mux_action_pending_writeable_reqs()
1241 w = w->mux.sibling_list; in lws_wsi_mux_action_pending_writeable_reqs()