Lines Matching refs:tls_rec
278 struct tls_rec *rec = ctx->open_rec; in tls_trim_both_msgs()
290 struct tls_rec *rec = ctx->open_rec; in tls_alloc_encrypted_msg()
301 struct tls_rec *rec = ctx->open_rec; in tls_clone_plaintext_msg()
320 static struct tls_rec *tls_get_rec(struct sock *sk) in tls_get_rec()
326 struct tls_rec *rec; in tls_get_rec()
329 mem_size = sizeof(struct tls_rec) + crypto_aead_reqsize(ctx->aead_send); in tls_get_rec()
354 static void tls_free_rec(struct sock *sk, struct tls_rec *rec) in tls_free_rec()
365 struct tls_rec *rec = ctx->open_rec; in tls_free_open_rec()
377 struct tls_rec *rec, *tmp; in tls_tx_records()
383 struct tls_rec, list); in tls_tx_records()
437 struct tls_rec *rec = data; in tls_encrypt_done()
469 struct tls_rec *first_rec; in tls_encrypt_done()
476 struct tls_rec, list); in tls_encrypt_done()
503 struct tls_rec *rec = ctx->open_rec; in tls_do_encryption()
564 static int tls_split_open_record(struct sock *sk, struct tls_rec *from, in tls_split_open_record()
565 struct tls_rec **to, struct sk_msg *msg_opl, in tls_split_open_record()
574 struct tls_rec *new; in tls_split_open_record()
649 static void tls_merge_open_record(struct sock *sk, struct tls_rec *to, in tls_merge_open_record()
650 struct tls_rec *from, u32 orig_end) in tls_merge_open_record()
688 struct tls_rec *rec = ctx->open_rec, *tmp = NULL; in tls_push_record()
809 struct tls_rec *rec; in bpf_exec_tx_verdict()
916 struct tls_rec *rec = ctx->open_rec; in tls_sw_push_pending_record()
945 struct tls_rec *rec; in tls_sw_sendmsg()
1167 struct tls_rec *rec; in tls_sw_do_sendpage()
2333 struct tls_rec *rec, *tmp; in tls_sw_release_resources_tx()
2353 struct tls_rec, list); in tls_sw_release_resources_tx()
2459 struct tls_rec *rec; in tls_is_tx_ready()
2461 rec = list_first_entry_or_null(&ctx->tx_list, struct tls_rec, list); in tls_is_tx_ready()