Home
last modified time | relevance | path

Searched refs:newxprt (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c164 svc_rdma_parse_connect_private(struct svcxprt_rdma *newxprt, in svc_rdma_parse_connect_private() argument
172 newxprt->sc_snd_w_inv = pmsg->cp_flags & in svc_rdma_parse_connect_private()
179 newxprt->sc_snd_w_inv ? "" : "un"); in svc_rdma_parse_connect_private()
198 struct svcxprt_rdma *newxprt; in handle_connect_req() local
202 newxprt = svc_rdma_create_xprt(listen_xprt->sc_xprt.xpt_server, in handle_connect_req()
204 if (!newxprt) in handle_connect_req()
206 newxprt->sc_cm_id = new_cma_id; in handle_connect_req()
207 new_cma_id->context = newxprt; in handle_connect_req()
208 svc_rdma_parse_connect_private(newxprt, param); in handle_connect_req()
211 newxprt->sc_ord = param->initiator_depth; in handle_connect_req()
[all …]
/Linux-v5.4/net/sunrpc/
Dsvc_xprt.c264 struct svc_xprt *newxprt; in _svc_create_xprt() local
274 newxprt = __svc_xpo_create(xcl, serv, net, family, port, flags); in _svc_create_xprt()
275 if (IS_ERR(newxprt)) { in _svc_create_xprt()
277 return PTR_ERR(newxprt); in _svc_create_xprt()
279 newxprt->xpt_cred = get_cred(cred); in _svc_create_xprt()
280 svc_add_new_perm_xprt(serv, newxprt); in _svc_create_xprt()
281 newport = svc_xprt_local_port(newxprt); in _svc_create_xprt()