Lines Matching refs:istate
348 c->istate = CHAN_INPUT_OPEN; in channel_new()
444 other->istate = CHAN_INPUT_CLOSED; in channel_free()
732 c->istate, buffer_len(&c->input), in channel_open_message()
912 if (c->istate == CHAN_INPUT_OPEN && 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()
1096 if (c->istate == CHAN_INPUT_OPEN && !c->mux_pause && in channel_pre_mux_client()
1099 if (c->istate == CHAN_INPUT_WAIT_DRAIN) { in channel_pre_mux_client()
1733 force = c->isatty && c->detach_close && c->istate != CHAN_INPUT_CLOSED;
1986 (c->istate == CHAN_INPUT_OPEN ||
1987 c->istate == CHAN_INPUT_WAIT_DRAIN)) {
2331 if ((c->istate == CHAN_INPUT_OPEN ||
2332 c->istate == CHAN_INPUT_WAIT_DRAIN) &&
2386 } else if (c->istate == CHAN_INPUT_WAIT_DRAIN) {
2836 if (c->force_drain && c->istate == CHAN_INPUT_OPEN) {
2838 c->istate = CHAN_INPUT_WAIT_DRAIN;