Lines Matching refs:progp
414 struct svc_program *progp; in svc_uses_rpcbind() local
417 for (progp = serv->sv_program; progp; progp = progp->pg_next) { in svc_uses_rpcbind()
418 for (i = 0; i < progp->pg_nvers; i++) { in svc_uses_rpcbind()
419 if (progp->pg_vers[i] == NULL) in svc_uses_rpcbind()
421 if (!progp->pg_vers[i]->vs_hidden) in svc_uses_rpcbind()
1011 const struct svc_program *progp, in svc_rpcbind_set_version() argument
1016 return __svc_register(net, progp->pg_name, progp->pg_prog, in svc_rpcbind_set_version()
1023 const struct svc_program *progp, in svc_generic_rpcbind_set() argument
1028 const struct svc_version *vers = progp->pg_vers[version]; in svc_generic_rpcbind_set()
1035 trace_svc_noregister(progp->pg_name, version, proto, in svc_generic_rpcbind_set()
1047 error = svc_rpcbind_set_version(net, progp, version, in svc_generic_rpcbind_set()
1068 struct svc_program *progp; in svc_register() local
1076 for (progp = serv->sv_program; progp; progp = progp->pg_next) { in svc_register()
1077 for (i = 0; i < progp->pg_nvers; i++) { in svc_register()
1079 error = progp->pg_rpcbind_set(net, progp, i, in svc_register()
1084 progp->pg_name, i, -error); in svc_register()
1127 struct svc_program *progp; in svc_unregister() local
1133 for (progp = serv->sv_program; progp; progp = progp->pg_next) { in svc_unregister()
1134 for (i = 0; i < progp->pg_nvers; i++) { in svc_unregister()
1135 if (progp->pg_vers[i] == NULL) in svc_unregister()
1137 if (progp->pg_vers[i]->vs_hidden) in svc_unregister()
1139 __svc_unregister(net, progp->pg_prog, i, progp->pg_name); in svc_unregister()
1174 const struct svc_program *progp, in svc_generic_init_request() argument
1180 if (rqstp->rq_vers >= progp->pg_nvers ) in svc_generic_init_request()
1182 versp = progp->pg_vers[rqstp->rq_vers]; in svc_generic_init_request()
1217 ret->mismatch.lovers = progp->pg_lovers; in svc_generic_init_request()
1218 ret->mismatch.hivers = progp->pg_hivers; in svc_generic_init_request()
1231 struct svc_program *progp; in svc_process_common() local
1271 for (progp = serv->sv_program; progp; progp = progp->pg_next) in svc_process_common()
1272 if (prog == progp->pg_prog) in svc_process_common()
1282 if (auth_res == SVC_OK && progp) in svc_process_common()
1283 auth_res = progp->pg_authenticate(rqstp); in svc_process_common()
1304 if (progp == NULL) in svc_process_common()
1307 rpc_stat = progp->pg_init_request(rqstp, progp, &process); in svc_process_common()
1326 trace_svc_process(rqstp, progp->pg_name); in svc_process_common()
1404 rqstp->rq_vers, rqstp->rq_prog, progp->pg_name); in svc_process_common()