Lines Matching refs:tls_ctx

377 		const struct tls_context *tls_ctx)  in tls_sw_ctx_rx()  argument
379 return (struct tls_sw_context_rx *)tls_ctx->priv_ctx_rx; in tls_sw_ctx_rx()
383 const struct tls_context *tls_ctx) in tls_sw_ctx_tx() argument
385 return (struct tls_sw_context_tx *)tls_ctx->priv_ctx_tx; in tls_sw_ctx_tx()
389 tls_offload_ctx_tx(const struct tls_context *tls_ctx) in tls_offload_ctx_tx() argument
391 return (struct tls_offload_context_tx *)tls_ctx->priv_ctx_tx; in tls_offload_ctx_tx()
421 tls_offload_ctx_rx(const struct tls_context *tls_ctx) in tls_offload_ctx_rx() argument
423 return (struct tls_offload_context_rx *)tls_ctx->priv_ctx_rx; in tls_offload_ctx_rx()
426 static inline void *__tls_driver_ctx(struct tls_context *tls_ctx, in __tls_driver_ctx() argument
430 return tls_offload_ctx_tx(tls_ctx)->driver_state; in __tls_driver_ctx()
432 return tls_offload_ctx_rx(tls_ctx)->driver_state; in __tls_driver_ctx()
446 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_request() local
447 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_request()
456 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_async_request_start() local
457 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_async_request_start()
468 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_async_request_end() local
469 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_async_request_end()
478 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_set_type() local
480 tls_offload_ctx_rx(tls_ctx)->resync_type = type; in tls_offload_rx_resync_set_type()
486 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_tx_resync_pending() local
489 ret = test_bit(TLS_TX_SYNC_SCHED, &tls_ctx->flags); in tls_offload_tx_resync_pending()