Lines Matching defs:sk
70 static bool mptcp_is_tcpsk(struct sock *sk) in mptcp_is_tcpsk()
97 struct sock *sk = (struct sock *)msk; in __mptcp_socket_create() local
119 static void mptcp_drop(struct sock *sk, struct sk_buff *skb) in mptcp_drop()
125 static void mptcp_rmem_charge(struct sock *sk, int size) in mptcp_rmem_charge()
130 static bool mptcp_try_coalesce(struct sock *sk, struct sk_buff *to, in mptcp_try_coalesce()
165 static void __mptcp_rmem_reclaim(struct sock *sk, int amount) in __mptcp_rmem_reclaim()
172 static void mptcp_rmem_uncharge(struct sock *sk, int size) in mptcp_rmem_uncharge()
188 struct sock *sk = skb->sk; in mptcp_rfree() local
194 void mptcp_set_owner_r(struct sk_buff *skb, struct sock *sk) in mptcp_set_owner_r()
209 struct sock *sk = (struct sock *)msk; in mptcp_data_queue_ofo() local
318 static bool mptcp_rmem_schedule(struct sock *sk, struct sock *ssk, int size) in mptcp_rmem_schedule()
341 struct sock *sk = (struct sock *)msk; in __mptcp_move_skb() local
389 static void mptcp_stop_timer(struct sock *sk) in mptcp_stop_timer()
397 static void mptcp_close_wake_up(struct sock *sk) in mptcp_close_wake_up()
410 static bool mptcp_pending_data_fin_ack(struct sock *sk) in mptcp_pending_data_fin_ack()
420 static void mptcp_check_data_fin_ack(struct sock *sk) in mptcp_check_data_fin_ack()
442 static bool mptcp_pending_data_fin(struct sock *sk, u64 *seq) in mptcp_pending_data_fin()
462 static void mptcp_set_datafin_timeout(const struct sock *sk) in mptcp_set_datafin_timeout()
473 static void __mptcp_set_timeout(struct sock *sk, long tout) in __mptcp_set_timeout()
486 static void mptcp_set_timeout(struct sock *sk) in mptcp_set_timeout()
552 struct sock *sk = (struct sock *)msk; in mptcp_cleanup_rbuf() local
567 static bool mptcp_check_data_fin(struct sock *sk) in mptcp_check_data_fin()
624 struct sock *sk = (struct sock *)msk; in __mptcp_move_skbs_from_subflow() local
714 struct sock *sk = (struct sock *)msk; in __mptcp_ofo_queue() local
761 struct sock *sk = (struct sock *)msk; in move_skbs_to_msk() local
783 void mptcp_data_ready(struct sock *sk, struct sock *ssk) in mptcp_data_ready()
817 struct sock *sk = (struct sock *)msk; in __mptcp_finish_join() local
833 static void __mptcp_flush_join_list(struct sock *sk) in __mptcp_flush_join_list()
849 static bool mptcp_timer_pending(struct sock *sk) in mptcp_timer_pending()
854 static void mptcp_reset_timer(struct sock *sk) in mptcp_reset_timer()
867 bool mptcp_schedule_work(struct sock *sk) in mptcp_schedule_work()
880 void mptcp_subflow_eof(struct sock *sk) in mptcp_subflow_eof()
889 struct sock *sk = (struct sock *)msk; in mptcp_check_for_eof() local
966 static void dfrag_uncharge(struct sock *sk, int len) in dfrag_uncharge()
972 static void dfrag_clear(struct sock *sk, struct mptcp_data_frag *dfrag) in dfrag_clear()
981 static void __mptcp_clean_una(struct sock *sk) in __mptcp_clean_una()
1044 static void __mptcp_clean_una_wakeup(struct sock *sk) in __mptcp_clean_una_wakeup()
1052 static void mptcp_clean_una_wakeup(struct sock *sk) in mptcp_clean_una_wakeup()
1059 static void mptcp_enter_memory_pressure(struct sock *sk) in mptcp_enter_memory_pressure()
1079 static bool mptcp_page_frag_refill(struct sock *sk, struct page_frag *pfrag) in mptcp_page_frag_refill()
1146 static struct sk_buff *__mptcp_do_alloc_tx_skb(struct sock *sk, gfp_t gfp) in __mptcp_do_alloc_tx_skb()
1165 static struct sk_buff *__mptcp_alloc_tx_skb(struct sock *sk, struct sock *ssk, gfp_t gfp) in __mptcp_alloc_tx_skb()
1182 static struct sk_buff *mptcp_alloc_tx_skb(struct sock *sk, struct sock *ssk, bool data_lock_held) in mptcp_alloc_tx_skb()
1217 static int mptcp_sendmsg_frag(struct sock *sk, struct sock *ssk, in mptcp_sendmsg_frag()
1403 struct sock *sk = (struct sock *)msk; in mptcp_subflow_get_send() local
1524 void mptcp_check_and_set_pending(struct sock *sk) in mptcp_check_and_set_pending()
1530 void __mptcp_push_pending(struct sock *sk, unsigned int flags) in __mptcp_push_pending()
1595 static void __mptcp_subflow_push_pending(struct sock *sk, struct sock *ssk, bool first) in __mptcp_subflow_push_pending()
1655 static void mptcp_set_nospace(struct sock *sk) in mptcp_set_nospace()
1666 static int mptcp_sendmsg_fastopen(struct sock *sk, struct sock *ssk, struct msghdr *msg, in mptcp_sendmsg_fastopen()
1699 static int mptcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in mptcp_sendmsg()
1888 struct sock *sk = (struct sock *)msk; in mptcp_rcv_space_adjust() local
1979 static void __mptcp_update_rmem(struct sock *sk) in __mptcp_update_rmem()
1991 static void __mptcp_splice_receive_queue(struct sock *sk) in __mptcp_splice_receive_queue()
2000 struct sock *sk = (struct sock *)msk; in __mptcp_move_skbs() local
2041 static unsigned int mptcp_inq_hint(const struct sock *sk) in mptcp_inq_hint()
2062 static int mptcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in mptcp_recvmsg()
2184 struct sock *sk = &icsk->icsk_inet.sk; in mptcp_retransmit_timer() local
2202 struct sock *sk = from_timer(sk, t, sk_timer); in mptcp_timeout_timer() local
2262 bool __mptcp_retransmit_pending_data(struct sock *sk) in __mptcp_retransmit_pending_data()
2314 static void __mptcp_close_ssk(struct sock *sk, struct sock *ssk, in __mptcp_close_ssk()
2383 void mptcp_close_ssk(struct sock *sk, struct sock *ssk, in mptcp_close_ssk()
2397 static unsigned int mptcp_sync_mss(struct sock *sk, u32 pmtu) in mptcp_sync_mss()
2422 static bool mptcp_check_close_timeout(const struct sock *sk) in mptcp_check_close_timeout()
2444 struct sock *sk = (struct sock *)msk; in mptcp_check_fastclose() local
2490 static void __mptcp_retrans(struct sock *sk) in __mptcp_retrans()
2559 struct sock *sk = (struct sock *)msk; in mptcp_reset_timeout() local
2593 static void mptcp_do_fastclose(struct sock *sk) in mptcp_do_fastclose()
2606 struct sock *sk = (struct sock *)msk; in mptcp_worker() local
2657 static int __mptcp_init_sock(struct sock *sk) in __mptcp_init_sock()
2687 static void mptcp_ca_reset(struct sock *sk) in mptcp_ca_reset()
2699 static int mptcp_init_sock(struct sock *sk) in mptcp_init_sock()
2732 static void __mptcp_clear_xmit(struct sock *sk) in __mptcp_clear_xmit()
2742 void mptcp_cancel_work(struct sock *sk) in mptcp_cancel_work()
2750 void mptcp_subflow_shutdown(struct sock *sk, struct sock *ssk, int how) in mptcp_subflow_shutdown()
2796 static int mptcp_close_state(struct sock *sk) in mptcp_close_state()
2806 static void __mptcp_check_send_data_fin(struct sock *sk) in __mptcp_check_send_data_fin()
2844 static void __mptcp_wr_shutdown(struct sock *sk) in __mptcp_wr_shutdown()
2859 static void __mptcp_destroy_sock(struct sock *sk) in __mptcp_destroy_sock()
2893 static void mptcp_listen_inuse_dec(struct sock *sk) in mptcp_listen_inuse_dec()
2899 bool __mptcp_close(struct sock *sk, long timeout) in __mptcp_close()
2969 static void mptcp_close(struct sock *sk, long timeout) in mptcp_close()
3006 static int mptcp_disconnect(struct sock *sk, int flags) in mptcp_disconnect()
3052 static struct ipv6_pinfo *mptcp_inet6_sk(const struct sock *sk) in mptcp_inet6_sk()
3060 struct sock *mptcp_sk_clone(const struct sock *sk, in mptcp_sk_clone()
3122 static struct sock *mptcp_accept(struct sock *sk, int flags, int *err, in mptcp_accept()
3173 struct sock *sk = (struct sock *)msk; in mptcp_destroy_common() local
3198 static void mptcp_destroy(struct sock *sk) in mptcp_destroy()
3210 void __mptcp_data_acked(struct sock *sk) in __mptcp_data_acked()
3221 void __mptcp_check_push(struct sock *sk, struct sock *ssk) in __mptcp_check_push()
3237 static void mptcp_release_cb(struct sock *sk) in mptcp_release_cb()
3315 struct sock *sk = subflow->conn; in mptcp_subflow_process_delegated() local
3332 static int mptcp_hash(struct sock *sk) in mptcp_hash()
3341 static void mptcp_unhash(struct sock *sk) in mptcp_unhash()
3346 static int mptcp_get_port(struct sock *sk, unsigned short snum) in mptcp_get_port()
3363 struct sock *sk; in mptcp_finish_connect() local
3387 void mptcp_sock_graft(struct sock *sk, struct socket *parent) in mptcp_sock_graft()
3449 static void mptcp_shutdown(struct sock *sk, int how) in mptcp_shutdown()
3457 static int mptcp_forward_alloc_get(const struct sock *sk) in mptcp_forward_alloc_get()
3464 const struct sock *sk = (void *)msk; in mptcp_ioctl_outq() local
3491 static int mptcp_ioctl(struct sock *sk, int cmd, unsigned long arg) in mptcp_ioctl()
3531 static int mptcp_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) in mptcp_connect()
3657 struct sock *sk = sock->sk; in mptcp_listen() local
3744 struct sock *sk = (struct sock *)msk; in mptcp_check_writeable() local
3763 struct sock *sk = sock->sk; in mptcp_poll() local