Lines Matching refs:rx_ctx
723 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_device_resync_rx() local
726 trace_tls_device_rx_resync_send(sk, seq, rcd_sn, rx_ctx->resync_type); in tls_device_resync_rx()
795 struct tls_offload_context_rx *rx_ctx; in tls_device_rx_resync_new_rec() local
809 rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_device_rx_resync_new_rec()
812 switch (rx_ctx->resync_type) { in tls_device_rx_resync_new_rec()
814 resync_req = atomic64_read(&rx_ctx->resync_req); in tls_device_rx_resync_new_rec()
820 !atomic64_try_cmpxchg(&rx_ctx->resync_req, &resync_req, 0)) in tls_device_rx_resync_new_rec()
824 if (likely(!rx_ctx->resync_nh_do_now)) in tls_device_rx_resync_new_rec()
837 rx_ctx->resync_nh_do_now = 0; in tls_device_rx_resync_new_rec()
842 resync_req = atomic64_read(&rx_ctx->resync_async->req); in tls_device_rx_resync_new_rec()
847 if (!tls_device_rx_resync_async(rx_ctx->resync_async, in tls_device_rx_resync_new_rec()