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 bool mptcp_try_coalesce(struct sock *sk, struct sk_buff *to, in mptcp_try_coalesce()
164 struct sock *sk = (struct sock *)msk; in mptcp_data_queue_ofo() local
278 struct sock *sk = (struct sock *)msk; in __mptcp_move_skb() local
330 static void mptcp_stop_rtx_timer(struct sock *sk) in mptcp_stop_rtx_timer()
338 static void mptcp_close_wake_up(struct sock *sk) in mptcp_close_wake_up()
352 static bool mptcp_pending_data_fin_ack(struct sock *sk) in mptcp_pending_data_fin_ack()
361 static void mptcp_check_data_fin_ack(struct sock *sk) in mptcp_check_data_fin_ack()
384 static bool mptcp_pending_data_fin(struct sock *sk, u64 *seq) in mptcp_pending_data_fin()
404 static void mptcp_set_datafin_timeout(struct sock *sk) in mptcp_set_datafin_timeout()
415 static void __mptcp_set_timeout(struct sock *sk, long tout) in __mptcp_set_timeout()
428 static void mptcp_set_timeout(struct sock *sk) in mptcp_set_timeout()
494 struct sock *sk = (struct sock *)msk; in mptcp_cleanup_rbuf() local
509 static bool mptcp_check_data_fin(struct sock *sk) in mptcp_check_data_fin()
575 struct sock *sk = (struct sock *)msk; in __mptcp_move_skbs_from_subflow() local
644 struct sock *sk = (struct sock *)msk; in __mptcp_ofo_queue() local
687 static bool __mptcp_subflow_error_report(struct sock *sk, struct sock *ssk) in __mptcp_subflow_error_report()
717 void __mptcp_error_report(struct sock *sk) in __mptcp_error_report()
732 struct sock *sk = (struct sock *)msk; in move_skbs_to_msk() local
754 static void __mptcp_rcvbuf_update(struct sock *sk, struct sock *ssk) in __mptcp_rcvbuf_update()
760 static void __mptcp_data_ready(struct sock *sk, struct sock *ssk) in __mptcp_data_ready()
771 void mptcp_data_ready(struct sock *sk, struct sock *ssk) in mptcp_data_ready()
799 struct sock *sk = (struct sock *)msk; in __mptcp_finish_join() local
818 static void __mptcp_flush_join_list(struct sock *sk, struct list_head *join_list) in __mptcp_flush_join_list()
834 static bool mptcp_rtx_timer_pending(struct sock *sk) in mptcp_rtx_timer_pending()
839 static void mptcp_reset_rtx_timer(struct sock *sk) in mptcp_reset_rtx_timer()
852 bool mptcp_schedule_work(struct sock *sk) in mptcp_schedule_work()
894 static void dfrag_uncharge(struct sock *sk, int len) in dfrag_uncharge()
900 static void dfrag_clear(struct sock *sk, struct mptcp_data_frag *dfrag) in dfrag_clear()
910 static void __mptcp_clean_una(struct sock *sk) in __mptcp_clean_una()
969 static void __mptcp_clean_una_wakeup(struct sock *sk) in __mptcp_clean_una_wakeup()
977 static void mptcp_clean_una_wakeup(struct sock *sk) in mptcp_clean_una_wakeup()
984 static void mptcp_enter_memory_pressure(struct sock *sk) in mptcp_enter_memory_pressure()
1005 static bool mptcp_page_frag_refill(struct sock *sk, struct page_frag *pfrag) in mptcp_page_frag_refill()
1072 static struct sk_buff *__mptcp_do_alloc_tx_skb(struct sock *sk, gfp_t gfp) in __mptcp_do_alloc_tx_skb()
1091 static struct sk_buff *__mptcp_alloc_tx_skb(struct sock *sk, struct sock *ssk, gfp_t gfp) in __mptcp_alloc_tx_skb()
1108 static struct sk_buff *mptcp_alloc_tx_skb(struct sock *sk, struct sock *ssk, bool data_lock_held) in mptcp_alloc_tx_skb()
1145 static int mptcp_sendmsg_frag(struct sock *sk, struct sock *ssk, in mptcp_sendmsg_frag()
1328 struct sock *sk = (struct sock *)msk; in mptcp_subflow_get_send() local
1433 void mptcp_check_and_set_pending(struct sock *sk) in mptcp_check_and_set_pending()
1442 static int __subflow_push_pending(struct sock *sk, struct sock *ssk, in __subflow_push_pending()
1486 void __mptcp_push_pending(struct sock *sk, unsigned int flags) in __mptcp_push_pending()
1551 static void __mptcp_subflow_push_pending(struct sock *sk, struct sock *ssk, bool first) in __mptcp_subflow_push_pending()
1620 static int mptcp_sendmsg_fastopen(struct sock *sk, struct msghdr *msg, in mptcp_sendmsg_fastopen()
1678 static int do_copy_data_nocache(struct sock *sk, int copy, in do_copy_data_nocache()
1695 static u32 mptcp_send_limit(const struct sock *sk) in mptcp_send_limit()
1714 static int mptcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in mptcp_sendmsg()
1845 static int __mptcp_recvmsg_mskq(struct sock *sk, in __mptcp_recvmsg_mskq()
1911 struct sock *sk = (struct sock *)msk; in mptcp_rcv_space_adjust() local
2018 static bool __mptcp_move_skbs(struct sock *sk) in __mptcp_move_skbs()
2065 static unsigned int mptcp_inq_hint(const struct sock *sk) in mptcp_inq_hint()
2086 static int mptcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in mptcp_recvmsg()
2206 struct sock *sk = &icsk->icsk_inet.sk; in mptcp_retransmit_timer() local
2224 struct sock *sk = from_timer(sk, t, sk_timer); in mptcp_tout_timer() local
2271 bool __mptcp_retransmit_pending_data(struct sock *sk) in __mptcp_retransmit_pending_data()
2340 static void __mptcp_close_ssk(struct sock *sk, struct sock *ssk, in __mptcp_close_ssk()
2433 void mptcp_close_ssk(struct sock *sk, struct sock *ssk, in mptcp_close_ssk()
2453 static unsigned int mptcp_sync_mss(struct sock *sk, u32 pmtu) in mptcp_sync_mss()
2458 static void __mptcp_close_subflow(struct sock *sk) in __mptcp_close_subflow()
2483 static bool mptcp_close_tout_expired(const struct sock *sk) in mptcp_close_tout_expired()
2496 struct sock *sk = (struct sock *)msk; in mptcp_check_fastclose() local
2542 static void __mptcp_retrans(struct sock *sk) in __mptcp_retrans()
2626 struct sock *sk = (struct sock *)msk; in mptcp_reset_tout_timer() local
2659 static void mptcp_do_fastclose(struct sock *sk) in mptcp_do_fastclose()
2673 struct sock *sk = (struct sock *)msk; in mptcp_worker() local
2715 static void __mptcp_init_sock(struct sock *sk) in __mptcp_init_sock()
2745 static void mptcp_ca_reset(struct sock *sk) in mptcp_ca_reset()
2758 static int mptcp_init_sock(struct sock *sk) in mptcp_init_sock()
2792 static void __mptcp_clear_xmit(struct sock *sk) in __mptcp_clear_xmit()
2802 void mptcp_cancel_work(struct sock *sk) in mptcp_cancel_work()
2810 void mptcp_subflow_shutdown(struct sock *sk, struct sock *ssk, int how) in mptcp_subflow_shutdown()
2845 void mptcp_set_state(struct sock *sk, int state) in mptcp_set_state()
2885 static int mptcp_close_state(struct sock *sk) in mptcp_close_state()
2895 static void mptcp_check_send_data_fin(struct sock *sk) in mptcp_check_send_data_fin()
2920 static void __mptcp_wr_shutdown(struct sock *sk) in __mptcp_wr_shutdown()
2935 static void __mptcp_destroy_sock(struct sock *sk) in __mptcp_destroy_sock()
2956 void __mptcp_unaccepted_force_close(struct sock *sk) in __mptcp_unaccepted_force_close()
2963 static __poll_t mptcp_check_readable(struct sock *sk) in mptcp_check_readable()
2968 static void mptcp_check_listen_stop(struct sock *sk) in mptcp_check_listen_stop()
2988 bool __mptcp_close(struct sock *sk, long timeout) in __mptcp_close()
3058 static void mptcp_close(struct sock *sk, long timeout) in mptcp_close()
3095 static int mptcp_disconnect(struct sock *sk, int flags) in mptcp_disconnect()
3143 static struct ipv6_pinfo *mptcp_inet6_sk(const struct sock *sk) in mptcp_inet6_sk()
3150 static void mptcp_copy_ip6_options(struct sock *newsk, const struct sock *sk) in mptcp_copy_ip6_options()
3170 static void mptcp_copy_ip_options(struct sock *newsk, const struct sock *sk) in mptcp_copy_ip_options()
3190 struct sock *mptcp_sk_clone_init(const struct sock *sk, in mptcp_sk_clone_init()
3290 struct sock *sk = (struct sock *)msk; in mptcp_destroy_common() local
3308 static void mptcp_destroy(struct sock *sk) in mptcp_destroy()
3318 void __mptcp_data_acked(struct sock *sk) in __mptcp_data_acked()
3326 void __mptcp_check_push(struct sock *sk, struct sock *ssk) in __mptcp_check_push()
3343 static void mptcp_release_cb(struct sock *sk) in mptcp_release_cb()
3429 struct sock *sk = subflow->conn; in mptcp_subflow_process_delegated() local
3451 static int mptcp_hash(struct sock *sk) in mptcp_hash()
3460 static void mptcp_unhash(struct sock *sk) in mptcp_unhash()
3465 static int mptcp_get_port(struct sock *sk, unsigned short snum) in mptcp_get_port()
3480 struct sock *sk; in mptcp_finish_connect() local
3499 void mptcp_sock_graft(struct sock *sk, struct socket *parent) in mptcp_sock_graft()
3559 static void mptcp_shutdown(struct sock *sk, int how) in mptcp_shutdown()
3569 const struct sock *sk = (void *)msk; in mptcp_ioctl_outq() local
3596 static int mptcp_ioctl(struct sock *sk, int cmd, int *karg) in mptcp_ioctl()
3629 static int mptcp_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) in mptcp_connect()
3743 struct sock *ssk, *sk = sock->sk; in mptcp_bind() local
3770 struct sock *sk = sock->sk; in mptcp_listen() local
3894 struct sock *sk = (struct sock *)msk; in mptcp_check_writeable() local
3910 struct sock *sk = sock->sk; in mptcp_poll() local