Lines Matching refs:tls_rec

268 	struct tls_rec *rec = ctx->open_rec;  in tls_trim_both_msgs()
280 struct tls_rec *rec = ctx->open_rec; in tls_alloc_encrypted_msg()
291 struct tls_rec *rec = ctx->open_rec; in tls_clone_plaintext_msg()
310 static struct tls_rec *tls_get_rec(struct sock *sk) in tls_get_rec()
316 struct tls_rec *rec; in tls_get_rec()
319 mem_size = sizeof(struct tls_rec) + crypto_aead_reqsize(ctx->aead_send); in tls_get_rec()
342 static void tls_free_rec(struct sock *sk, struct tls_rec *rec) in tls_free_rec()
353 struct tls_rec *rec = ctx->open_rec; in tls_free_open_rec()
365 struct tls_rec *rec, *tmp; in tls_tx_records()
371 struct tls_rec, list); in tls_tx_records()
429 struct tls_rec *rec; in tls_encrypt_done()
433 rec = container_of(aead_req, struct tls_rec, aead_req); in tls_encrypt_done()
454 struct tls_rec *first_rec; in tls_encrypt_done()
461 struct tls_rec, list); in tls_encrypt_done()
488 struct tls_rec *rec = ctx->open_rec; in tls_do_encryption()
549 static int tls_split_open_record(struct sock *sk, struct tls_rec *from, in tls_split_open_record()
550 struct tls_rec **to, struct sk_msg *msg_opl, in tls_split_open_record()
559 struct tls_rec *new; in tls_split_open_record()
634 static void tls_merge_open_record(struct sock *sk, struct tls_rec *to, in tls_merge_open_record()
635 struct tls_rec *from, u32 orig_end) in tls_merge_open_record()
673 struct tls_rec *rec = ctx->open_rec, *tmp = NULL; in tls_push_record()
794 struct tls_rec *rec; in bpf_exec_tx_verdict()
899 struct tls_rec *rec = ctx->open_rec; in tls_sw_push_pending_record()
928 struct tls_rec *rec; in tls_sw_sendmsg()
1148 struct tls_rec *rec; in tls_sw_do_sendpage()
2308 struct tls_rec *rec, *tmp; in tls_sw_release_resources_tx()
2328 struct tls_rec, list); in tls_sw_release_resources_tx()
2426 struct tls_rec *rec; in tls_is_tx_ready()
2428 rec = list_first_entry(&ctx->tx_list, struct tls_rec, list); in tls_is_tx_ready()