Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/sunrpc/xprtrdma/
A Dsvc_rdma_transport.c199 if (!newxprt) in handle_connect_req()
388 if (!newxprt) in svc_rdma_accept()
392 newxprt->sc_port_num = newxprt->sc_cm_id->port_num; in svc_rdma_accept()
416 newxprt->sc_fc_credits = cpu_to_be32(newxprt->sc_max_requests); in svc_rdma_accept()
425 atomic_set(&newxprt->sc_sq_avail, newxprt->sc_sq_depth); in svc_rdma_accept()
429 trace_svcrdma_pd_err(newxprt, PTR_ERR(newxprt->sc_pd)); in svc_rdma_accept()
432 newxprt->sc_sq_cq = ib_alloc_cq_any(dev, newxprt, newxprt->sc_sq_depth, in svc_rdma_accept()
455 newxprt->sc_cm_id, newxprt->sc_pd); in svc_rdma_accept()
461 ret = rdma_create_qp(newxprt->sc_cm_id, newxprt->sc_pd, &qp_attr); in svc_rdma_accept()
466 newxprt->sc_qp = newxprt->sc_cm_id->qp; in svc_rdma_accept()
[all …]
/linux-6.3-rc2/net/sunrpc/
A Dsvc_xprt.c297 struct svc_xprt *newxprt; in _svc_xprt_create() local
307 newxprt = __svc_xpo_create(xcl, serv, net, family, port, flags); in _svc_xprt_create()
308 if (IS_ERR(newxprt)) { in _svc_xprt_create()
310 return PTR_ERR(newxprt); in _svc_xprt_create()
312 newxprt->xpt_cred = get_cred(cred); in _svc_xprt_create()
313 svc_add_new_perm_xprt(serv, newxprt); in _svc_xprt_create()
314 newport = svc_xprt_local_port(newxprt); in _svc_xprt_create()

Completed in 9 milliseconds