Lines Matching refs:ctl_chan
199 if (c->ctl_chan != -1) { in mux_master_session_cleanup_cb()
200 if ((cc = channel_by_id(c->ctl_chan)) == NULL) in mux_master_session_cleanup_cb()
202 __func__, c->self, c->ctl_chan); in mux_master_session_cleanup_cb()
203 c->ctl_chan = -1; in mux_master_session_cleanup_cb()
225 sc->ctl_chan = -1; in mux_master_control_cleanup_cb()
456 nc->ctl_chan = c->self; /* link session -> control channel */ in process_mux_new_session()
467 __func__, nc->self, nc->ctl_chan); in process_mux_new_session()
904 nc->ctl_chan = c->self; /* link session -> control channel */ in process_mux_stdio_fwd()
908 __func__, nc->self, nc->ctl_chan); in process_mux_stdio_fwd()
1044 if ((mux_chan = channel_by_id(c->ctl_chan)) == NULL) in mux_exit_message()
1046 __func__, c->self, c->ctl_chan); in mux_exit_message()
1066 if ((mux_chan = channel_by_id(c->ctl_chan)) == NULL) in mux_tty_alloc_failed()
1068 __func__, c->self, c->ctl_chan); in mux_tty_alloc_failed()
1192 if ((cc = channel_by_id(c->ctl_chan)) == NULL) in mux_session_confirm()
1194 id, c->ctl_chan); in mux_session_confirm()