Home
last modified time | relevance | path

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

/Linux-v5.15/net/rds/
Dtcp_listen.c99 struct socket *new_sock = NULL; in rds_tcp_accept_one() local
117 &new_sock); in rds_tcp_accept_one()
121 ret = sock->ops->accept(sock, new_sock, O_NONBLOCK, true); in rds_tcp_accept_one()
132 new_sock->ops = sock->ops; in rds_tcp_accept_one()
133 __module_get(new_sock->ops->owner); in rds_tcp_accept_one()
135 rds_tcp_keepalive(new_sock); in rds_tcp_accept_one()
136 rds_tcp_tune(new_sock); in rds_tcp_accept_one()
138 inet = inet_sk(new_sock->sk); in rds_tcp_accept_one()
141 my_addr = &new_sock->sk->sk_v6_rcv_saddr; in rds_tcp_accept_one()
142 peer_addr = &new_sock->sk->sk_v6_daddr; in rds_tcp_accept_one()
[all …]
/Linux-v5.15/net/nfc/
Dllcp_core.c882 struct nfc_llcp_sock *sock, *new_sock; in nfc_llcp_recv_connect() local
949 new_sock = nfc_llcp_sock(new_sk); in nfc_llcp_recv_connect()
950 new_sock->dev = local->dev; in nfc_llcp_recv_connect()
951 new_sock->local = nfc_llcp_local_get(local); in nfc_llcp_recv_connect()
952 new_sock->rw = sock->rw; in nfc_llcp_recv_connect()
953 new_sock->miux = sock->miux; in nfc_llcp_recv_connect()
954 new_sock->nfc_protocol = sock->nfc_protocol; in nfc_llcp_recv_connect()
955 new_sock->dsap = ssap; in nfc_llcp_recv_connect()
956 new_sock->target_idx = local->target_idx; in nfc_llcp_recv_connect()
957 new_sock->parent = parent; in nfc_llcp_recv_connect()
[all …]
/Linux-v5.15/fs/ocfs2/cluster/
Dtcp.c1778 struct socket *new_sock = NULL; in o2net_accept_one() local
1794 sock->sk->sk_protocol, &new_sock); in o2net_accept_one()
1798 new_sock->type = sock->type; in o2net_accept_one()
1799 new_sock->ops = sock->ops; in o2net_accept_one()
1800 ret = sock->ops->accept(sock, new_sock, O_NONBLOCK, false); in o2net_accept_one()
1805 new_sock->sk->sk_allocation = GFP_ATOMIC; in o2net_accept_one()
1807 tcp_sock_set_nodelay(new_sock->sk); in o2net_accept_one()
1808 tcp_sock_set_user_timeout(new_sock->sk, O2NET_TCP_USER_TIMEOUT); in o2net_accept_one()
1810 ret = new_sock->ops->getname(new_sock, (struct sockaddr *) &sin, 1); in o2net_accept_one()
1872 sc->sc_sock = new_sock; in o2net_accept_one()
[all …]
/Linux-v5.15/net/smc/
Dsmc.h292 struct sock *smc_accept_dequeue(struct sock *parent, struct socket *new_sock);
Daf_smc.c1227 struct socket *new_sock) in smc_accept_dequeue() argument
1245 if (new_sock) { in smc_accept_dequeue()
1246 sock_graft(new_sk, new_sock); in smc_accept_dequeue()
1248 smc_sk(new_sk)->clcsock->file = new_sock->file; in smc_accept_dequeue()
1928 static int smc_accept(struct socket *sock, struct socket *new_sock, in smc_accept() argument
1950 while (!(nsk = smc_accept_dequeue(sk, new_sock))) { in smc_accept()
/Linux-v5.15/drivers/target/iscsi/
Discsi_target_login.c949 struct socket *new_sock, *sock = np->np_socket; in iscsit_accept_np() local
954 rc = kernel_accept(sock, &new_sock, 0); in iscsit_accept_np()
958 conn->sock = new_sock; in iscsit_accept_np()
/Linux-v5.15/net/tipc/
Dsocket.c149 static int tipc_accept(struct socket *sock, struct socket *new_sock, int flags,
2713 static int tipc_accept(struct socket *sock, struct socket *new_sock, int flags, in tipc_accept() argument
2737 res = tipc_sk_create(sock_net(sock->sk), new_sock, 0, kern); in tipc_accept()
2740 security_sk_clone(sock->sk, new_sock->sk); in tipc_accept()
2742 new_sk = new_sock->sk; in tipc_accept()
2776 __tipc_sendstream(new_sock, &m, 0); in tipc_accept()
/Linux-v5.15/net/mptcp/
Dsubflow.c1509 int mptcp_subflow_create_socket(struct sock *sk, struct socket **new_sock) in mptcp_subflow_create_socket() argument
1561 *new_sock = sf; in mptcp_subflow_create_socket()
Dprotocol.h584 int mptcp_subflow_create_socket(struct sock *sk, struct socket **new_sock);