Lines Matching refs:async_wait
211 ctx->async_wait.err = err; in tls_decrypt_done()
229 complete(&ctx->async_wait.completion); in tls_decrypt_done()
260 crypto_req_done, &ctx->async_wait); in tls_do_decryption()
268 ret = crypto_wait_req(ret, &ctx->async_wait); in tls_do_decryption()
463 ctx->async_wait.err = -sk->sk_err; in tls_encrypt_done()
465 ctx->async_wait.err = err; in tls_encrypt_done()
487 complete(&ctx->async_wait.completion); in tls_encrypt_done()
1167 crypto_wait_req(-EINPROGRESS, &ctx->async_wait); in tls_sw_sendmsg_locked()
1169 reinit_completion(&ctx->async_wait.completion); in tls_sw_sendmsg_locked()
1176 if (ctx->async_wait.err) { in tls_sw_sendmsg_locked()
1177 ret = ctx->async_wait.err; in tls_sw_sendmsg_locked()
1264 crypto_wait_req(-EINPROGRESS, &ctx->async_wait); in tls_sw_splice_eof()
1266 reinit_completion(&ctx->async_wait.completion); in tls_sw_splice_eof()
1273 if (ctx->async_wait.err) in tls_sw_splice_eof()
1952 err = ctx->async_wait.err; in tls_sw_recvmsg()
2107 reinit_completion(&ctx->async_wait.completion); in tls_sw_recvmsg()
2112 ret = crypto_wait_req(-EINPROGRESS, &ctx->async_wait); in tls_sw_recvmsg()
2238 err = ctx->async_wait.err; in tls_sw_read_sock()
2438 crypto_wait_req(-EINPROGRESS, &ctx->async_wait); in tls_sw_release_resources_tx()
2638 crypto_init_wait(&sw_ctx_tx->async_wait); in tls_set_sw_offload()
2647 crypto_init_wait(&sw_ctx_rx->async_wait); in tls_set_sw_offload()