Lines Matching refs:istate
95 if (c->istate > CHAN_INPUT_CLOSED || next > CHAN_INPUT_CLOSED) in chan_set_istate()
96 fatal("chan_set_istate: bad state %d -> %d", c->istate, next); in chan_set_istate()
97 debug2("channel %d: input %s -> %s", c->self, istates[c->istate], in chan_set_istate()
99 c->istate = next; in chan_set_istate()
116 switch (c->istate) { in chan_read_failed()
123 c->self, c->istate); in chan_read_failed()
137 switch (c->istate) { in chan_ibuf_empty()
145 c->self, c->istate); in chan_ibuf_empty()
175 switch (c->istate) { in chan_rcvd_eow()
189 switch (c->istate) { in chan_send_eof2()
201 c->self, c->istate); in chan_send_eof2()
213 c->istate != CHAN_INPUT_CLOSED) { in chan_send_close2()
215 c->self, c->istate, c->ostate); in chan_send_close2()
294 switch (c->istate) { in chan_rcvd_oclose()
341 if (c->istate != CHAN_INPUT_CLOSED || c->ostate != CHAN_OUTPUT_CLOSED) in chan_is_dead()
384 c->self, c->istate, c->ostate, c->sock, c->wfd, c->efd, in chan_shutdown_write()
390 c->istate, c->ostate, strerror(errno)); in chan_shutdown_write()
396 c->istate, c->ostate, strerror(errno)); in chan_shutdown_write()
407 c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd, in chan_shutdown_read()
418 c->istate, c->ostate, strerror(errno)); in chan_shutdown_read()
424 c->istate, c->ostate, strerror(errno)); in chan_shutdown_read()
438 c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd, in chan_shutdown_extended_read()
443 c->istate, c->ostate, strerror(errno)); in chan_shutdown_extended_read()