Lines Matching defs:sock

47 #include <trace/events/sock.h>
63 struct sock *sk;
71 noinline void tls_err_abort(struct sock *sk, int err)
197 struct sock *sk;
252 static int tls_do_decryption(struct sock *sk,
307 static void tls_trim_both_msgs(struct sock *sk, int target_size)
320 static int tls_alloc_encrypted_msg(struct sock *sk, int len)
330 static int tls_clone_plaintext_msg(struct sock *sk, int required)
354 static struct tls_rec *tls_get_rec(struct sock *sk)
388 static void tls_free_rec(struct sock *sk, struct tls_rec *rec)
395 static void tls_free_open_rec(struct sock *sk)
407 int tls_tx_records(struct sock *sk, int flags)
474 struct sock *sk;
533 static int tls_do_encryption(struct sock *sk,
606 static int tls_split_open_record(struct sock *sk, struct tls_rec *from,
691 static void tls_merge_open_record(struct sock *sk, struct tls_rec *to,
724 static int tls_push_record(struct sock *sk, int flags,
842 static int bpf_exec_tx_verdict(struct sk_msg *msg, struct sock *sk,
850 struct sock *sk_redir;
954 static int tls_sw_push_pending_record(struct sock *sk, int flags)
974 static int tls_sw_sendmsg_splice(struct sock *sk, struct msghdr *msg,
1005 static int tls_sw_sendmsg_locked(struct sock *sk, struct msghdr *msg,
1226 int tls_sw_sendmsg(struct sock *sk, struct msghdr *msg, size_t size)
1249 void tls_sw_splice_eof(struct socket *sock)
1251 struct sock *sk = sock->sk;
1308 tls_rx_rec_wait(struct sock *sk, struct sk_psock *psock, bool nonblock,
1419 tls_alloc_clrtxt_skb(struct sock *sk, struct sk_buff *skb,
1461 static int tls_decrypt_sg(struct sock *sk, struct iov_iter *out_iov,
1634 tls_decrypt_sw(struct sock *sk, struct tls_context *tls_ctx,
1674 tls_decrypt_device(struct sock *sk, struct msghdr *msg,
1723 static int tls_rx_one_record(struct sock *sk, struct msghdr *msg,
1745 int decrypt_skb(struct sock *sk, struct scatterlist *sgout)
1870 tls_read_flush_backlog(struct sock *sk, struct tls_prot_info *prot,
1887 static int tls_rx_reader_acquire(struct sock *sk, struct tls_sw_context_rx *ctx,
1918 static int tls_rx_reader_lock(struct sock *sk, struct tls_sw_context_rx *ctx,
1930 static void tls_rx_reader_release(struct sock *sk, struct tls_sw_context_rx *ctx)
1944 static void tls_rx_reader_unlock(struct sock *sk, struct tls_sw_context_rx *ctx)
1950 int tls_sw_recvmsg(struct sock *sk,
2172 ssize_t tls_sw_splice_read(struct socket *sock, loff_t *ppos,
2176 struct tls_context *tls_ctx = tls_get_ctx(sock->sk);
2179 struct sock *sk = sock->sk;
2243 int tls_sw_read_sock(struct sock *sk, read_descriptor_t *desc,
2339 bool tls_sw_sock_is_readable(struct sock *sk)
2424 static void tls_data_ready(struct sock *sk)
2455 void tls_sw_release_resources_tx(struct sock *sk)
2496 void tls_sw_release_resources_rx(struct sock *sk)
2534 void tls_sw_free_resources_rx(struct sock *sk)
2548 struct sock *sk = tx_work->sk;
2587 void tls_sw_write_space(struct sock *sk, struct tls_context *ctx)
2597 void tls_sw_strparser_arm(struct sock *sk, struct tls_context *tls_ctx)
2615 static struct tls_sw_context_tx *init_ctx_tx(struct tls_context *ctx, struct sock *sk)
2657 int tls_set_sw_offload(struct sock *sk, struct tls_context *ctx, int tx)