Lines Matching refs:prog
62 rpcprog_t prog, rpcvers_t vers, uint_t ssz, uint_t rsz, int force) in fmd_rpc_svc_create_local() argument
80 svc_unreg(prog, vers); /* clear stale rpcbind registrations */ in fmd_rpc_svc_create_local()
90 if (!force && rpcb_getaddr(prog, vers, ncp, &buf, HOST_SELF)) { in fmd_rpc_svc_create_local()
108 if (svc_reg(xprt, prog, vers, disp, ncp) == FALSE) { in fmd_rpc_svc_create_local()
129 prog, vers) > 0 && access(door, F_OK) == 0) in fmd_rpc_svc_create_local()
136 if ((xprt = svc_door_create(disp, prog, vers, ssz)) == NULL) { in fmd_rpc_svc_create_local()
138 "rpc service 0x%lx/0x%lx\n", prog, vers); in fmd_rpc_svc_create_local()
153 rpcprog_t prog; in fmd_rpc_svc_init() local
157 for (prog = pmin; prog <= pmax; prog++) { in fmd_rpc_svc_init()
158 if (fmd_rpc_svc_create_local(disp, prog, vers, in fmd_rpc_svc_init()
161 "as 0x%lx.%lx\n", name, prog, vers); in fmd_rpc_svc_init()
168 (void) fprintf(fp, "%ld\n", prog); in fmd_rpc_svc_init()
172 (void) snprintf(buf, sizeof (buf), "%ld", prog); in fmd_rpc_svc_init()
185 int err, prog, mode = RPC_SVC_MT_USER; in fmd_rpc_init() local
199 (void) fmd_conf_getprop(fmd.d_conf, "rpc.adm.prog", &prog); in fmd_rpc_init()
202 if (prog != 0) { in fmd_rpc_init()
222 rpcprog_t prog; in fmd_rpc_fini() local
226 (void) fmd_conf_getprop(fmd.d_conf, "rpc.adm.prog", &prog); in fmd_rpc_fini()
227 svc_unreg(prog, FMD_ADM_VERSION_1); in fmd_rpc_fini()
229 (void) fmd_conf_getprop(fmd.d_conf, "rpc.api.prog", &prog); in fmd_rpc_fini()
230 svc_unreg(prog, FMD_API_VERSION_1); in fmd_rpc_fini()