Searched refs:new_sk (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/net/smc/ |
D | af_smc.c | 820 struct sock *new_sk; in smc_clcsock_accept() local 824 new_sk = smc_sock_alloc(sock_net(lsk), NULL, lsk->sk_protocol); in smc_clcsock_accept() 825 if (!new_sk) { in smc_clcsock_accept() 832 *new_smc = smc_sk(new_sk); in smc_clcsock_accept() 841 new_sk->sk_state = SMC_CLOSED; in smc_clcsock_accept() 842 sock_set_flag(new_sk, SOCK_DEAD); in smc_clcsock_accept() 843 new_sk->sk_prot->unhash(new_sk); in smc_clcsock_accept() 844 sock_put(new_sk); /* final */ in smc_clcsock_accept() 887 struct sock *new_sk; in smc_accept_dequeue() local 890 new_sk = (struct sock *)isk; in smc_accept_dequeue() [all …]
|
/Linux-v4.19/net/nfc/ |
D | llcp_core.c | 876 struct sock *new_sk, *parent; in nfc_llcp_recv_connect() local 936 new_sk = nfc_llcp_sock_alloc(NULL, parent->sk_type, GFP_ATOMIC, 0); in nfc_llcp_recv_connect() 937 if (new_sk == NULL) { in nfc_llcp_recv_connect() 944 new_sock = nfc_llcp_sock(new_sk); in nfc_llcp_recv_connect() 971 nfc_llcp_sock_link(&local->sockets, new_sk); in nfc_llcp_recv_connect() 973 nfc_llcp_accept_enqueue(&sock->sk, new_sk); in nfc_llcp_recv_connect() 977 new_sk->sk_state = LLCP_CONNECTED; in nfc_llcp_recv_connect()
|
D | llcp_sock.c | 449 struct sock *sk = sock->sk, *new_sk; in llcp_sock_accept() local 466 while (!(new_sk = nfc_llcp_accept_dequeue(sk, newsock))) { in llcp_sock_accept() 491 pr_debug("new socket %p\n", new_sk); in llcp_sock_accept()
|
/Linux-v4.19/net/tipc/ |
D | socket.c | 2456 struct sock *new_sk, *sk = sock->sk; in tipc_accept() local 2481 new_sk = new_sock->sk; in tipc_accept() 2482 new_tsock = tipc_sk(new_sk); in tipc_accept() 2486 lock_sock_nested(new_sk, SINGLE_DEPTH_NESTING); in tipc_accept() 2492 tsk_rej_rx_queue(new_sk); in tipc_accept() 2514 __skb_queue_head(&new_sk->sk_receive_queue, buf); in tipc_accept() 2515 skb_set_owner_r(buf, new_sk); in tipc_accept() 2517 release_sock(new_sk); in tipc_accept()
|