Lines Matching refs:sshbuf_len
891 if (sshbuf_len(c->output) > maxsize) { in channel_not_very_much_buffered_data()
893 c->self, sshbuf_len(c->output), maxsize); in channel_not_very_much_buffered_data()
1030 c->istate, sshbuf_len(c->input), in channel_format_status()
1031 c->ostate, sshbuf_len(c->output), in channel_format_status()
1032 channel_format_extended_usage(c), sshbuf_len(c->extended), in channel_format_status()
1271 sshbuf_len(c->input) < c->remote_window && in channel_pre_open()
1276 if (sshbuf_len(c->output) > 0) { in channel_pre_open()
1282 c->efd, sshbuf_len(c->extended)); in channel_pre_open()
1291 sshbuf_len(c->extended) > 0) in channel_pre_open()
1296 sshbuf_len(c->extended) < c->remote_window) in channel_pre_open()
1327 if (sshbuf_len(b) < 12) in x11_open_helper()
1345 if (sshbuf_len(b) < in x11_open_helper()
1440 if (sshbuf_len(c->output) > 0) in channel_pre_mux_client()
1465 have = sshbuf_len(input); in channel_decode_socks4()
1501 have = sshbuf_len(input); in channel_decode_socks4()
1519 have = sshbuf_len(input); in channel_decode_socks4()
1587 have = sshbuf_len(input); in channel_decode_socks5()
1728 have = sshbuf_len(c->input); in channel_pre_dynamic()
1757 if (sshbuf_len(c->output)) in channel_pre_dynamic()
1782 have = sshbuf_len(c->output); in channel_before_prepare_io_rdynamic()
1814 len = sshbuf_len(c->input); in channel_before_prepare_io_rdynamic()
2137 if ((have = sshbuf_len(c->input)) >= c->remote_window) in channel_handle_rfd()
2204 if (sshbuf_len(c->output) == 0) in channel_handle_wfd()
2208 olen = sshbuf_len(c->output); in channel_handle_wfd()
2224 dlen = sshbuf_len(c->output); in channel_handle_wfd()
2280 c->local_consumed += olen - sshbuf_len(c->output); in channel_handle_wfd()
2293 if (sshbuf_len(c->extended) == 0) in channel_handle_efd_write()
2297 sshbuf_len(c->extended)); in channel_handle_efd_write()
2406 if (sshbuf_len(c->input) < need) { in read_mux()
2407 rlen = need - sshbuf_len(c->input); in read_mux()
2410 return sshbuf_len(c->input); in read_mux()
2419 return sshbuf_len(c->input); in read_mux()
2466 if (sshbuf_len(c->output) == 0) in channel_post_mux_client_write()
2469 len = write(c->wfd, sshbuf_ptr(c->output), sshbuf_len(c->output)); in channel_post_mux_client_write()
2959 if ((len = sshbuf_len(c->input)) == 0) { in channel_output_poll_input_open()
2971 c->self, c->efd, sshbuf_len(c->extended)); in channel_output_poll_input_open()
3032 if ((len = sshbuf_len(c->extended)) == 0) in channel_output_poll_extended_read()
3036 c->remote_window, sshbuf_len(c->extended), c->extended_usage); in channel_output_poll_extended_read()
3545 if (sshbuf_len(c->input) == 0) in channel_input_ieof()