Lines Matching refs:io_ctx
85 struct io_ctx { struct
93 struct io_ctx *io_ctx = userdata; in read_cb() argument
94 struct ssl_connect_data *const connssl = io_ctx->cf->ctx; in read_cb()
97 ssize_t nread = Curl_conn_cf_recv(io_ctx->cf->next, io_ctx->data, in read_cb()
109 CURL_TRC_CF(io_ctx->data, io_ctx->cf, "cf->next recv(len=%zu) -> %zd, %d", in read_cb()
117 struct io_ctx *io_ctx = userdata; in write_cb() local
120 ssize_t nwritten = Curl_conn_cf_send(io_ctx->cf->next, io_ctx->data, in write_cb()
131 CURL_TRC_CF(io_ctx->data, io_ctx->cf, "cf->next send(len=%zu) -> %zd, %d", in write_cb()
142 struct io_ctx io_ctx; in tls_recv_more() local
147 io_ctx.cf = cf; in tls_recv_more()
148 io_ctx.data = data; in tls_recv_more()
149 io_error = rustls_connection_read_tls(backend->conn, read_cb, &io_ctx, in tls_recv_more()
277 struct io_ctx io_ctx; in cr_flush_out() local
283 io_ctx.cf = cf; in cr_flush_out()
284 io_ctx.data = data; in cr_flush_out()
287 io_error = rustls_connection_write_tls(rconn, write_cb, &io_ctx, in cr_flush_out()