Lines Matching refs:resync_async
699 tls_device_rx_resync_async(struct tls_offload_resync_async *resync_async, in tls_device_rx_resync_async() argument
713 if (WARN_ON_ONCE(resync_async->rcd_delta == USHRT_MAX)) in tls_device_rx_resync_async()
722 resync_async->loglen < TLS_DEVICE_RESYNC_ASYNC_LOGMAX) in tls_device_rx_resync_async()
723 resync_async->log[resync_async->loglen++] = *seq; in tls_device_rx_resync_async()
725 resync_async->rcd_delta++; in tls_device_rx_resync_async()
733 for (i = 0; i < resync_async->loglen; i++) in tls_device_rx_resync_async()
734 if (req_seq == resync_async->log[i] && in tls_device_rx_resync_async()
735 atomic64_try_cmpxchg(&resync_async->req, &resync_req, 0)) { in tls_device_rx_resync_async()
736 *rcd_delta = resync_async->rcd_delta - i; in tls_device_rx_resync_async()
738 resync_async->loglen = 0; in tls_device_rx_resync_async()
739 resync_async->rcd_delta = 0; in tls_device_rx_resync_async()
743 resync_async->loglen = 0; in tls_device_rx_resync_async()
744 resync_async->rcd_delta = 0; in tls_device_rx_resync_async()
747 atomic64_try_cmpxchg(&resync_async->req, in tls_device_rx_resync_async()
804 resync_req = atomic64_read(&rx_ctx->resync_async->req); in tls_device_rx_resync_new_rec()
809 if (!tls_device_rx_resync_async(rx_ctx->resync_async, in tls_device_rx_resync_new_rec()