Home
last modified time | relevance | path

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

/linux-3.4.99/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c550 struct svcxprt_rdma *newxprt; in handle_connect_req() local
554 newxprt = rdma_create_xprt(listen_xprt->sc_xprt.xpt_server, 0); in handle_connect_req()
555 if (!newxprt) { in handle_connect_req()
559 newxprt->sc_cm_id = new_cma_id; in handle_connect_req()
560 new_cma_id->context = newxprt; in handle_connect_req()
562 newxprt, newxprt->sc_cm_id, listen_xprt); in handle_connect_req()
565 newxprt->sc_ord = client_ird; in handle_connect_req()
568 sa = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.dst_addr; in handle_connect_req()
569 svc_xprt_set_remote(&newxprt->sc_xprt, sa, svc_addr_len(sa)); in handle_connect_req()
570 sa = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.src_addr; in handle_connect_req()
[all …]
/linux-3.4.99/net/sunrpc/
Dsvc_xprt.c220 struct svc_xprt *newxprt; in svc_create_xprt() local
230 newxprt = __svc_xpo_create(xcl, serv, net, family, port, flags); in svc_create_xprt()
231 if (IS_ERR(newxprt)) { in svc_create_xprt()
233 return PTR_ERR(newxprt); in svc_create_xprt()
236 clear_bit(XPT_TEMP, &newxprt->xpt_flags); in svc_create_xprt()
238 list_add(&newxprt->xpt_list, &serv->sv_permsocks); in svc_create_xprt()
240 newport = svc_xprt_local_port(newxprt); in svc_create_xprt()
241 clear_bit(XPT_BUSY, &newxprt->xpt_flags); in svc_create_xprt()