Lines Matching refs:tls_ctx
392 const struct tls_context *tls_ctx) in tls_sw_ctx_rx() argument
394 return (struct tls_sw_context_rx *)tls_ctx->priv_ctx_rx; in tls_sw_ctx_rx()
398 const struct tls_context *tls_ctx) in tls_sw_ctx_tx() argument
400 return (struct tls_sw_context_tx *)tls_ctx->priv_ctx_tx; in tls_sw_ctx_tx()
404 tls_offload_ctx_tx(const struct tls_context *tls_ctx) in tls_offload_ctx_tx() argument
406 return (struct tls_offload_context_tx *)tls_ctx->priv_ctx_tx; in tls_offload_ctx_tx()
428 tls_offload_ctx_rx(const struct tls_context *tls_ctx) in tls_offload_ctx_rx() argument
430 return (struct tls_offload_context_rx *)tls_ctx->priv_ctx_rx; in tls_offload_ctx_rx()
433 static inline void *__tls_driver_ctx(struct tls_context *tls_ctx, in __tls_driver_ctx() argument
437 return tls_offload_ctx_tx(tls_ctx)->driver_state; in __tls_driver_ctx()
439 return tls_offload_ctx_rx(tls_ctx)->driver_state; in __tls_driver_ctx()
453 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_request() local
454 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_request()
463 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_async_request_start() local
464 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_async_request_start()
475 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_async_request_end() local
476 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_async_request_end()
485 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_set_type() local
487 tls_offload_ctx_rx(tls_ctx)->resync_type = type; in tls_offload_rx_resync_set_type()
493 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_tx_resync_pending() local
496 ret = test_bit(TLS_TX_SYNC_SCHED, &tls_ctx->flags); in tls_offload_tx_resync_pending()