Home
last modified time | relevance | path

Searched refs:new_sk (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/net/smc/ !
Daf_smc.c1616 struct sock *new_sk; in smc_clcsock_accept() local
1620 new_sk = smc_sock_alloc(sock_net(lsk), NULL, lsk->sk_protocol); in smc_clcsock_accept()
1621 if (!new_sk) { in smc_clcsock_accept()
1628 *new_smc = smc_sk(new_sk); in smc_clcsock_accept()
1638 new_sk->sk_prot->unhash(new_sk); in smc_clcsock_accept()
1641 new_sk->sk_state = SMC_CLOSED; in smc_clcsock_accept()
1642 sock_set_flag(new_sk, SOCK_DEAD); in smc_clcsock_accept()
1643 sock_put(new_sk); /* final */ in smc_clcsock_accept()
1703 struct sock *new_sk; in smc_accept_dequeue() local
1706 new_sk = (struct sock *)isk; in smc_accept_dequeue()
[all …]
/linux-5.19.10/net/nfc/ !
Dllcp_core.c872 struct sock *new_sk, *parent; in nfc_llcp_recv_connect() local
932 new_sk = nfc_llcp_sock_alloc(NULL, parent->sk_type, GFP_ATOMIC, 0); in nfc_llcp_recv_connect()
933 if (new_sk == NULL) { in nfc_llcp_recv_connect()
940 new_sock = nfc_llcp_sock(new_sk); in nfc_llcp_recv_connect()
967 nfc_llcp_sock_link(&local->sockets, new_sk); in nfc_llcp_recv_connect()
969 nfc_llcp_accept_enqueue(&sock->sk, new_sk); in nfc_llcp_recv_connect()
973 new_sk->sk_state = LLCP_CONNECTED; in nfc_llcp_recv_connect()
Dllcp_sock.c453 struct sock *sk = sock->sk, *new_sk; in llcp_sock_accept() local
470 while (!(new_sk = nfc_llcp_accept_dequeue(sk, newsock))) { in llcp_sock_accept()
495 pr_debug("new socket %p\n", new_sk); in llcp_sock_accept()
/linux-5.19.10/net/tipc/ !
Dsocket.c2719 struct sock *new_sk, *sk = sock->sk; in tipc_accept() local
2745 new_sk = new_sock->sk; in tipc_accept()
2746 new_tsock = tipc_sk(new_sk); in tipc_accept()
2750 lock_sock_nested(new_sk, SINGLE_DEPTH_NESTING); in tipc_accept()
2756 tsk_rej_rx_queue(new_sk, TIPC_ERR_NO_PORT); in tipc_accept()
2761 tsk_set_importance(new_sk, msg_importance(msg)); in tipc_accept()
2776 __skb_queue_head(&new_sk->sk_receive_queue, buf); in tipc_accept()
2777 skb_set_owner_r(buf, new_sk); in tipc_accept()
2780 release_sock(new_sk); in tipc_accept()