Lines Matching defs:sock

47 noinline void tls_err_abort(struct sock *sk, int err)
227 static int tls_do_decryption(struct sock *sk,
279 static void tls_trim_both_msgs(struct sock *sk, int target_size)
292 static int tls_alloc_encrypted_msg(struct sock *sk, int len)
302 static int tls_clone_plaintext_msg(struct sock *sk, int required)
326 static struct tls_rec *tls_get_rec(struct sock *sk)
358 static void tls_free_rec(struct sock *sk, struct tls_rec *rec)
365 static void tls_free_open_rec(struct sock *sk)
377 int tls_tx_records(struct sock *sk, int flags)
439 struct sock *sk = req->data;
493 static int tls_do_encryption(struct sock *sk,
554 static int tls_split_open_record(struct sock *sk, struct tls_rec *from,
639 static void tls_merge_open_record(struct sock *sk, struct tls_rec *to,
672 static int tls_push_record(struct sock *sk, int flags,
791 static int bpf_exec_tx_verdict(struct sk_msg *msg, struct sock *sk,
799 struct sock *sk_redir;
901 static int tls_sw_push_pending_record(struct sock *sk, int flags)
921 int tls_sw_sendmsg(struct sock *sk, struct msghdr *msg, size_t size)
1147 static int tls_sw_do_sendpage(struct sock *sk, struct page *page,
1265 int tls_sw_sendpage_locked(struct sock *sk, struct page *page,
1276 int tls_sw_sendpage(struct sock *sk, struct page *page,
1296 static struct sk_buff *tls_wait_data(struct sock *sk, struct sk_psock *psock,
1346 static int tls_setup_from_iter(struct sock *sk, struct iov_iter *from,
1412 static int decrypt_internal(struct sock *sk, struct sk_buff *skb,
1549 static int decrypt_skb_update(struct sock *sk, struct sk_buff *skb,
1600 int decrypt_skb(struct sock *sk, struct sk_buff *skb,
1609 static bool tls_sw_advance_skb(struct sock *sk, struct sk_buff *skb,
1742 int tls_sw_recvmsg(struct sock *sk,
1989 ssize_t tls_sw_splice_read(struct socket *sock, loff_t *ppos,
1993 struct tls_context *tls_ctx = tls_get_ctx(sock->sk);
1996 struct sock *sk = sock->sk;
2039 bool tls_sw_stream_read(const struct sock *sk)
2131 static void tls_data_ready(struct sock *sk)
2156 void tls_sw_release_resources_tx(struct sock *sk)
2204 void tls_sw_release_resources_rx(struct sock *sk)
2244 void tls_sw_free_resources_rx(struct sock *sk)
2258 struct sock *sk = tx_work->sk;
2286 void tls_sw_write_space(struct sock *sk, struct tls_context *ctx)
2296 void tls_sw_strparser_arm(struct sock *sk, struct tls_context *tls_ctx)
2308 int tls_set_sw_offload(struct sock *sk, struct tls_context *ctx, int tx)