Lines Matching refs:async_wait
199 ctx->async_wait.err = err; in tls_decrypt_done()
217 complete(&ctx->async_wait.completion); in tls_decrypt_done()
248 crypto_req_done, &ctx->async_wait); in tls_do_decryption()
256 ret = crypto_wait_req(ret, &ctx->async_wait); in tls_do_decryption()
446 ctx->async_wait.err = -sk->sk_err; in tls_encrypt_done()
448 ctx->async_wait.err = err; in tls_encrypt_done()
470 complete(&ctx->async_wait.completion); in tls_encrypt_done()
1110 crypto_wait_req(-EINPROGRESS, &ctx->async_wait); in tls_sw_sendmsg()
1112 reinit_completion(&ctx->async_wait.completion); in tls_sw_sendmsg()
1119 if (ctx->async_wait.err) { in tls_sw_sendmsg()
1120 ret = ctx->async_wait.err; in tls_sw_sendmsg()
1934 err = ctx->async_wait.err; in tls_sw_recvmsg()
2089 reinit_completion(&ctx->async_wait.completion); in tls_sw_recvmsg()
2094 ret = crypto_wait_req(-EINPROGRESS, &ctx->async_wait); in tls_sw_recvmsg()
2318 crypto_wait_req(-EINPROGRESS, &ctx->async_wait); in tls_sw_release_resources_tx()
2510 crypto_init_wait(&sw_ctx_tx->async_wait); in tls_set_sw_offload()
2519 crypto_init_wait(&sw_ctx_rx->async_wait); in tls_set_sw_offload()