Lines Matching defs:sk

58 static const struct proto_ops *mptcp_fallback_tcp_ops(const struct sock *sk)  in mptcp_fallback_tcp_ops()
71 struct sock *sk = (struct sock *)msk; in __mptcp_socket_create() local
100 struct sock *sk = (struct sock *)msk; in __mptcp_nmpc_sk() local
115 static void mptcp_drop(struct sock *sk, struct sk_buff *skb) in mptcp_drop()
121 static void mptcp_rmem_fwd_alloc_add(struct sock *sk, int size) in mptcp_rmem_fwd_alloc_add()
127 static void mptcp_rmem_charge(struct sock *sk, int size) in mptcp_rmem_charge()
132 static bool mptcp_try_coalesce(struct sock *sk, struct sk_buff *to, in mptcp_try_coalesce()
168 static void __mptcp_rmem_reclaim(struct sock *sk, int amount) in __mptcp_rmem_reclaim()
175 static void mptcp_rmem_uncharge(struct sock *sk, int size) in mptcp_rmem_uncharge()
191 struct sock *sk = skb->sk; in mptcp_rfree() local
197 void mptcp_set_owner_r(struct sk_buff *skb, struct sock *sk) in mptcp_set_owner_r()
212 struct sock *sk = (struct sock *)msk; in mptcp_data_queue_ofo() local
321 static bool mptcp_rmem_schedule(struct sock *sk, struct sock *ssk, int size) in mptcp_rmem_schedule()
344 struct sock *sk = (struct sock *)msk; in __mptcp_move_skb() local
395 static void mptcp_stop_rtx_timer(struct sock *sk) in mptcp_stop_rtx_timer()
403 static void mptcp_close_wake_up(struct sock *sk) in mptcp_close_wake_up()
417 static bool mptcp_pending_data_fin_ack(struct sock *sk) in mptcp_pending_data_fin_ack()
426 static void mptcp_check_data_fin_ack(struct sock *sk) in mptcp_check_data_fin_ack()
449 static bool mptcp_pending_data_fin(struct sock *sk, u64 *seq) in mptcp_pending_data_fin()
469 static void mptcp_set_datafin_timeout(struct sock *sk) in mptcp_set_datafin_timeout()
480 static void __mptcp_set_timeout(struct sock *sk, long tout) in __mptcp_set_timeout()
493 static void mptcp_set_timeout(struct sock *sk) in mptcp_set_timeout()
559 struct sock *sk = (struct sock *)msk; in mptcp_cleanup_rbuf() local
574 static bool mptcp_check_data_fin(struct sock *sk) in mptcp_check_data_fin()
641 struct sock *sk = (struct sock *)msk; in __mptcp_move_skbs_from_subflow() local
739 struct sock *sk = (struct sock *)msk; in __mptcp_ofo_queue() local
782 static bool __mptcp_subflow_error_report(struct sock *sk, struct sock *ssk) in __mptcp_subflow_error_report()
812 void __mptcp_error_report(struct sock *sk) in __mptcp_error_report()
827 struct sock *sk = (struct sock *)msk; in move_skbs_to_msk() local
849 void mptcp_data_ready(struct sock *sk, struct sock *ssk) in mptcp_data_ready()
887 struct sock *sk = (struct sock *)msk; in __mptcp_finish_join() local
906 static void __mptcp_flush_join_list(struct sock *sk, struct list_head *join_list) in __mptcp_flush_join_list()
922 static bool mptcp_rtx_timer_pending(struct sock *sk) in mptcp_rtx_timer_pending()
927 static void mptcp_reset_rtx_timer(struct sock *sk) in mptcp_reset_rtx_timer()
940 bool mptcp_schedule_work(struct sock *sk) in mptcp_schedule_work()
996 static void dfrag_uncharge(struct sock *sk, int len) in dfrag_uncharge()
1002 static void dfrag_clear(struct sock *sk, struct mptcp_data_frag *dfrag) in dfrag_clear()
1012 static void __mptcp_clean_una(struct sock *sk) in __mptcp_clean_una()
1071 static void __mptcp_clean_una_wakeup(struct sock *sk) in __mptcp_clean_una_wakeup()
1079 static void mptcp_clean_una_wakeup(struct sock *sk) in mptcp_clean_una_wakeup()
1086 static void mptcp_enter_memory_pressure(struct sock *sk) in mptcp_enter_memory_pressure()
1107 static bool mptcp_page_frag_refill(struct sock *sk, struct page_frag *pfrag) in mptcp_page_frag_refill()
1174 static struct sk_buff *__mptcp_do_alloc_tx_skb(struct sock *sk, gfp_t gfp) in __mptcp_do_alloc_tx_skb()
1193 static struct sk_buff *__mptcp_alloc_tx_skb(struct sock *sk, struct sock *ssk, gfp_t gfp) in __mptcp_alloc_tx_skb()
1210 static struct sk_buff *mptcp_alloc_tx_skb(struct sock *sk, struct sock *ssk, bool data_lock_held) in mptcp_alloc_tx_skb()
1247 static int mptcp_sendmsg_frag(struct sock *sk, struct sock *ssk, in mptcp_sendmsg_frag()
1430 struct sock *sk = (struct sock *)msk; in mptcp_subflow_get_send() local
1535 void mptcp_check_and_set_pending(struct sock *sk) in mptcp_check_and_set_pending()
1544 static int __subflow_push_pending(struct sock *sk, struct sock *ssk, in __subflow_push_pending()
1588 void __mptcp_push_pending(struct sock *sk, unsigned int flags) in __mptcp_push_pending()
1653 static void __mptcp_subflow_push_pending(struct sock *sk, struct sock *ssk, bool first) in __mptcp_subflow_push_pending()
1722 static int mptcp_sendmsg_fastopen(struct sock *sk, struct msghdr *msg, in mptcp_sendmsg_fastopen()
1780 static int do_copy_data_nocache(struct sock *sk, int copy, in do_copy_data_nocache()
1797 static u32 mptcp_send_limit(const struct sock *sk) in mptcp_send_limit()
1816 static int mptcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in mptcp_sendmsg()
2011 struct sock *sk = (struct sock *)msk; in mptcp_rcv_space_adjust() local
2104 static void __mptcp_update_rmem(struct sock *sk) in __mptcp_update_rmem()
2116 static void __mptcp_splice_receive_queue(struct sock *sk) in __mptcp_splice_receive_queue()
2125 struct sock *sk = (struct sock *)msk; in __mptcp_move_skbs() local
2166 static unsigned int mptcp_inq_hint(const struct sock *sk) in mptcp_inq_hint()
2187 static int mptcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in mptcp_recvmsg()
2308 struct sock *sk = &icsk->icsk_inet.sk; in mptcp_retransmit_timer() local
2326 struct sock *sk = from_timer(sk, t, sk_timer); in mptcp_tout_timer() local
2373 bool __mptcp_retransmit_pending_data(struct sock *sk) in __mptcp_retransmit_pending_data()
2442 static void __mptcp_close_ssk(struct sock *sk, struct sock *ssk, in __mptcp_close_ssk()
2535 void mptcp_close_ssk(struct sock *sk, struct sock *ssk, in mptcp_close_ssk()
2555 static unsigned int mptcp_sync_mss(struct sock *sk, u32 pmtu) in mptcp_sync_mss()
2560 static void __mptcp_close_subflow(struct sock *sk) in __mptcp_close_subflow()
2585 static bool mptcp_close_tout_expired(const struct sock *sk) in mptcp_close_tout_expired()
2598 struct sock *sk = (struct sock *)msk; in mptcp_check_fastclose() local
2644 static void __mptcp_retrans(struct sock *sk) in __mptcp_retrans()
2728 struct sock *sk = (struct sock *)msk; in mptcp_reset_tout_timer() local
2761 static void mptcp_do_fastclose(struct sock *sk) in mptcp_do_fastclose()
2775 struct sock *sk = (struct sock *)msk; in mptcp_worker() local
2817 static void __mptcp_init_sock(struct sock *sk) in __mptcp_init_sock()
2850 static void mptcp_ca_reset(struct sock *sk) in mptcp_ca_reset()
2863 static int mptcp_init_sock(struct sock *sk) in mptcp_init_sock()
2897 static void __mptcp_clear_xmit(struct sock *sk) in __mptcp_clear_xmit()
2907 void mptcp_cancel_work(struct sock *sk) in mptcp_cancel_work()
2915 void mptcp_subflow_shutdown(struct sock *sk, struct sock *ssk, int how) in mptcp_subflow_shutdown()
2950 void mptcp_set_state(struct sock *sk, int state) in mptcp_set_state()
2990 static int mptcp_close_state(struct sock *sk) in mptcp_close_state()
3000 static void mptcp_check_send_data_fin(struct sock *sk) in mptcp_check_send_data_fin()
3025 static void __mptcp_wr_shutdown(struct sock *sk) in __mptcp_wr_shutdown()
3040 static void __mptcp_destroy_sock(struct sock *sk) in __mptcp_destroy_sock()
3063 void __mptcp_unaccepted_force_close(struct sock *sk) in __mptcp_unaccepted_force_close()
3070 static __poll_t mptcp_check_readable(struct sock *sk) in mptcp_check_readable()
3075 static void mptcp_check_listen_stop(struct sock *sk) in mptcp_check_listen_stop()
3095 bool __mptcp_close(struct sock *sk, long timeout) in __mptcp_close()
3165 static void mptcp_close(struct sock *sk, long timeout) in mptcp_close()
3202 static int mptcp_disconnect(struct sock *sk, int flags) in mptcp_disconnect()
3250 static struct ipv6_pinfo *mptcp_inet6_sk(const struct sock *sk) in mptcp_inet6_sk()
3257 static void mptcp_copy_ip6_options(struct sock *newsk, const struct sock *sk) in mptcp_copy_ip6_options()
3277 static void mptcp_copy_ip_options(struct sock *newsk, const struct sock *sk) in mptcp_copy_ip_options()
3300 struct sock *mptcp_sk_clone_init(const struct sock *sk, in mptcp_sk_clone_init()
3400 struct sock *sk = (struct sock *)msk; in mptcp_destroy_common() local
3425 static void mptcp_destroy(struct sock *sk) in mptcp_destroy()
3435 void __mptcp_data_acked(struct sock *sk) in __mptcp_data_acked()
3443 void __mptcp_check_push(struct sock *sk, struct sock *ssk) in __mptcp_check_push()
3459 static void mptcp_release_cb(struct sock *sk) in mptcp_release_cb()
3543 struct sock *sk = subflow->conn; in mptcp_subflow_process_delegated() local
3565 static int mptcp_hash(struct sock *sk) in mptcp_hash()
3574 static void mptcp_unhash(struct sock *sk) in mptcp_unhash()
3579 static int mptcp_get_port(struct sock *sk, unsigned short snum) in mptcp_get_port()
3594 struct sock *sk; in mptcp_finish_connect() local
3613 void mptcp_sock_graft(struct sock *sk, struct socket *parent) in mptcp_sock_graft()
3673 static void mptcp_shutdown(struct sock *sk, int how) in mptcp_shutdown()
3681 static int mptcp_forward_alloc_get(const struct sock *sk) in mptcp_forward_alloc_get()
3689 const struct sock *sk = (void *)msk; in mptcp_ioctl_outq() local
3716 static int mptcp_ioctl(struct sock *sk, int cmd, int *karg) in mptcp_ioctl()
3748 static int mptcp_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) in mptcp_connect()
3863 struct sock *ssk, *sk = sock->sk; in mptcp_bind() local
3890 struct sock *sk = sock->sk; in mptcp_listen() local
4014 struct sock *sk = (struct sock *)msk; in mptcp_check_writeable() local
4030 struct sock *sk = sock->sk; in mptcp_poll() local