Lines Matching defs:prog
854 svc_reg(const SVCXPRT *xprt, const rpcprog_t prog, const rpcvers_t vers,
881 if ((s = svc_find(prog, vers, &prev, netid)) != NULL_SVC) {
897 s->sc_prog = prog;
926 return (rpcb_set(prog, vers, nconf, &xprt->xp_ltaddr));
935 svc_unreg(const rpcprog_t prog, const rpcvers_t vers)
941 (void) rpcb_unset(prog, vers, NULL);
944 while ((s = svc_find(prog, vers, &prev, NULL)) != NULL_SVC) {
966 svc_register(SVCXPRT *xprt, rpcprog_t prog, rpcvers_t vers,
990 if ((s = svc_find(prog, vers, &prev, netid)) != NULL_SVC) {
1005 s->sc_prog = prog;
1026 return (pmap_set(prog, vers, protocol, xprt->xp_port));
1035 svc_unregister(rpcprog_t prog, rpcvers_t vers)
1041 while ((s = svc_find(prog, vers, &prev, NULL)) != NULL_SVC) {
1052 (void) pmap_unset(prog, vers);
1066 svc_find(rpcprog_t prog, rpcvers_t vers, struct svc_callout **prev, char *netid)
1075 if (((s->sc_prog == prog) && (s->sc_vers == vers)) &&