Lines Matching defs:sk

329 void tcp_enter_memory_pressure(struct sock *sk)  in tcp_enter_memory_pressure()
380 void tcp_init_sock(struct sock *sk) in tcp_init_sock()
432 static void tcp_tx_timestamp(struct sock *sk, struct sk_buff *skb) in tcp_tx_timestamp()
453 struct sock *sk = sock->sk; in tcp_poll() local
548 int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg) in tcp_ioctl()
616 static void skb_entail(struct sock *sk, struct sk_buff *skb) in skb_entail()
651 static bool tcp_should_autocork(struct sock *sk, struct sk_buff *skb, in tcp_should_autocork()
660 static void tcp_push(struct sock *sk, int flags, int mss_now, in tcp_push()
709 static int __tcp_splice_read(struct sock *sk, struct tcp_splice_state *tss) in __tcp_splice_read()
736 struct sock *sk = sock->sk; in tcp_splice_read() local
816 struct sk_buff *sk_stream_alloc_skb(struct sock *sk, int size, gfp_t gfp, in sk_stream_alloc_skb()
854 static unsigned int tcp_xmit_size_goal(struct sock *sk, u32 mss_now, in tcp_xmit_size_goal()
879 static int tcp_send_mss(struct sock *sk, int *size_goal, int flags) in tcp_send_mss()
889 static ssize_t do_tcp_sendpages(struct sock *sk, struct page *page, int offset, in do_tcp_sendpages()
1016 int tcp_sendpage(struct sock *sk, struct page *page, int offset, in tcp_sendpage()
1033 static inline int select_size(const struct sock *sk, bool sg) in select_size()
1064 static int tcp_sendmsg_fastopen(struct sock *sk, struct msghdr *msg, in tcp_sendmsg_fastopen()
1090 int tcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) in tcp_sendmsg()
1317 static int tcp_recv_urg(struct sock *sk, struct msghdr *msg, int len, int flags) in tcp_recv_urg()
1361 static int tcp_peek_sndq(struct sock *sk, struct msghdr *msg, int len) in tcp_peek_sndq()
1385 static void tcp_cleanup_rbuf(struct sock *sk, int copied) in tcp_cleanup_rbuf()
1443 static void tcp_prequeue_process(struct sock *sk) in tcp_prequeue_process()
1461 static struct sk_buff *tcp_recv_skb(struct sock *sk, u32 seq, u32 *off) in tcp_recv_skb()
1494 int tcp_read_sock(struct sock *sk, read_descriptor_t *desc, in tcp_read_sock()
1574 int tcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock, in tcp_recvmsg()
1910 void tcp_set_state(struct sock *sk, int state) in tcp_set_state()
1969 static int tcp_close_state(struct sock *sk) in tcp_close_state()
1984 void tcp_shutdown(struct sock *sk, int how) in tcp_shutdown()
2004 bool tcp_check_oom(struct sock *sk, int shift) in tcp_check_oom()
2018 void tcp_close(struct sock *sk, long timeout) in tcp_close()
2201 int tcp_disconnect(struct sock *sk, int flags) in tcp_disconnect()
2265 static inline bool tcp_can_repair_sock(const struct sock *sk) in tcp_can_repair_sock()
2323 static int do_tcp_setsockopt(struct sock *sk, int level, in do_tcp_setsockopt()
2610 int tcp_setsockopt(struct sock *sk, int level, int optname, char __user *optval, in tcp_setsockopt()
2623 int compat_tcp_setsockopt(struct sock *sk, int level, int optname, in compat_tcp_setsockopt()
2635 void tcp_get_info(struct sock *sk, struct tcp_info *info) in tcp_get_info()
2724 static int do_tcp_getsockopt(struct sock *sk, int level, in do_tcp_getsockopt()
2914 int tcp_getsockopt(struct sock *sk, int level, int optname, char __user *optval, in tcp_getsockopt()
2927 int compat_tcp_getsockopt(struct sock *sk, int level, int optname, in compat_tcp_getsockopt()
3066 void tcp_done(struct sock *sk) in tcp_done()