Lines Matching refs:child
967 struct sock *child) in inet_child_forget() argument
969 sk->sk_prot->disconnect(child, O_NONBLOCK); in inet_child_forget()
971 sock_orphan(child); in inet_child_forget()
976 BUG_ON(rcu_access_pointer(tcp_sk(child)->fastopen_rsk) != req); in inet_child_forget()
985 RCU_INIT_POINTER(tcp_sk(child)->fastopen_rsk, NULL); in inet_child_forget()
987 inet_csk_destroy_sock(child); in inet_child_forget()
992 struct sock *child) in inet_csk_reqsk_queue_add() argument
998 inet_child_forget(sk, req, child); in inet_csk_reqsk_queue_add()
999 child = NULL; in inet_csk_reqsk_queue_add()
1001 req->sk = child; in inet_csk_reqsk_queue_add()
1011 return child; in inet_csk_reqsk_queue_add()
1015 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child, in inet_csk_complete_hashdance() argument
1021 if (inet_csk_reqsk_queue_add(sk, req, child)) in inet_csk_complete_hashdance()
1022 return child; in inet_csk_complete_hashdance()
1025 bh_unlock_sock(child); in inet_csk_complete_hashdance()
1026 sock_put(child); in inet_csk_complete_hashdance()
1050 struct sock *child = req->sk; in inet_csk_listen_stop() local
1053 bh_lock_sock(child); in inet_csk_listen_stop()
1054 WARN_ON(sock_owned_by_user(child)); in inet_csk_listen_stop()
1055 sock_hold(child); in inet_csk_listen_stop()
1057 inet_child_forget(sk, req, child); in inet_csk_listen_stop()
1059 bh_unlock_sock(child); in inet_csk_listen_stop()
1061 sock_put(child); in inet_csk_listen_stop()