• Home
  • Raw
  • Download

Lines Matching refs:xprt

147 static void rpcb_wake_rpcbind_waiters(struct rpc_xprt *xprt, int status)  in rpcb_wake_rpcbind_waiters()  argument
149 xprt_clear_binding(xprt); in rpcb_wake_rpcbind_waiters()
150 rpc_wake_up_status(&xprt->binding, status); in rpcb_wake_rpcbind_waiters()
649 struct rpc_xprt *xprt; in rpcb_getport_async() local
661 xprt = xprt_get(task->tk_xprt); in rpcb_getport_async()
665 rpc_sleep_on_timeout(&xprt->binding, task, in rpcb_getport_async()
666 NULL, jiffies + xprt->bind_timeout); in rpcb_getport_async()
668 if (xprt_test_and_set_binding(xprt)) { in rpcb_getport_async()
669 xprt_put(xprt); in rpcb_getport_async()
674 if (xprt_bound(xprt)) { in rpcb_getport_async()
685 proc = rpcb_next_version[xprt->bind_index].rpc_proc; in rpcb_getport_async()
686 bind_version = rpcb_next_version[xprt->bind_index].rpc_vers; in rpcb_getport_async()
689 proc = rpcb_next_version6[xprt->bind_index].rpc_proc; in rpcb_getport_async()
690 bind_version = rpcb_next_version6[xprt->bind_index].rpc_vers; in rpcb_getport_async()
697 xprt->bind_index = 0; in rpcb_getport_async()
704 rpcb_clnt = rpcb_create(xprt->xprt_net, in rpcb_getport_async()
706 xprt->servername, sap, salen, in rpcb_getport_async()
707 xprt->prot, bind_version, in rpcb_getport_async()
721 map->r_prot = xprt->prot; in rpcb_getport_async()
723 map->r_xprt = xprt; in rpcb_getport_async()
729 map->r_netid = xprt->address_strings[RPC_DISPLAY_NETID]; in rpcb_getport_async()
751 xprt->stat.bind_count++; in rpcb_getport_async()
760 rpcb_wake_rpcbind_waiters(xprt, status); in rpcb_getport_async()
762 xprt_put(xprt); in rpcb_getport_async()
772 struct rpc_xprt *xprt = map->r_xprt; in rpcb_getport_done() local
782 xprt->bind_index++; in rpcb_getport_done()
797 xprt->ops->set_port(xprt, map->r_port); in rpcb_getport_done()
799 xprt_set_bound(xprt); in rpcb_getport_done()