Lines Matching defs:child
507 * NULL to signify that the child socket is taken
987 struct sock *child)
989 sk->sk_prot->disconnect(child, O_NONBLOCK);
991 sock_orphan(child);
996 BUG_ON(rcu_access_pointer(tcp_sk(child)->fastopen_rsk) != req);
1000 * an inbound pkt destined for child is
1005 RCU_INIT_POINTER(tcp_sk(child)->fastopen_rsk, NULL);
1007 inet_csk_destroy_sock(child);
1012 struct sock *child)
1018 inet_child_forget(sk, req, child);
1019 child = NULL;
1021 req->sk = child;
1031 return child;
1035 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child,
1041 if (inet_csk_reqsk_queue_add(sk, req, child))
1042 return child;
1044 /* Too bad, another child took ownership of the request, undo. */
1045 bh_unlock_sock(child);
1046 sock_put(child);
1070 struct sock *child = req->sk;
1073 bh_lock_sock(child);
1074 WARN_ON(sock_owned_by_user(child));
1075 sock_hold(child);
1077 inet_child_forget(sk, req, child);
1079 bh_unlock_sock(child);
1081 sock_put(child);