Lines Matching refs:istate
93 if (c->istate > CHAN_INPUT_CLOSED || next > CHAN_INPUT_CLOSED) in chan_set_istate()
94 fatal("chan_set_istate: bad state %d -> %d", c->istate, next); in chan_set_istate()
95 debug2("channel %d: input %s -> %s", c->self, istates[c->istate], in chan_set_istate()
97 c->istate = next; in chan_set_istate()
117 switch (c->istate) { in chan_rcvd_oclose1()
133 c->self, c->istate); in chan_rcvd_oclose1()
141 switch (c->istate) { in chan_read_failed()
148 c->self, c->istate); in chan_read_failed()
161 switch (c->istate) { in chan_ibuf_empty()
174 c->self, c->istate); in chan_ibuf_empty()
242 switch (c->istate) { in chan_send_ieof1()
251 c->self, c->istate); in chan_send_ieof1()
302 switch (c->istate) { in chan_rcvd_close2()
319 switch (c->istate) { in chan_rcvd_eow()
356 switch (c->istate) { in chan_send_eof2()
365 c->self, c->istate); in chan_send_eof2()
374 c->istate != CHAN_INPUT_CLOSED) { in chan_send_close2()
376 c->self, c->istate, c->ostate); in chan_send_close2()
448 if (c->istate != CHAN_INPUT_CLOSED || c->ostate != CHAN_OUTPUT_CLOSED) in chan_is_dead()
523 c->self, c->sock, c->istate, c->ostate, in chan_shutdown_read()