Home
last modified time | relevance | path

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

/Linux-v5.10/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c163 svc_rdma_parse_connect_private(struct svcxprt_rdma *newxprt, in svc_rdma_parse_connect_private() argument
171 newxprt->sc_snd_w_inv = pmsg->cp_flags & in svc_rdma_parse_connect_private()
178 newxprt->sc_snd_w_inv ? "" : "un"); in svc_rdma_parse_connect_private()
197 struct svcxprt_rdma *newxprt; in handle_connect_req() local
201 newxprt = svc_rdma_create_xprt(listen_xprt->sc_xprt.xpt_server, in handle_connect_req()
203 if (!newxprt) in handle_connect_req()
205 newxprt->sc_cm_id = new_cma_id; in handle_connect_req()
206 new_cma_id->context = newxprt; in handle_connect_req()
207 svc_rdma_parse_connect_private(newxprt, param); in handle_connect_req()
210 newxprt->sc_ord = param->initiator_depth; in handle_connect_req()
[all …]
/Linux-v5.10/net/sunrpc/
Dsvc_xprt.c279 struct svc_xprt *newxprt; in _svc_create_xprt() local
289 newxprt = __svc_xpo_create(xcl, serv, net, family, port, flags); in _svc_create_xprt()
290 if (IS_ERR(newxprt)) { in _svc_create_xprt()
292 return PTR_ERR(newxprt); in _svc_create_xprt()
294 newxprt->xpt_cred = get_cred(cred); in _svc_create_xprt()
295 svc_add_new_perm_xprt(serv, newxprt); in _svc_create_xprt()
296 newport = svc_xprt_local_port(newxprt); in _svc_create_xprt()