Home
last modified time | relevance | path

Searched refs:priv_ctx_tx (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/include/net/
H A Dtls.h231 void *priv_ctx_tx; member
386 return (struct tls_sw_context_tx *)tls_ctx->priv_ctx_tx; in tls_sw_ctx_tx()
392 return (struct tls_offload_context_tx *)tls_ctx->priv_ctx_tx; in tls_offload_ctx_tx()
/kernel/linux/linux-5.10/include/net/
H A Dtls.h250 void *priv_ctx_tx; member
590 return (struct tls_sw_context_tx *)tls_ctx->priv_ctx_tx; in tls_sw_ctx_tx()
596 return (struct tls_offload_context_tx *)tls_ctx->priv_ctx_tx; in tls_offload_ctx_tx()
/kernel/linux/linux-6.6/net/tls/
H A Dtls_sw.c2619 if (!ctx->priv_ctx_tx) { in init_ctx_tx()
2624 sw_ctx_tx = ctx->priv_ctx_tx; in init_ctx_tx()
2678 ctx->priv_ctx_tx = init_ctx_tx(ctx, sk); in tls_set_sw_offload()
2679 if (!ctx->priv_ctx_tx) in tls_set_sw_offload()
2682 sw_ctx_tx = ctx->priv_ctx_tx; in tls_set_sw_offload()
2794 kfree(ctx->priv_ctx_tx); in tls_set_sw_offload()
2795 ctx->priv_ctx_tx = NULL; in tls_set_sw_offload()
H A Dtls_device.c1062 if (ctx->priv_ctx_tx) in tls_set_device_offload()
1171 ctx->priv_ctx_tx = offload_ctx; in tls_set_device_offload()
1198 ctx->priv_ctx_tx = NULL; in tls_set_device_offload()
/kernel/linux/linux-5.10/net/tls/
H A Dtls_device.c1032 if (ctx->priv_ctx_tx) in tls_set_device_offload()
1149 ctx->priv_ctx_tx = offload_ctx; in tls_set_device_offload()
1183 ctx->priv_ctx_tx = NULL; in tls_set_device_offload()
H A Dtls_sw.c2333 if (!ctx->priv_ctx_tx) { in tls_set_sw_offload()
2339 ctx->priv_ctx_tx = sw_ctx_tx; in tls_set_sw_offload()
2342 (struct tls_sw_context_tx *)ctx->priv_ctx_tx; in tls_set_sw_offload()
2523 kfree(ctx->priv_ctx_tx); in tls_set_sw_offload()
2524 ctx->priv_ctx_tx = NULL; in tls_set_sw_offload()

Completed in 13 milliseconds