Home
last modified time | relevance | path

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

/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c161 svc_rdma_parse_connect_private(struct svcxprt_rdma *newxprt, in svc_rdma_parse_connect_private() argument
169 newxprt->sc_snd_w_inv = pmsg->cp_flags & in svc_rdma_parse_connect_private()
176 newxprt->sc_snd_w_inv ? "" : "un"); in svc_rdma_parse_connect_private()
195 struct svcxprt_rdma *newxprt; in handle_connect_req() local
199 newxprt = svc_rdma_create_xprt(listen_xprt->sc_xprt.xpt_server, in handle_connect_req()
201 if (!newxprt) in handle_connect_req()
203 newxprt->sc_cm_id = new_cma_id; in handle_connect_req()
204 new_cma_id->context = newxprt; in handle_connect_req()
205 svc_rdma_parse_connect_private(newxprt, param); in handle_connect_req()
208 newxprt->sc_ord = param->initiator_depth; in handle_connect_req()
[all …]
/net/sunrpc/
Dsvc_xprt.c298 struct svc_xprt *newxprt; in _svc_create_xprt() local
308 newxprt = __svc_xpo_create(xcl, serv, net, family, port, flags); in _svc_create_xprt()
309 if (IS_ERR(newxprt)) { in _svc_create_xprt()
311 return PTR_ERR(newxprt); in _svc_create_xprt()
313 newxprt->xpt_cred = get_cred(cred); in _svc_create_xprt()
314 svc_add_new_perm_xprt(serv, newxprt); in _svc_create_xprt()
315 newport = svc_xprt_local_port(newxprt); in _svc_create_xprt()