Lines Matching refs:sshbuf_len

884 		if (sshbuf_len(c->output) > maxsize) {  in channel_not_very_much_buffered_data()
886 c->self, sshbuf_len(c->output), maxsize); in channel_not_very_much_buffered_data()
1024 c->istate, sshbuf_len(c->input), in channel_format_status()
1025 c->ostate, sshbuf_len(c->output), in channel_format_status()
1026 channel_format_extended_usage(c), sshbuf_len(c->extended), in channel_format_status()
1266 sshbuf_len(c->input) < c->remote_window && in channel_pre_open()
1271 if (sshbuf_len(c->output) > 0) { in channel_pre_open()
1277 c->efd, sshbuf_len(c->extended)); in channel_pre_open()
1286 sshbuf_len(c->extended) > 0) in channel_pre_open()
1291 sshbuf_len(c->extended) < c->remote_window) in channel_pre_open()
1322 if (sshbuf_len(b) < 12) in x11_open_helper()
1340 if (sshbuf_len(b) < in x11_open_helper()
1435 if (sshbuf_len(c->output) > 0) in channel_pre_mux_client()
1460 have = sshbuf_len(input); in channel_decode_socks4()
1496 have = sshbuf_len(input); in channel_decode_socks4()
1514 have = sshbuf_len(input); in channel_decode_socks4()
1582 have = sshbuf_len(input); in channel_decode_socks5()
1723 have = sshbuf_len(c->input); in channel_pre_dynamic()
1752 if (sshbuf_len(c->output)) in channel_pre_dynamic()
1777 have = sshbuf_len(c->output); in channel_before_prepare_io_rdynamic()
1809 len = sshbuf_len(c->input); in channel_before_prepare_io_rdynamic()
2132 if ((have = sshbuf_len(c->input)) >= c->remote_window) in channel_handle_rfd()
2199 if (sshbuf_len(c->output) == 0) in channel_handle_wfd()
2203 olen = sshbuf_len(c->output); in channel_handle_wfd()
2219 dlen = sshbuf_len(c->output); in channel_handle_wfd()
2275 c->local_consumed += olen - sshbuf_len(c->output); in channel_handle_wfd()
2288 if (sshbuf_len(c->extended) == 0) in channel_handle_efd_write()
2292 sshbuf_len(c->extended)); in channel_handle_efd_write()
2401 if (sshbuf_len(c->input) < need) { in read_mux()
2402 rlen = need - sshbuf_len(c->input); in read_mux()
2405 return sshbuf_len(c->input); in read_mux()
2414 return sshbuf_len(c->input); in read_mux()
2461 if (sshbuf_len(c->output) == 0) in channel_post_mux_client_write()
2464 len = write(c->wfd, sshbuf_ptr(c->output), sshbuf_len(c->output)); in channel_post_mux_client_write()
2954 if ((len = sshbuf_len(c->input)) == 0) { in channel_output_poll_input_open()
2966 c->self, c->efd, sshbuf_len(c->extended)); in channel_output_poll_input_open()
3027 if ((len = sshbuf_len(c->extended)) == 0) in channel_output_poll_extended_read()
3031 c->remote_window, sshbuf_len(c->extended), c->extended_usage); in channel_output_poll_extended_read()
3540 if (sshbuf_len(c->input) == 0) in channel_input_ieof()