Searched refs:rqstp (Results 1 - 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_svc_subr.c39 struct svc_req *rqstp /* RPC stuff */
57 struct svc_req *rqstp /* RPC stuff */
66 if ((err = med_init(rqstp, W_OK, res)) < 0)
89 struct svc_req *rqstp /* RPC stuff */
101 if ((err = med_init(rqstp, R_OK, medep)) < 0)
127 struct svc_req *rqstp /* RPC stuff */
136 if ((err = med_init(rqstp, W_OK, res)) < 0)
159 struct svc_req *rqstp /* RPC stuff */
171 if ((err = med_init(rqstp, R_OK, medep)) < 0)
197 struct svc_req *rqstp /* RP
[all...]
H A Dmed_init.c168 struct svc_req *rqstp /* RPC stuff */
172 SVCXPRT *transp = rqstp->rq_xprt;
181 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred;
290 struct svc_req *rqstp, /* RPC stuff */
311 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred;
313 (check_host(rqstp) == 0)) {
335 struct svc_req *rqstp, /* RPC stuff */
340 SVCXPRT *transp = rqstp->rq_xprt;
356 switch (rqstp->rq_cred.oa_flavor) {
361 if (check_sys(rqstp, amod
289 check_sys( struct svc_req *rqstp, int amode, med_err_t *medep ) argument
334 med_init( struct svc_req *rqstp, int amode, med_err_t *medep ) argument
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_metamhd.c39 struct svc_req *rqstp /* RPC stuff */
47 if ((err = mhd_init(rqstp, R_OK, mhep)) < 0)
65 struct svc_req *rqstp /* RPC stuff */
71 if ((err = mhd_init(rqstp, W_OK, mhep)) < 0)
90 struct svc_req *rqstp /* RPC stuff */
96 if ((err = mhd_init(rqstp, W_OK, mhep)) < 0)
114 struct svc_req *rqstp /* RPC stuff */
124 if ((err = mhd_init(rqstp, W_OK, mhep)) < 0)
H A Dmhd_init.c187 struct svc_req *rqstp /* RPC stuff */
191 SVCXPRT *transp = rqstp->rq_xprt;
199 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred;
284 struct svc_req *rqstp, /* RPC stuff */
301 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred;
303 (check_host(rqstp) == 0)) {
321 struct svc_req *rqstp, /* RPC stuff */
326 SVCXPRT *transp = rqstp->rq_xprt;
336 switch (rqstp->rq_cred.oa_flavor) {
341 if (check_sys(rqstp, amod
283 check_sys( struct svc_req *rqstp, int amode, mhd_error_t *mhep ) argument
320 mhd_init( struct svc_req *rqstp, int amode, mhd_error_t *mhep ) argument
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dserver_stubs.c56 #define CHANGEPW_SERVICE(rqstp) \
57 (cmp_gss_names_rel_1(acceptor_name(rqstp), gss_changepw_name) |\
59 cmp_gss_names_rel_1(acceptor_name(rqstp), \
68 static gss_name_t acceptor_name(struct svc_req * rqstp);
75 get_clnt_name(struct svc_req * rqstp) argument
83 rpc_gss_getcred(rqstp, &raw_cred, NULL, &cookie);
172 * rqstp (input) The RPC request
187 struct svc_req *rqstp,
202 if (!(name = get_clnt_name(rqstp))) {
238 * rqstp (
186 new_server_handle(krb5_ui_4 api_version, struct svc_req *rqstp, kadm5_server_handle_t *out_handle) argument
250 setup_gss_names(struct svc_req *rqstp, char **client_name, char **server_name) argument
311 acceptor_name(struct svc_req * rqstp) argument
501 create_principal_2_svc(cprinc_arg *arg, struct svc_req *rqstp) argument
608 create_principal3_2_svc(cprinc3_arg *arg, struct svc_req *rqstp) argument
709 delete_principal_2_svc(dprinc_arg *arg, struct svc_req *rqstp) argument
785 modify_principal_2_svc(mprinc_arg *arg, struct svc_req *rqstp) argument
860 rename_principal_2_svc(rprinc_arg *arg, struct svc_req *rqstp) argument
978 get_principal_2_svc(gprinc_arg *arg, struct svc_req *rqstp) argument
1069 get_princs_2_svc(gprincs_arg *arg, struct svc_req *rqstp) argument
1144 chpass_principal_2_svc(chpass_arg *arg, struct svc_req *rqstp) argument
1223 chpass_principal3_2_svc(chpass3_arg *arg, struct svc_req *rqstp) argument
1304 setv4key_principal_2_svc(setv4key_arg *arg, struct svc_req *rqstp) argument
1376 setkey_principal_2_svc(setkey_arg *arg, struct svc_req *rqstp) argument
1446 setkey_principal3_2_svc(setkey3_arg *arg, struct svc_req *rqstp) argument
1520 chrand_principal_2_svc(chrand_arg *arg, struct svc_req *rqstp) argument
1612 chrand_principal3_2_svc(chrand3_arg *arg, struct svc_req *rqstp) argument
1706 create_policy_2_svc(cpol_arg *arg, struct svc_req *rqstp) argument
1779 delete_policy_2_svc(dpol_arg *arg, struct svc_req *rqstp) argument
1849 modify_policy_2_svc(mpol_arg *arg, struct svc_req *rqstp) argument
1920 get_policy_2_svc(gpol_arg *arg, struct svc_req *rqstp) argument
2025 get_pols_2_svc(gpols_arg *arg, struct svc_req *rqstp) argument
2098 get_privs_2_svc(krb5_ui_4 *arg, struct svc_req *rqstp) argument
2152 init_2_svc(krb5_ui_4 *arg, struct svc_req *rqstp) argument
[all...]
H A Dkadm_rpc_svc.c60 * rqstp (input) rpc request structure
70 void kadm_1(rqstp, transp)
71 struct svc_req *rqstp;
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);
H A Dipropd_svc.c113 iprop_get_updates_1(kdb_last_t *arg, struct svc_req *rqstp) argument
136 if (setup_gss_names(rqstp, &client_name, &service_name) < 0) {
146 if (!(name = get_clnt_name(rqstp))) {
159 audit_kadmind_unauth(rqstp->rq_xprt, l_port,
164 client_addr(rqstp, abuf));
183 audit_kadmind_auth(rqstp->rq_xprt, l_port,
191 client_addr(rqstp, abuf));
231 struct svc_req *rqstp)
256 if (setup_gss_names(rqstp, &client_name, &service_name) < 0) {
266 if (!(name = get_clnt_name(rqstp))) {
228 iprop_full_resync_1( void *argp, struct svc_req *rqstp) argument
413 krb5_iprop_prog_1( struct svc_req *rqstp, register SVCXPRT *transp) argument
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_init.c51 struct svc_req *rqstp /* RPC stuff */
55 SVCXPRT *transp = rqstp->rq_xprt;
64 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred;
169 struct svc_req *rqstp, /* RPC stuff */
186 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred;
188 (check_host(rqstp) == 0)) {
206 struct svc_req *rqstp, /* RPC stuff */
222 if (rqstp == NULL) {
230 transp = rqstp->rq_xprt;
237 switch (rqstp
168 check_sys( struct svc_req *rqstp, int amode, md_error_t *ep ) argument
205 svc_init( struct svc_req *rqstp, int amode, md_error_t *ep ) argument
[all...]
H A Dmetad_local.h46 extern int svc_init(struct svc_req *rqstp, int amode,
H A Dmetad_svc_subr.c405 struct svc_req *rqstp)
411 if ((err = svc_init(rqstp, op_mode, ep)) < 0)
425 struct svc_req *rqstp)
427 return (mdrpc_flush_internal_common(args, res, rqstp));
432 struct svc_req *rqstp)
434 return (mdrpc_flush_internal_common(args, res, rqstp));
445 struct svc_req *rqstp /* RPC stuff */
453 if ((err = svc_init(rqstp, op_mode, ep)) < 0)
479 struct svc_req *rqstp /* RPC stuff */
513 retval = mdrpc_add_drv_sidenms_common(&v2_args, res, rqstp);
404 mdrpc_flush_internal_common(mdrpc_null_args *args, mdrpc_generic_res *res, struct svc_req *rqstp) argument
424 mdrpc_flush_internal_1_svc(mdrpc_null_args *args, mdrpc_generic_res *res, struct svc_req *rqstp) argument
431 mdrpc_flush_internal_2_svc(mdrpc_null_args *args, mdrpc_generic_res *res, struct svc_req *rqstp) argument
1172 mdrpc_addhosts_common( mdrpc_host_args *args, mdrpc_generic_res *res, struct svc_req *rqstp, int version ) argument
1702 mdrpc_del_drv_sidenms_common( mdrpc_sp_args *args, mdrpc_generic_res *res, struct svc_req *rqstp, int version ) argument
2197 mdrpc_delhosts_common( mdrpc_host_args *args, mdrpc_generic_res *res, struct svc_req *rqstp, int version ) argument
3764 mdrpc_stimeout_common( mdrpc_stimeout_args *args, mdrpc_generic_res *res, struct svc_req *rqstp, int version ) argument
4852 mdrpc_updmeds_common( mdrpc_updmeds_args *args, mdrpc_generic_res *res, struct svc_req *rqstp, int version ) argument
[all...]
/illumos-gate/usr/src/cmd/rpcbind/
H A Dpmap_svc.c68 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) argument
70 rpcbs_procinfo(RPCBVERS_2_STAT, rqstp->rq_proc);
72 switch (rqstp->rq_proc) {
77 PMAP_CHECK(xprt, rqstp->rq_proc);
91 pmapproc_change(rqstp, xprt, rqstp->rq_proc);
98 pmapproc_change(rqstp, xprt, rqstp->rq_proc);
106 pmapproc_getport(rqstp, xprt);
113 PMAP_CHECK(xprt, rqstp
166 pmapproc_change(struct svc_req *rqstp, SVCXPRT *xprt, unsigned long op) argument
242 pmapproc_getport(struct svc_req *rqstp, SVCXPRT *xprt) argument
317 pmapproc_dump(struct svc_req *rqstp, SVCXPRT *xprt) argument
[all...]
H A Drpcb_svc_4.c57 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) argument
84 rpcbs_procinfo(RPCBVERS_4_STAT, rqstp->rq_proc);
86 RPCB_CHECK(transp, rqstp->rq_proc);
88 switch (rqstp->rq_proc) {
143 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4);
171 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4);
197 retval = (*local)(&argument, &result, rqstp, RPCBVERS4);
226 struct svc_req *rqstp)
225 rpcbproc_getaddrlist(rpcb *regp, rpcb_entry_list_ptr *result, struct svc_req *rqstp) argument
[all...]
H A Drpcb_svc.c64 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) argument
87 rpcbs_procinfo(RPCBVERS_3_STAT, rqstp->rq_proc);
89 RPCB_CHECK(transp, rqstp->rq_proc);
91 switch (rqstp->rq_proc) {
158 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS);
190 retval = (*local)(&argument, &result, rqstp, RPCBVERS);
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_dispatch.c72 struct svc_req *rqstp,
154 dupstat = SVC_DUP_EXT(transp, rqstp, res, de->de_ressz, &dr,
174 do_reply = (*func)(args, res, rqstp);
206 DTRACE_PROBE3(sendreply, struct svc_req *, rqstp,
491 nlm_prog_3(struct svc_req *rqstp, register SVCXPRT *transp) argument
496 switch (rqstp->rq_vers) {
514 if (rqstp->rq_proc > max_proc) {
519 de = &nlm_prog_3_dtable[rqstp->rq_proc];
521 nlm_dispatch(rqstp, transp, de);
736 nlm_prog_4(struct svc_req *rqstp, registe argument
71 nlm_dispatch( struct svc_req *rqstp, SVCXPRT *transp, const struct dispatch_entry *de) argument
[all...]
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_proc.c336 gss_acquire_cred_1_svc(argp, res, rqstp)
339 struct svc_req *rqstp;
366 if (checkfrom(rqstp, &uid) == 0) {
580 gss_add_cred_1_svc(argp, res, rqstp)
583 struct svc_req *rqstp;
620 if (checkfrom(rqstp, &uid) == 0) {
764 gss_release_cred_1_svc(argp, res, rqstp)
767 struct svc_req *rqstp;
778 if (checkfrom(rqstp, &uid) == 0)
818 gss_init_sec_context_1_svc(argp, res, rqstp)
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv.c95 static void ypdispatch(struct svc_req *rqstp, SVCXPRT *transp);
96 static void ypolddispatch(struct svc_req *rqstp, SVCXPRT *transp);
470 ypdispatch(struct svc_req *rqstp, SVCXPRT *transp) argument
484 switch (rqstp->rq_proc) {
501 ypmatch(transp, rqstp);
554 ypolddispatch(struct svc_req *rqstp, SVCXPRT *transp) argument
562 switch (rqstp->rq_proc) {
578 ypoldmatch(transp, rqstp);
H A Dypupdated.c206 ypupdate_prog(rqstp, transp)
207 struct svc_req *rqstp;
217 switch (rqstp->rq_proc) {
240 switch (rqstp->rq_cred.oa_flavor) {
243 rqstp->rq_clntcred)->adc_fullname.name;
247 aup = (struct authunix_parms *)rqstp->rq_clntcred;
H A Dyp_b_svc.c471 ypbindprog_3(rqstp, transp)
472 struct svc_req *rqstp;
487 switch (rqstp->rq_proc) {
517 if (rqstp->rq_proc == YPBINDPROC_SETDOM)
518 result = (*local)(&argument, rqstp, transp);
520 result = (*local)(&argument, rqstp);
532 ypbindprog_2(rqstp, transp)
533 struct svc_req *rqstp;
548 switch (rqstp->rq_proc) {
574 result = (*local)(&argument, rqstp);
[all...]
H A Dypxfrd_server.c123 getdbm_1_svc(hosereq *argp, struct svc_req *rqstp) argument
136 xprt = rqstp->rq_xprt;
151 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer,
153 svcerr_systemerr(rqstp->rq_xprt);
163 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer,
165 svcerr_systemerr(rqstp->rq_xprt);
176 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer,
178 svcerr_systemerr(rqstp->rq_xprt);
233 if (!svc_sendreply(rqstp->rq_xprt, xdr_myfyl, (caddr_t)&m)) {
234 svcerr_systemerr(rqstp
[all...]
H A Dypxfrd_svc.c111 ypxfrd_1(struct svc_req *rqstp, register SVCXPRT *transp) argument
121 switch (rqstp->rq_proc) {
148 result = (*local)((char *)&argument, rqstp);
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Drpc.ypupdated.c198 ypupdate_prog(rqstp, transp)
199 struct svc_req *rqstp;
209 switch (rqstp->rq_proc) {
229 switch (rqstp->rq_cred.oa_flavor) {
232 rqstp->rq_clntcred)->adc_fullname.name;
236 aup = (struct authunix_parms *)rqstp->rq_clntcred;
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/
H A Dmdmn_commd_service.c108 mdmn_commd_2(rqstp, transp)
109 struct svc_req *rqstp;
126 switch (rqstp->rq_proc) {
154 if (mdmn_send_svc_2((md_mn_msg_t *)&argument, rqstp) == 0) {
157 svc_done(rqstp->rq_xprt);
239 result = (*local)(&argument, rqstp);
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c309 rusers_service(rqstp, transp)
310 register struct svc_req *rqstp;
318 switch (rqstp->rq_proc) {
331 if (rqstp->rq_vers == RUSERSVERS_IDLE) {
334 utmpidlearr.uia_cnt = getutmpx_3(rqstp->rq_proc ==
344 } else if (rqstp->rq_vers == RUSERSVERS_3) {
353 entries = (rqstp->rq_proc == RUSERSPROC_ALLNAMES);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_simple.c235 universal(struct svc_req *rqstp, SVCXPRT *transp) argument
248 if (rqstp->rq_proc == NULLPROC) {
255 prog = rqstp->rq_prog;
256 vers = rqstp->rq_vers;
257 proc = rqstp->rq_proc;
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_prot_svc.c170 bootparamprog_1(struct svc_req *rqstp, register SVCXPRT *transp) argument
181 switch (rqstp->rq_proc) {
210 result = (*local)(&argument, rqstp);

Completed in 1996 milliseconds

12