Lines Matching defs:sk
340 void tcp_enter_memory_pressure(struct sock *sk) in tcp_enter_memory_pressure()
355 void tcp_leave_memory_pressure(struct sock *sk) in tcp_leave_memory_pressure()
419 void tcp_md5_destruct_sock(struct sock *sk) in tcp_md5_destruct_sock()
439 void tcp_init_sock(struct sock *sk) in tcp_init_sock()
501 static void tcp_tx_timestamp(struct sock *sk, struct sockcm_cookie *sockc) in tcp_tx_timestamp()
522 static bool tcp_stream_is_readable(struct sock *sk, int target) in tcp_stream_is_readable()
539 struct sock *sk = sock->sk; in tcp_poll() local
643 int tcp_ioctl(struct sock *sk, int cmd, int *karg) in tcp_ioctl()
701 void tcp_skb_entail(struct sock *sk, struct sk_buff *skb) in tcp_skb_entail()
735 static bool tcp_should_autocork(struct sock *sk, struct sk_buff *skb, in tcp_should_autocork()
745 void tcp_push(struct sock *sk, int flags, int mss_now, in tcp_push()
793 static int __tcp_splice_read(struct sock *sk, struct tcp_splice_state *tss) in __tcp_splice_read()
820 struct sock *sk = sock->sk; in tcp_splice_read() local
907 struct sk_buff *tcp_stream_alloc_skb(struct sock *sk, gfp_t gfp, in tcp_stream_alloc_skb()
937 static unsigned int tcp_xmit_size_goal(struct sock *sk, u32 mss_now, in tcp_xmit_size_goal()
961 int tcp_send_mss(struct sock *sk, int *size_goal, int flags) in tcp_send_mss()
977 void tcp_remove_empty_skb(struct sock *sk) in tcp_remove_empty_skb()
990 static int tcp_downgrade_zcopy_pure(struct sock *sk, struct sk_buff *skb) in tcp_downgrade_zcopy_pure()
1006 int tcp_wmem_schedule(struct sock *sk, int copy) in tcp_wmem_schedule()
1031 int tcp_sendmsg_fastopen(struct sock *sk, struct msghdr *msg, int *copied, in tcp_sendmsg_fastopen()
1078 int tcp_sendmsg_locked(struct sock *sk, struct msghdr *msg, size_t size) in tcp_sendmsg_locked()
1408 int tcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) in tcp_sendmsg()
1422 struct sock *sk = sock->sk; in tcp_splice_eof() local
1441 static int tcp_recv_urg(struct sock *sk, struct msghdr *msg, int len, int flags) in tcp_recv_urg()
1485 static int tcp_peek_sndq(struct sock *sk, struct msghdr *msg, int len) in tcp_peek_sndq()
1514 void __tcp_cleanup_rbuf(struct sock *sk, int copied) in __tcp_cleanup_rbuf()
1564 void tcp_cleanup_rbuf(struct sock *sk, int copied) in tcp_cleanup_rbuf()
1575 static void tcp_eat_recv_skb(struct sock *sk, struct sk_buff *skb) in tcp_eat_recv_skb()
1587 struct sk_buff *tcp_recv_skb(struct sock *sk, u32 seq, u32 *off) in tcp_recv_skb()
1623 static int __tcp_read_sock(struct sock *sk, read_descriptor_t *desc, in __tcp_read_sock()
1701 int tcp_read_sock(struct sock *sk, read_descriptor_t *desc, in tcp_read_sock()
1709 int tcp_read_sock_noack(struct sock *sk, read_descriptor_t *desc, in tcp_read_sock_noack()
1716 int tcp_read_skb(struct sock *sk, skb_read_actor_t recv_actor) in tcp_read_skb()
1746 void tcp_read_done(struct sock *sk, size_t len) in tcp_read_done()
1792 int tcp_set_rcvlowat(struct sock *sk, int val) in tcp_set_rcvlowat()
1909 static void tcp_zerocopy_set_hint_for_skb(struct sock *sk, in tcp_zerocopy_set_hint_for_skb()
1949 static int receive_fallback_to_copy(struct sock *sk, in receive_fallback_to_copy()
2010 struct sock *sk, in tcp_zc_handle_leftover()
2117 static void tcp_zc_finalize_rx_tstamp(struct sock *sk, in tcp_zc_finalize_rx_tstamp()
2169 static int tcp_zerocopy_receive(struct sock *sk, in tcp_zerocopy_receive()
2321 void tcp_recv_timestamp(struct msghdr *msg, const struct sock *sk, in tcp_recv_timestamp()
2391 static int tcp_inq_hint(struct sock *sk) in tcp_inq_hint()
2420 static void tcp_xa_pool_commit_locked(struct sock *sk, struct tcp_xa_pool *p) in tcp_xa_pool_commit_locked()
2436 static void tcp_xa_pool_commit(struct sock *sk, struct tcp_xa_pool *p) in tcp_xa_pool_commit()
2448 static int tcp_xa_pool_refill(struct sock *sk, struct tcp_xa_pool *p, in tcp_xa_pool_refill()
2477 static int tcp_recvmsg_dmabuf(struct sock *sk, const struct sk_buff *skb, in tcp_recvmsg_dmabuf()
2633 static int tcp_recvmsg_locked(struct sock *sk, struct msghdr *msg, size_t len, in tcp_recvmsg_locked()
2913 int tcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int flags, in tcp_recvmsg()
2945 void tcp_set_state(struct sock *sk, int state) in tcp_set_state()
3040 static int tcp_close_state(struct sock *sk) in tcp_close_state()
3055 void tcp_shutdown(struct sock *sk, int how) in tcp_shutdown()
3101 static bool tcp_out_of_memory(const struct sock *sk) in tcp_out_of_memory()
3109 bool tcp_check_oom(const struct sock *sk, int shift) in tcp_check_oom()
3123 void __tcp_close(struct sock *sk, long timeout) in __tcp_close()
3295 void tcp_close(struct sock *sk, long timeout) in tcp_close()
3315 static void tcp_rtx_queue_purge(struct sock *sk) in tcp_rtx_queue_purge()
3332 void tcp_write_queue_purge(struct sock *sk) in tcp_write_queue_purge()
3348 int tcp_disconnect(struct sock *sk, int flags) in tcp_disconnect()
3495 static inline bool tcp_can_repair_sock(const struct sock *sk) in tcp_can_repair_sock()
3533 static int tcp_repair_options_est(struct sock *sk, sockptr_t optbuf, in tcp_repair_options_est()
3607 void __tcp_sock_set_cork(struct sock *sk, bool on) in __tcp_sock_set_cork()
3621 void tcp_sock_set_cork(struct sock *sk, bool on) in tcp_sock_set_cork()
3635 void __tcp_sock_set_nodelay(struct sock *sk, bool on) in __tcp_sock_set_nodelay()
3645 void tcp_sock_set_nodelay(struct sock *sk) in tcp_sock_set_nodelay()
3653 static void __tcp_sock_set_quickack(struct sock *sk, int val) in __tcp_sock_set_quickack()
3670 void tcp_sock_set_quickack(struct sock *sk, int val) in tcp_sock_set_quickack()
3678 int tcp_sock_set_syncnt(struct sock *sk, int val) in tcp_sock_set_syncnt()
3688 int tcp_sock_set_user_timeout(struct sock *sk, int val) in tcp_sock_set_user_timeout()
3701 int tcp_sock_set_keepidle_locked(struct sock *sk, int val) in tcp_sock_set_keepidle_locked()
3724 int tcp_sock_set_keepidle(struct sock *sk, int val) in tcp_sock_set_keepidle()
3735 int tcp_sock_set_keepintvl(struct sock *sk, int val) in tcp_sock_set_keepintvl()
3745 int tcp_sock_set_keepcnt(struct sock *sk, int val) in tcp_sock_set_keepcnt()
3756 int tcp_set_window_clamp(struct sock *sk, int val) in tcp_set_window_clamp()
3788 int tcp_sock_set_maxseg(struct sock *sk, int val) in tcp_sock_set_maxseg()
3804 int do_tcp_setsockopt(struct sock *sk, int level, int optname, in do_tcp_setsockopt()
4135 int tcp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in tcp_setsockopt()
4168 void tcp_get_info(struct sock *sk, struct tcp_info *info) in tcp_get_info()
4359 struct sk_buff *tcp_get_timestamping_opt_stats(const struct sock *sk, in tcp_get_timestamping_opt_stats()
4426 int do_tcp_getsockopt(struct sock *sk, int level, in do_tcp_getsockopt()
4803 int tcp_getsockopt(struct sock *sk, int level, int optname, char __user *optval, in tcp_getsockopt()
4869 tcp_inbound_md5_hash(const struct sock *sk, const struct sk_buff *skb, in tcp_inbound_md5_hash()
4910 tcp_inbound_md5_hash(const struct sock *sk, const struct sk_buff *skb, in tcp_inbound_md5_hash()
4921 tcp_inbound_hash(struct sock *sk, const struct request_sock *req, in tcp_inbound_hash()
4987 void tcp_done(struct sock *sk) in tcp_done()
5014 int tcp_abort(struct sock *sk, int err) in tcp_abort()