Home
last modified time | relevance | path

Searched refs:rqstp (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dserver_stubs.c56 #define CHANGEPW_SERVICE(rqstp) \ argument
75 get_clnt_name(struct svc_req * rqstp) in get_clnt_name() argument
187 struct svc_req *rqstp, in new_server_handle() argument
543 if (CHANGEPW_SERVICE(rqstp) in create_principal_2_svc()
650 if (CHANGEPW_SERVICE(rqstp) in create_principal3_2_svc()
743 if (CHANGEPW_SERVICE(rqstp) in delete_principal_2_svc()
816 if (CHANGEPW_SERVICE(rqstp) in modify_principal_2_svc()
936 client_addr(rqstp, buf)); in rename_principal_2_svc()
956 client_addr(rqstp, buf)); in rename_principal_2_svc()
1026 client_addr(rqstp, buf)); in get_principal_2_svc()
[all …]
H A Dipropd_svc.c146 if (!(name = get_clnt_name(rqstp))) { in iprop_get_updates_1()
164 client_addr(rqstp, abuf)); in iprop_get_updates_1()
191 client_addr(rqstp, abuf)); in iprop_get_updates_1()
231 struct svc_req *rqstp) in iprop_full_resync_1() argument
266 if (!(name = get_clnt_name(rqstp))) { in iprop_full_resync_1()
284 client_addr(rqstp, abuf)); in iprop_full_resync_1()
397 client_addr(rqstp, abuf)); in iprop_full_resync_1()
416 struct svc_req *rqstp, in krb5_iprop_prog_1() argument
427 switch (rqstp->rq_proc) { in krb5_iprop_prog_1()
448 rqstp->rq_proc, whoami); in krb5_iprop_prog_1()
[all …]
H A Dkadm_rpc_svc.c70 void kadm_1(rqstp, transp) in kadm_1() argument
71 struct svc_req *rqstp; in kadm_1()
97 if (rqstp->rq_cred.oa_flavor != RPCSEC_GSS) {
101 rqstp->rq_cred.oa_flavor);
106 switch (rqstp->rq_proc) {
242 rqstp->rq_proc);
251 result = (*local)(&argument, rqstp);
/illumos-gate/usr/src/cmd/rpcbind/
H A Dpmap_svc.c68 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) in pmap_service() argument
70 rpcbs_procinfo(RPCBVERS_2_STAT, rqstp->rq_proc); in pmap_service()
72 switch (rqstp->rq_proc) { in pmap_service()
77 PMAP_CHECK(xprt, rqstp->rq_proc); in pmap_service()
91 pmapproc_change(rqstp, xprt, rqstp->rq_proc); in pmap_service()
98 pmapproc_change(rqstp, xprt, rqstp->rq_proc); in pmap_service()
106 pmapproc_getport(rqstp, xprt); in pmap_service()
113 PMAP_CHECK(xprt, rqstp->rq_proc); in pmap_service()
114 pmapproc_dump(rqstp, xprt); in pmap_service()
129 PMAP_CHECK(xprt, rqstp->rq_proc); in pmap_service()
[all …]
H A Drpcb_svc_4.c57 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_4() argument
84 rpcbs_procinfo(RPCBVERS_4_STAT, rqstp->rq_proc); in rpcb_service_4()
86 RPCB_CHECK(transp, rqstp->rq_proc); in rpcb_service_4()
88 switch (rqstp->rq_proc) { in rpcb_service_4()
143 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); in rpcb_service_4()
171 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); in rpcb_service_4()
197 retval = (*local)(&argument, &result, rqstp, RPCBVERS4); in rpcb_service_4()
226 struct svc_req *rqstp) in rpcbproc_getaddrlist() argument
237 SVCXPRT *transp = rqstp->rq_xprt; in rpcbproc_getaddrlist()
H A Drpcb_svc.c64 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_3() argument
87 rpcbs_procinfo(RPCBVERS_3_STAT, rqstp->rq_proc); in rpcb_service_3()
89 RPCB_CHECK(transp, rqstp->rq_proc); in rpcb_service_3()
91 switch (rqstp->rq_proc) { in rpcb_service_3()
158 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS); in rpcb_service_3()
190 retval = (*local)(&argument, &result, rqstp, RPCBVERS); in rpcb_service_3()
H A Drpcb_svc_com.c105 rpcbproc_set_com(RPCB *regp, bool_t *result, struct svc_req *rqstp, in rpcbproc_set_com() argument
110 *result = map_set(regp, getowner(rqstp->rq_xprt, owner)); in rpcbproc_set_com()
206 rpcbproc_unset_com(RPCB *regp, bool_t *result, struct svc_req *rqstp, in rpcbproc_unset_com() argument
211 *result = map_unset(regp, getowner(rqstp->rq_xprt, owner)); in rpcbproc_unset_com()
339 SVCXPRT *transp = rqstp->rq_xprt; in rpcbproc_getaddr_com()
452 struct svc_req *rqstp) in rpcbproc_uaddr2taddr_com() argument
475 struct svc_req *rqstp) in rpcbproc_taddr2uaddr_com() argument
479 if ((nconf = rpcbind_get_conf(rqstp->rq_xprt->xp_netid)) == NULL) in rpcbproc_taddr2uaddr_com()
1038 if (rqstp->rq_cred.oa_flavor == AUTH_NULL) { in rpcbproc_callit_com()
1040 } else if (rqstp->rq_cred.oa_flavor == AUTH_SYS) { in rpcbproc_callit_com()
[all …]
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_proc.c341 struct svc_req *rqstp;
585 struct svc_req *rqstp;
769 struct svc_req *rqstp;
823 struct svc_req *rqstp;
1101 struct svc_req *rqstp;
1393 struct svc_req *rqstp;
1453 struct svc_req *rqstp;
1745 struct svc_req *rqstp;
1777 struct svc_req *rqstp;
1851 struct svc_req *rqstp;
[all …]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_dispatch.c72 struct svc_req *rqstp, in nlm_dispatch() argument
174 do_reply = (*func)(args, res, rqstp); in nlm_dispatch()
206 DTRACE_PROBE3(sendreply, struct svc_req *, rqstp, in nlm_dispatch()
496 switch (rqstp->rq_vers) { in nlm_prog_3()
514 if (rqstp->rq_proc > max_proc) { in nlm_prog_3()
519 de = &nlm_prog_3_dtable[rqstp->rq_proc]; in nlm_prog_3()
521 nlm_dispatch(rqstp, transp, de); in nlm_prog_3()
740 if (rqstp->rq_vers != NLM4_VERS) { in nlm_prog_4()
747 if (rqstp->rq_proc >= nlm_prog_4_dtsize) { in nlm_prog_4()
752 de = &nlm_prog_4_dtable[rqstp->rq_proc]; in nlm_prog_4()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfrd_server.c121 getdbm_1_svc(hosereq *argp, struct svc_req *rqstp) in getdbm_1_svc() argument
134 xprt = rqstp->rq_xprt; in getdbm_1_svc()
149 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc()
151 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
161 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc()
163 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
174 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc()
176 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
231 if (!svc_sendreply(rqstp->rq_xprt, xdr_myfyl, (caddr_t)&m)) { in getdbm_1_svc()
232 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
H A Dyp_b_svc.c469 ypbindprog_3(rqstp, transp) in ypbindprog_3() argument
470 struct svc_req *rqstp; in ypbindprog_3()
485 switch (rqstp->rq_proc) {
515 if (rqstp->rq_proc == YPBINDPROC_SETDOM)
516 result = (*local)(&argument, rqstp, transp);
518 result = (*local)(&argument, rqstp);
530 ypbindprog_2(rqstp, transp) in ypbindprog_2() argument
531 struct svc_req *rqstp; in ypbindprog_2()
546 switch (rqstp->rq_proc) {
572 result = (*local)(&argument, rqstp);
H A Dypserv.c94 static void ypdispatch(struct svc_req *rqstp, SVCXPRT *transp);
95 static void ypolddispatch(struct svc_req *rqstp, SVCXPRT *transp);
469 ypdispatch(struct svc_req *rqstp, SVCXPRT *transp) in ypdispatch() argument
483 switch (rqstp->rq_proc) { in ypdispatch()
500 ypmatch(transp, rqstp); in ypdispatch()
553 ypolddispatch(struct svc_req *rqstp, SVCXPRT *transp) in ypolddispatch() argument
561 switch (rqstp->rq_proc) { in ypolddispatch()
577 ypoldmatch(transp, rqstp); in ypolddispatch()
H A Dypxfrd_svc.c110 ypxfrd_1(struct svc_req *rqstp, register SVCXPRT *transp) in ypxfrd_1() argument
120 switch (rqstp->rq_proc) { in ypxfrd_1()
147 result = (*local)((char *)&argument, rqstp); in ypxfrd_1()
H A Dypsym.h128 extern void ypmatch(SVCXPRT *transp, struct svc_req *rqstp);
136 extern void ypoldmatch(SVCXPRT *transp, struct svc_req *rqstp);
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Drpc.ypupdated.c58 void ypupdate_prog(struct svc_req *rqstp, SVCXPRT *transp);
197 ypupdate_prog(struct svc_req *rqstp, SVCXPRT *transp) in ypupdate_prog() argument
209 switch (rqstp->rq_proc) { in ypupdate_prog()
230 switch (rqstp->rq_cred.oa_flavor) { in ypupdate_prog()
233 rqstp->rq_clntcred)->adc_fullname.name; in ypupdate_prog()
237 aup = (struct authunix_parms *)rqstp->rq_clntcred; in ypupdate_prog()
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c229 dispatch(rqstp, transp) in dispatch() argument
230 register struct svc_req *rqstp; in dispatch()
236 switch (rqstp->rq_proc) {
245 getquota(rqstp, transp);
312 getquota(rqstp, transp) in getquota() argument
313 register struct svc_req *rqstp; in getquota()
333 if (rqstp->rq_cred.oa_flavor != AUTH_UNIX ||
334 (((authp) rqstp->rq_clntcred)->aup_uid != 0 &&
335 ((authp) rqstp->rq_clntcred)->aup_uid != (uid_t)gqa.gqa_uid)) {
357 (rqstp->rq_proc != RQUOTAPROC_GETQUOTA)) {
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c307 rusers_service(rqstp, transp) in rusers_service() argument
308 register struct svc_req *rqstp; in rusers_service()
316 switch (rqstp->rq_proc) {
329 if (rqstp->rq_vers == RUSERSVERS_IDLE) {
332 utmpidlearr.uia_cnt = getutmpx_3(rqstp->rq_proc ==
342 } else if (rqstp->rq_vers == RUSERSVERS_3) {
351 entries = (rqstp->rq_proc == RUSERSPROC_ALLNAMES);
H A Drwall_subr.c60 wallproc_wall_1_svc(wrapstring *argp, void *res, struct svc_req *rqstp) in wallproc_wall_1_svc() argument
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_simple.c235 universal(struct svc_req *rqstp, SVCXPRT *transp) in universal() argument
248 if (rqstp->rq_proc == NULLPROC) { in universal()
255 prog = rqstp->rq_prog; in universal()
256 vers = rqstp->rq_vers; in universal()
257 proc = rqstp->rq_proc; in universal()
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_prot_svc.c167 bootparamprog_1(struct svc_req *rqstp, register SVCXPRT *transp) in bootparamprog_1() argument
178 switch (rqstp->rq_proc) { in bootparamprog_1()
207 result = (*local)(&argument, rqstp); in bootparamprog_1()
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dserver.c88 idmap_null_1_svc(void *result, struct svc_req *rqstp) in idmap_null_1_svc() argument
183 idmap_ids_res *result, struct svc_req *rqstp) in idmap_get_mapped_ids_1_svc() argument
889 verify_rules_auth(struct svc_req *rqstp) in verify_rules_auth() argument
896 if (svc_getcallerucred(rqstp->rq_xprt, &uc) != 0) { in verify_rules_auth()
939 struct svc_req *rqstp) in idmap_update_1_svc() argument
950 if (verify_rules_auth(rqstp) < 0) { in idmap_update_1_svc()
1179 &batch_result, rqstp); in idmap_get_mapped_id_by_name_1_svc()
1214 idmap_prop_res *result, struct svc_req *rqstp) in idmap_get_prop_1_svc() argument
1315 struct svc_req *rqstp) in idmap_flush_1_svc() argument
1317 NOTE(ARGUNUSED(rqstp)) in idmap_flush_1_svc()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c844 switch (rqstp->rq_proc) { in mnt()
852 (void) mount(rqstp); in mnt()
863 umount(rqstp); in mnt()
867 umountall(rqstp); in mnt()
872 export(rqstp); in mnt()
877 mnt_pathconf(rqstp); in mnt()
933 transp = rqstp->rq_xprt; in mnt_pathconf()
1355 transp = rqstp->rq_xprt; in mount()
1356 version = rqstp->rq_vers; in mount()
3256 transp = rqstp->rq_xprt; in umount()
[all …]
H A Dexportlist.c67 export(struct svc_req *rqstp) in export() argument
80 transp = rqstp->rq_xprt; in export()
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv.c1071 keyprogram(rqstp, transp) in keyprogram() argument
1072 struct svc_req *rqstp; in keyprogram()
1118 switch (rqstp->rq_proc) {
1286 if (!get_auth(transp, rqstp, &uid)) {
1319 get_auth(trans, rqstp, uid) in get_auth() argument
1321 struct svc_req *rqstp;
1334 if (rqstp->rq_cred.oa_flavor == AUTH_SYS ||
1335 rqstp->rq_cred.oa_flavor == AUTH_LOOPBACK) {
1338 *uid = ((struct authunix_parms *)rqstp->rq_clntcred)->aup_uid;
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c195 sm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) in sm_prog_1() argument
221 if (rqstp->rq_prog == NSM_ADDR_PROGRAM) { in sm_prog_1()
222 switch (rqstp->rq_proc) { in sm_prog_1()
240 switch (rqstp->rq_proc) { in sm_prog_1()

12