Lines Matching refs:sock
130 void update_sk_prot(struct sock *sk, struct tls_context *ctx)
140 int wait_on_pending_writer(struct sock *sk, long *timeo)
169 int tls_push_sg(struct sock *sk,
227 static int tls_handle_open_record(struct sock *sk, int flags)
237 int tls_process_cmsg(struct sock *sk, struct msghdr *msg,
272 int tls_push_partial_record(struct sock *sk, struct tls_context *ctx,
285 void tls_free_partial_record(struct sock *sk, struct tls_context *ctx)
296 static void tls_write_space(struct sock *sk)
327 void tls_ctx_free(struct sock *sk, struct tls_context *ctx)
342 static void tls_sk_proto_cleanup(struct sock *sk,
369 static void tls_sk_proto_close(struct sock *sk, long timeout)
405 static __poll_t tls_sk_poll(struct file *file, struct socket *sock,
410 struct sock *sk = sock->sk;
416 mask = tcp_poll(file, sock, wait);
438 static int do_tls_getsockopt_conf(struct sock *sk, char __user *optval,
499 static int do_tls_getsockopt_tx_zc(struct sock *sk, char __user *optval,
519 static int do_tls_getsockopt_no_pad(struct sock *sk, char __user *optval,
547 static int do_tls_getsockopt(struct sock *sk, int optname,
576 static int tls_getsockopt(struct sock *sk, int level, int optname,
588 static int do_tls_setsockopt_conf(struct sock *sk, sockptr_t optval,
715 static int do_tls_setsockopt_tx_zc(struct sock *sk, sockptr_t optval,
735 static int do_tls_setsockopt_no_pad(struct sock *sk, sockptr_t optval,
767 static int do_tls_setsockopt(struct sock *sk, int optname, sockptr_t optval,
795 static int tls_setsockopt(struct sock *sk, int level, int optname,
807 struct tls_context *tls_ctx_create(struct sock *sk)
857 static void tls_build_proto(struct sock *sk)
932 static int tls_init(struct sock *sk)
969 static void tls_update(struct sock *sk, struct proto *p,
970 void (*write_space)(struct sock *sk))
1004 static int tls_get_info(struct sock *sk, struct sk_buff *skb)
1062 static size_t tls_get_info_size(const struct sock *sk)