Home
last modified time | relevance | path

Searched refs:new_sock (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/net/rds/
Dtcp_listen.c100 struct socket *new_sock = NULL; in rds_tcp_accept_one() local
122 &new_sock); in rds_tcp_accept_one()
126 ret = sock->ops->accept(sock, new_sock, &arg); in rds_tcp_accept_one()
137 new_sock->ops = sock->ops; in rds_tcp_accept_one()
138 __module_get(new_sock->ops->owner); in rds_tcp_accept_one()
140 rds_tcp_keepalive(new_sock); in rds_tcp_accept_one()
141 if (!rds_tcp_tune(new_sock)) { in rds_tcp_accept_one()
146 inet = inet_sk(new_sock->sk); in rds_tcp_accept_one()
149 my_addr = &new_sock->sk->sk_v6_rcv_saddr; in rds_tcp_accept_one()
150 peer_addr = &new_sock->sk->sk_v6_daddr; in rds_tcp_accept_one()
[all …]
/linux-6.12.1/net/nfc/
Dllcp_core.c909 struct nfc_llcp_sock *sock, *new_sock; in nfc_llcp_recv_connect() local
976 new_sock = nfc_llcp_sock(new_sk); in nfc_llcp_recv_connect()
978 new_sock->local = nfc_llcp_local_get(local); in nfc_llcp_recv_connect()
979 if (!new_sock->local) { in nfc_llcp_recv_connect()
981 sock_put(&new_sock->sk); in nfc_llcp_recv_connect()
987 new_sock->dev = local->dev; in nfc_llcp_recv_connect()
988 new_sock->rw = sock->rw; in nfc_llcp_recv_connect()
989 new_sock->miux = sock->miux; in nfc_llcp_recv_connect()
990 new_sock->nfc_protocol = sock->nfc_protocol; in nfc_llcp_recv_connect()
991 new_sock->dsap = ssap; in nfc_llcp_recv_connect()
[all …]
/linux-6.12.1/fs/ocfs2/cluster/
Dtcp.c1783 struct socket *new_sock = NULL; in o2net_accept_one() local
1802 sock->sk->sk_protocol, &new_sock); in o2net_accept_one()
1806 new_sock->type = sock->type; in o2net_accept_one()
1807 new_sock->ops = sock->ops; in o2net_accept_one()
1808 ret = sock->ops->accept(sock, new_sock, &arg); in o2net_accept_one()
1813 new_sock->sk->sk_allocation = GFP_ATOMIC; in o2net_accept_one()
1815 tcp_sock_set_nodelay(new_sock->sk); in o2net_accept_one()
1816 tcp_sock_set_user_timeout(new_sock->sk, O2NET_TCP_USER_TIMEOUT); in o2net_accept_one()
1818 ret = new_sock->ops->getname(new_sock, (struct sockaddr *) &sin, 1); in o2net_accept_one()
1880 sc->sc_sock = new_sock; in o2net_accept_one()
[all …]
/linux-6.12.1/net/smc/
Dsmc.h49 int smc_accept(struct socket *sock, struct socket *new_sock,
413 struct sock *smc_accept_dequeue(struct sock *parent, struct socket *new_sock);
Daf_smc.c1796 struct socket *new_sock) in smc_accept_dequeue() argument
1814 if (new_sock) { in smc_accept_dequeue()
1815 sock_graft(new_sk, new_sock); in smc_accept_dequeue()
1816 new_sock->state = SS_CONNECTED; in smc_accept_dequeue()
1818 smc_sk(new_sk)->clcsock->file = new_sock->file; in smc_accept_dequeue()
2674 int smc_accept(struct socket *sock, struct socket *new_sock, in smc_accept() argument
2696 while (!(nsk = smc_accept_dequeue(sk, new_sock))) { in smc_accept()
/linux-6.12.1/drivers/target/iscsi/
Discsi_target_login.c909 struct socket *new_sock, *sock = np->np_socket; in iscsit_accept_np() local
914 rc = kernel_accept(sock, &new_sock, 0); in iscsit_accept_np()
918 conn->sock = new_sock; in iscsit_accept_np()
/linux-6.12.1/net/tipc/
Dsocket.c2714 static int tipc_accept(struct socket *sock, struct socket *new_sock, in tipc_accept() argument
2738 res = tipc_sk_create(sock_net(sock->sk), new_sock, 0, arg->kern); in tipc_accept()
2741 security_sk_clone(sock->sk, new_sock->sk); in tipc_accept()
2743 new_sk = new_sock->sk; in tipc_accept()
2778 __tipc_sendstream(new_sock, &m, 0); in tipc_accept()
/linux-6.12.1/net/mptcp/
Dsubflow.c1741 struct socket **new_sock) in mptcp_subflow_create_socket() argument
1795 *new_sock = sf; in mptcp_subflow_create_socket()
Dprotocol.h738 struct socket **new_sock);