Home
last modified time | relevance | path

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

/linux-6.12.1/net/smc/
Daf_smc.c1712 struct sock *new_sk; in smc_clcsock_accept() local
1716 new_sk = smc_sock_alloc(sock_net(lsk), NULL, lsk->sk_protocol); in smc_clcsock_accept()
1717 if (!new_sk) { in smc_clcsock_accept()
1724 *new_smc = smc_sk(new_sk); in smc_clcsock_accept()
1734 new_sk->sk_prot->unhash(new_sk); in smc_clcsock_accept()
1737 new_sk->sk_state = SMC_CLOSED; in smc_clcsock_accept()
1738 smc_sock_set_flag(new_sk, SOCK_DEAD); in smc_clcsock_accept()
1739 sock_put(new_sk); /* final */ in smc_clcsock_accept()
1799 struct sock *new_sk; in smc_accept_dequeue() local
1802 new_sk = (struct sock *)isk; in smc_accept_dequeue()
[all …]
/linux-6.12.1/net/nfc/
Dllcp_core.c908 struct sock *new_sk, *parent; in nfc_llcp_recv_connect() local
968 new_sk = nfc_llcp_sock_alloc(NULL, parent->sk_type, GFP_ATOMIC, 0); in nfc_llcp_recv_connect()
969 if (new_sk == NULL) { in nfc_llcp_recv_connect()
976 new_sock = nfc_llcp_sock(new_sk); in nfc_llcp_recv_connect()
1012 nfc_llcp_sock_link(&local->sockets, new_sk); in nfc_llcp_recv_connect()
1014 nfc_llcp_accept_enqueue(&sock->sk, new_sk); in nfc_llcp_recv_connect()
1018 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-6.12.1/net/tipc/
Dsocket.c2717 struct sock *new_sk, *sk = sock->sk; in tipc_accept() local
2743 new_sk = new_sock->sk; in tipc_accept()
2744 new_tsock = tipc_sk(new_sk); in tipc_accept()
2748 lock_sock_nested(new_sk, SINGLE_DEPTH_NESTING); in tipc_accept()
2754 tsk_rej_rx_queue(new_sk, TIPC_ERR_NO_PORT); in tipc_accept()
2759 tsk_set_importance(new_sk, msg_importance(msg)); in tipc_accept()
2774 __skb_queue_head(&new_sk->sk_receive_queue, buf); in tipc_accept()
2775 skb_set_owner_r(buf, new_sk); in tipc_accept()
2779 release_sock(new_sk); in tipc_accept()