Lines Matching defs:sk

77 static bool mptcp_is_tcpsk(struct sock *sk)  in mptcp_is_tcpsk()
104 struct sock *sk = (struct sock *)msk; in __mptcp_socket_create() local
123 static void mptcp_drop(struct sock *sk, struct sk_buff *skb) in mptcp_drop()
129 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
333 static void mptcp_stop_timer(struct sock *sk) in mptcp_stop_timer()
341 static void mptcp_close_wake_up(struct sock *sk) in mptcp_close_wake_up()
354 static bool mptcp_pending_data_fin_ack(struct sock *sk) in mptcp_pending_data_fin_ack()
364 static void mptcp_check_data_fin_ack(struct sock *sk) in mptcp_check_data_fin_ack()
386 static bool mptcp_pending_data_fin(struct sock *sk, u64 *seq) in mptcp_pending_data_fin()
406 static void mptcp_set_datafin_timeout(const struct sock *sk) in mptcp_set_datafin_timeout()
414 static void __mptcp_set_timeout(struct sock *sk, long tout) in __mptcp_set_timeout()
427 static void mptcp_set_timeout(struct sock *sk) in mptcp_set_timeout()
488 struct sock *sk = (struct sock *)msk; in mptcp_cleanup_rbuf() local
503 static bool mptcp_check_data_fin(struct sock *sk) in mptcp_check_data_fin()
560 struct sock *sk = (struct sock *)msk; in __mptcp_move_skbs_from_subflow() local
650 struct sock *sk = (struct sock *)msk; in __mptcp_ofo_queue() local
696 struct sock *sk = (struct sock *)msk; in move_skbs_to_msk() local
718 void mptcp_data_ready(struct sock *sk, struct sock *ssk) in mptcp_data_ready()
793 static bool mptcp_timer_pending(struct sock *sk) in mptcp_timer_pending()
798 static void mptcp_reset_timer(struct sock *sk) in mptcp_reset_timer()
811 bool mptcp_schedule_work(struct sock *sk) in mptcp_schedule_work()
824 void mptcp_subflow_eof(struct sock *sk) in mptcp_subflow_eof()
833 struct sock *sk = (struct sock *)msk; in mptcp_check_for_eof() local
870 struct sock *sk = (struct sock *)msk; in mptcp_subflow_recv_lookup() local
916 static void __mptcp_wmem_reserve(struct sock *sk, int size) in __mptcp_wmem_reserve()
952 static void __mptcp_update_wmem(struct sock *sk) in __mptcp_update_wmem()
971 static bool mptcp_wmem_alloc(struct sock *sk, int size) in mptcp_wmem_alloc()
997 static void mptcp_wmem_uncharge(struct sock *sk, int size) in mptcp_wmem_uncharge()
1006 static void __mptcp_mem_reclaim_partial(struct sock *sk) in __mptcp_mem_reclaim_partial()
1013 static void mptcp_mem_reclaim_partial(struct sock *sk) in mptcp_mem_reclaim_partial()
1032 static void dfrag_uncharge(struct sock *sk, int len) in dfrag_uncharge()
1038 static void dfrag_clear(struct sock *sk, struct mptcp_data_frag *dfrag) in dfrag_clear()
1047 static void __mptcp_clean_una(struct sock *sk) in __mptcp_clean_una()
1115 static void __mptcp_clean_una_wakeup(struct sock *sk) in __mptcp_clean_una_wakeup()
1124 static void mptcp_clean_una_wakeup(struct sock *sk) in mptcp_clean_una_wakeup()
1131 static void mptcp_enter_memory_pressure(struct sock *sk) in mptcp_enter_memory_pressure()
1151 static bool mptcp_page_frag_refill(struct sock *sk, struct page_frag *pfrag) in mptcp_page_frag_refill()
1215 static struct sk_buff *__mptcp_do_alloc_tx_skb(struct sock *sk, gfp_t gfp) in __mptcp_do_alloc_tx_skb()
1233 static bool __mptcp_alloc_tx_skb(struct sock *sk, struct sock *ssk, gfp_t gfp) in __mptcp_alloc_tx_skb()
1257 static bool mptcp_alloc_tx_skb(struct sock *sk, struct sock *ssk, bool data_lock_held) in mptcp_alloc_tx_skb()
1282 static int mptcp_sendmsg_frag(struct sock *sk, struct sock *ssk, in mptcp_sendmsg_frag()
1435 struct sock *sk = (struct sock *)msk; in mptcp_subflow_get_send() local
1501 static void mptcp_push_release(struct sock *sk, struct sock *ssk, in mptcp_push_release()
1508 void __mptcp_push_pending(struct sock *sk, unsigned int flags) in __mptcp_push_pending()
1573 static void __mptcp_subflow_push_pending(struct sock *sk, struct sock *ssk) in __mptcp_subflow_push_pending()
1637 static void mptcp_set_nospace(struct sock *sk) in mptcp_set_nospace()
1646 static int mptcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in mptcp_sendmsg()
1818 struct sock *sk = (struct sock *)msk; in mptcp_rcv_space_adjust() local
1909 static void __mptcp_update_rmem(struct sock *sk) in __mptcp_update_rmem()
1921 static void __mptcp_splice_receive_queue(struct sock *sk) in __mptcp_splice_receive_queue()
1930 struct sock *sk = (struct sock *)msk; in __mptcp_move_skbs() local
1972 static int mptcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in mptcp_recvmsg()
2085 struct sock *sk = &icsk->icsk_inet.sk; in mptcp_retransmit_timer() local
2103 struct sock *sk = from_timer(sk, t, sk_timer); in mptcp_timeout_timer() local
2163 bool __mptcp_retransmit_pending_data(struct sock *sk) in __mptcp_retransmit_pending_data()
2215 static void __mptcp_close_ssk(struct sock *sk, struct sock *ssk, in __mptcp_close_ssk()
2264 void mptcp_close_ssk(struct sock *sk, struct sock *ssk, in mptcp_close_ssk()
2272 static unsigned int mptcp_sync_mss(struct sock *sk, u32 pmtu) in mptcp_sync_mss()
2297 static bool mptcp_check_close_timeout(const struct sock *sk) in mptcp_check_close_timeout()
2319 struct sock *sk = &msk->sk.icsk_inet.sk; in mptcp_check_fastclose() local
2346 static void __mptcp_retrans(struct sock *sk) in __mptcp_retrans()
2405 struct sock *sk = &msk->sk.icsk_inet.sk; in mptcp_worker() local
2449 static int __mptcp_init_sock(struct sock *sk) in __mptcp_init_sock()
2481 static int mptcp_init_sock(struct sock *sk) in mptcp_init_sock()
2518 static void __mptcp_clear_xmit(struct sock *sk) in __mptcp_clear_xmit()
2528 static void mptcp_cancel_work(struct sock *sk) in mptcp_cancel_work()
2536 void mptcp_subflow_shutdown(struct sock *sk, struct sock *ssk, int how) in mptcp_subflow_shutdown()
2582 static int mptcp_close_state(struct sock *sk) in mptcp_close_state()
2592 static void __mptcp_check_send_data_fin(struct sock *sk) in __mptcp_check_send_data_fin()
2630 static void __mptcp_wr_shutdown(struct sock *sk) in __mptcp_wr_shutdown()
2645 static void __mptcp_destroy_sock(struct sock *sk) in __mptcp_destroy_sock()
2684 static void mptcp_close(struct sock *sk, long timeout) in mptcp_close()
2755 static int mptcp_disconnect(struct sock *sk, int flags) in mptcp_disconnect()
2773 static struct ipv6_pinfo *mptcp_inet6_sk(const struct sock *sk) in mptcp_inet6_sk()
2781 struct sock *mptcp_sk_clone(const struct sock *sk, in mptcp_sk_clone()
2853 static struct sock *mptcp_accept(struct sock *sk, int flags, int *err, in mptcp_accept()
2901 struct sock *sk = (struct sock *)msk; in mptcp_destroy_common() local
2913 static void mptcp_destroy(struct sock *sk) in mptcp_destroy()
2921 void __mptcp_data_acked(struct sock *sk) in __mptcp_data_acked()
2932 void __mptcp_check_push(struct sock *sk, struct sock *ssk) in __mptcp_check_push()
2950 static void mptcp_release_cb(struct sock *sk) in mptcp_release_cb()
3000 struct sock *sk = subflow->conn; in mptcp_subflow_process_delegated() local
3011 static int mptcp_hash(struct sock *sk) in mptcp_hash()
3020 static void mptcp_unhash(struct sock *sk) in mptcp_unhash()
3025 static int mptcp_get_port(struct sock *sk, unsigned short snum) in mptcp_get_port()
3042 struct sock *sk; in mptcp_finish_connect() local
3073 void mptcp_sock_graft(struct sock *sk, struct socket *parent) in mptcp_sock_graft()
3135 static void mptcp_shutdown(struct sock *sk, int how) in mptcp_shutdown()
3369 struct sock *sk = (struct sock *)msk; in mptcp_check_writeable() local
3388 struct sock *sk = sock->sk; in mptcp_poll() local
3540 static void mptcp_v6_destroy(struct sock *sk) in mptcp_v6_destroy()