Lines Matching defs:child
696 * NULL to signify that the child socket is taken
925 * because the child socket is locked in inet_csk_listen_stop().
1276 struct sock *child)
1278 sk->sk_prot->disconnect(child, O_NONBLOCK);
1280 sock_orphan(child);
1285 BUG_ON(rcu_access_pointer(tcp_sk(child)->fastopen_rsk) != req);
1289 * an inbound pkt destined for child is
1294 RCU_INIT_POINTER(tcp_sk(child)->fastopen_rsk, NULL);
1296 inet_csk_destroy_sock(child);
1301 struct sock *child)
1307 inet_child_forget(sk, req, child);
1308 child = NULL;
1310 req->sk = child;
1320 return child;
1324 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child,
1343 inet_child_forget(sk, req, child);
1348 if (inet_csk_reqsk_queue_add(sk, nreq, child)) {
1352 return child;
1358 } else if (inet_csk_reqsk_queue_add(sk, req, child)) {
1359 return child;
1362 /* Too bad, another child took ownership of the request, undo. */
1364 bh_unlock_sock(child);
1365 sock_put(child);
1389 struct sock *child = req->sk, *nsk;
1393 bh_lock_sock(child);
1394 WARN_ON(sock_owned_by_user(child));
1395 sock_hold(child);
1397 nsk = reuseport_migrate_sock(sk, child, NULL);
1403 if (inet_csk_reqsk_queue_add(nsk, nreq, child)) {
1421 inet_child_forget(sk, req, child);
1424 bh_unlock_sock(child);
1426 sock_put(child);