Lines Matching refs:resync_async
710 tls_device_rx_resync_async(struct tls_offload_resync_async *resync_async, in tls_device_rx_resync_async() argument
724 if (WARN_ON_ONCE(resync_async->rcd_delta == USHRT_MAX)) in tls_device_rx_resync_async()
733 resync_async->loglen < TLS_DEVICE_RESYNC_ASYNC_LOGMAX) in tls_device_rx_resync_async()
734 resync_async->log[resync_async->loglen++] = *seq; in tls_device_rx_resync_async()
736 resync_async->rcd_delta++; in tls_device_rx_resync_async()
744 for (i = 0; i < resync_async->loglen; i++) in tls_device_rx_resync_async()
745 if (req_seq == resync_async->log[i] && in tls_device_rx_resync_async()
746 atomic64_try_cmpxchg(&resync_async->req, &resync_req, 0)) { in tls_device_rx_resync_async()
747 *rcd_delta = resync_async->rcd_delta - i; in tls_device_rx_resync_async()
749 resync_async->loglen = 0; in tls_device_rx_resync_async()
750 resync_async->rcd_delta = 0; in tls_device_rx_resync_async()
754 resync_async->loglen = 0; in tls_device_rx_resync_async()
755 resync_async->rcd_delta = 0; in tls_device_rx_resync_async()
758 atomic64_try_cmpxchg(&resync_async->req, in tls_device_rx_resync_async()
815 resync_req = atomic64_read(&rx_ctx->resync_async->req); in tls_device_rx_resync_new_rec()
820 if (!tls_device_rx_resync_async(rx_ctx->resync_async, in tls_device_rx_resync_new_rec()