Lines Matching refs:ostate
347 c->ostate = CHAN_OUTPUT_OPEN; in channel_new()
445 other->ostate = CHAN_OUTPUT_CLOSED; in channel_free()
733 c->ostate, buffer_len(&c->output), in channel_open_message()
917 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_pre_open()
918 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_open()
921 } else if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_open()
931 !(c->istate == CHAN_INPUT_CLOSED && c->ostate == CHAN_OUTPUT_CLOSED)) { in channel_pre_open()
1079 debug2("X11 rejected %d i%d/o%d", c->self, c->istate, c->ostate); in channel_pre_x11_open()
1089 debug2("X11 closed %d i%d/o%d", c->self, c->istate, c->ostate); in channel_pre_x11_open()
1106 if (c->ostate == CHAN_OUTPUT_OPEN || in channel_pre_mux_client()
1107 c->ostate == CHAN_OUTPUT_WAIT_DRAIN) { in channel_pre_mux_client()
1110 else if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN) in channel_pre_mux_client()
2741 if (!compat13 && c->ostate != CHAN_OUTPUT_OPEN) {