Lines Matching refs:istate
85 if (c->istate > CHAN_INPUT_CLOSED || next > CHAN_INPUT_CLOSED) in chan_set_istate()
86 fatal("chan_set_istate: bad state %d -> %d", c->istate, next); in chan_set_istate()
87 debug("channel %d: input %s -> %s", c->self, istates[c->istate], in chan_set_istate()
89 c->istate = next; in chan_set_istate()
109 switch (c->istate) { in chan_rcvd_oclose1()
125 c->self, c->istate); in chan_rcvd_oclose1()
133 switch (c->istate) { in chan_read_failed()
140 c->self, c->istate); in chan_read_failed()
153 switch (c->istate) { in chan_ibuf_empty()
166 c->self, c->istate); in chan_ibuf_empty()
234 switch (c->istate) { in chan_send_ieof1()
243 c->self, c->istate); in chan_send_ieof1()
291 switch (c->istate) { in chan_rcvd_close2()
306 switch (c->istate) { in chan_rcvd_eow()
343 switch (c->istate) { in chan_send_eof2()
352 c->self, c->istate); in chan_send_eof2()
361 c->istate != CHAN_INPUT_CLOSED) { in chan_send_close2()
363 c->self, c->istate, c->ostate); in chan_send_close2()
433 if (c->istate != CHAN_INPUT_CLOSED || c->ostate != CHAN_OUTPUT_CLOSED) in chan_is_dead()
504 c->self, c->sock, c->istate, c->ostate, in chan_shutdown_read()