offload_ctx       667 include/net/tls.h 			 struct tls_offload_context_tx *offload_ctx,
offload_ctx       132 net/tls/tls_device.c static void delete_all_records(struct tls_offload_context_tx *offload_ctx)
offload_ctx       136 net/tls/tls_device.c 	list_for_each_entry_safe(info, temp, &offload_ctx->records_list, list) {
offload_ctx       141 net/tls/tls_device.c 	offload_ctx->retransmit_hint = NULL;
offload_ctx       257 net/tls/tls_device.c 			   struct tls_offload_context_tx *offload_ctx,
offload_ctx       267 net/tls/tls_device.c 	list_add_tail_rcu(&record->list, &offload_ctx->records_list);
offload_ctx       268 net/tls/tls_device.c 	offload_ctx->open_record = NULL;
offload_ctx       277 net/tls/tls_device.c 		sg_unmark_end(&offload_ctx->sg_tx_data[i]);
offload_ctx       278 net/tls/tls_device.c 		sg_set_page(&offload_ctx->sg_tx_data[i], skb_frag_page(frag),
offload_ctx       283 net/tls/tls_device.c 	sg_mark_end(&offload_ctx->sg_tx_data[record->num_frags - 1]);
offload_ctx       286 net/tls/tls_device.c 	return tls_push_sg(sk, ctx, offload_ctx->sg_tx_data, 0, flags);
offload_ctx       321 net/tls/tls_device.c static int tls_create_new_record(struct tls_offload_context_tx *offload_ctx,
offload_ctx       342 net/tls/tls_device.c 	offload_ctx->open_record = record;
offload_ctx       347 net/tls/tls_device.c 			     struct tls_offload_context_tx *offload_ctx,
offload_ctx       353 net/tls/tls_device.c 	if (!offload_ctx->open_record) {
offload_ctx       361 net/tls/tls_device.c 		ret = tls_create_new_record(offload_ctx, pfrag, prepend_size);
offload_ctx       910 net/tls/tls_device.c 	struct tls_offload_context_tx *offload_ctx;
offload_ctx       928 net/tls/tls_device.c 	offload_ctx = kzalloc(TLS_OFFLOAD_CONTEXT_SIZE_TX, GFP_KERNEL);
offload_ctx       929 net/tls/tls_device.c 	if (!offload_ctx) {
offload_ctx       983 net/tls/tls_device.c 	rc = tls_sw_fallback_init(sk, offload_ctx, crypto_info);
offload_ctx       989 net/tls/tls_device.c 	offload_ctx->unacked_record_sn = be64_to_cpu(rcd_sn) - 1;
offload_ctx       995 net/tls/tls_device.c 	INIT_LIST_HEAD(&offload_ctx->records_list);
offload_ctx       996 net/tls/tls_device.c 	list_add_tail(&start_marker_record->list, &offload_ctx->records_list);
offload_ctx       997 net/tls/tls_device.c 	spin_lock_init(&offload_ctx->lock);
offload_ctx       998 net/tls/tls_device.c 	sg_init_table(offload_ctx->sg_tx_data,
offload_ctx       999 net/tls/tls_device.c 		      ARRAY_SIZE(offload_ctx->sg_tx_data));
offload_ctx      1038 net/tls/tls_device.c 	ctx->priv_ctx_tx = offload_ctx;
offload_ctx      1063 net/tls/tls_device.c 	crypto_free_aead(offload_ctx->aead_send);
offload_ctx      1069 net/tls/tls_device.c 	kfree(offload_ctx);
offload_ctx       440 net/tls/tls_device_fallback.c 			 struct tls_offload_context_tx *offload_ctx,
offload_ctx       446 net/tls/tls_device_fallback.c 	offload_ctx->aead_send =
offload_ctx       448 net/tls/tls_device_fallback.c 	if (IS_ERR(offload_ctx->aead_send)) {
offload_ctx       449 net/tls/tls_device_fallback.c 		rc = PTR_ERR(offload_ctx->aead_send);
offload_ctx       451 net/tls/tls_device_fallback.c 		offload_ctx->aead_send = NULL;
offload_ctx       457 net/tls/tls_device_fallback.c 	rc = crypto_aead_setkey(offload_ctx->aead_send, key,
offload_ctx       462 net/tls/tls_device_fallback.c 	rc = crypto_aead_setauthsize(offload_ctx->aead_send,
offload_ctx       469 net/tls/tls_device_fallback.c 	crypto_free_aead(offload_ctx->aead_send);