Home
last modified time | relevance | path

Searched refs:oa_base (Results 1 – 25 of 40) sorted by relevance

12

/titanic_50/usr/src/lib/libnsl/rpc/
H A Drpc_callmsg.c80 (void) memcpy(buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
87 (void) memcpy(buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
116 if (oa->oa_base == NULL) { in xdr_callmsg()
117 oa->oa_base = malloc(oa->oa_length); in xdr_callmsg()
118 if (oa->oa_base == NULL) { in xdr_callmsg()
127 if (xdr_opaque(xdrs, oa->oa_base, in xdr_callmsg()
131 (void) memcpy(oa->oa_base, in xdr_callmsg()
153 if (oa->oa_base == NULL) { in xdr_callmsg()
154 oa->oa_base = malloc(oa->oa_length); in xdr_callmsg()
155 if (oa->oa_base == NULL) { in xdr_callmsg()
[all …]
H A Dauth_sys.c138 if ((au->au_origcred.oa_base = malloc(au->au_origcred.oa_length)) == in authsys_create()
146 (void) memcpy(au->au_origcred.oa_base, mymem, in authsys_create()
261 xdrmem_create(&xdrs, verf->oa_base, in authsys_validate()
264 if (au->au_shcred.oa_base != NULL) { in authsys_validate()
265 free(au->au_shcred.oa_base); in authsys_validate()
266 au->au_shcred.oa_base = NULL; in authsys_validate()
273 au->au_shcred.oa_base = NULL; in authsys_validate()
292 if (auth->ah_cred.oa_base == au->au_origcred.oa_base) in authsys_refresh()
299 xdrmem_create(&xdrs, au->au_origcred.oa_base, in authsys_refresh()
329 free(au->au_origcred.oa_base); in authsys_destroy()
[all …]
H A Drpc_prot.c65 return (xdr_bytes(xdrs, &ap->oa_base, in xdr_opaque_auth()
149 (void) memcpy(buf, oa->oa_base, oa->oa_length); in xdr_replymsg()
200 if (oa->oa_base == NULL) { in xdr_replymsg()
201 oa->oa_base = malloc(oa->oa_length); in xdr_replymsg()
202 if (oa->oa_base == NULL) { in xdr_replymsg()
212 if (xdr_opaque(xdrs, oa->oa_base, in xdr_replymsg()
216 (void) memcpy(oa->oa_base, buf, oa->oa_length); in xdr_replymsg()
H A Dsvcauth_des.c170 ixdr = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_des()
199 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in __svcauth_des()
424 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in __svcauth_des()
430 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in __svcauth_des()
432 (char *)ixdr - msg->rm_call.cb_verf.oa_base; in __svcauth_des()
H A Dsvc_door.c265 msg->rm_call.cb_cred.oa_base = cred_area; in door_server()
266 msg->rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in door_server()
406 xprt->xp_verf.oa_base = su->su_verfbody; in svc_door_create()
487 xprt->xp_verf.oa_base = su->su_verfbody; in svc_door_xprtcopy()
H A Dsvc_auth_loopb.c75 buf = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_loopback()
H A Dsvc_auth_sys.c89 buf = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_sys()
H A Dsvc_raw.c117 srp->server->xp_verf.oa_base = srp->verf_body; in svc_raw_create()
H A Dsvc_run.c684 msg->rm_call.cb_cred.oa_base = cred_area; in _svc_run_mt()
685 msg->rm_call.cb_verf.oa_base = in _svc_run_mt()
H A Dclnt_raw.c217 if (msg.acpted_rply.ar_verf.oa_base != NULL) { in clnt_raw_call()
/titanic_50/usr/src/uts/common/rpc/
H A Drpc_calmsg.c85 bcopy(oa->oa_base, buf, oa->oa_length); in xdr_callmsg()
92 bcopy(oa->oa_base, buf, oa->oa_length); in xdr_callmsg()
115 if (oa->oa_base == NULL) in xdr_callmsg()
116 oa->oa_base = (caddr_t) in xdr_callmsg()
120 if (xdr_opaque(xdrs, oa->oa_base, in xdr_callmsg()
124 bcopy(buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
140 if (oa->oa_base == NULL) in xdr_callmsg()
141 oa->oa_base = (caddr_t) in xdr_callmsg()
145 if (xdr_opaque(xdrs, oa->oa_base, in xdr_callmsg()
149 bcopy(buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
H A Drpc_prot.c68 return (xdr_bytes(xdrs, &ap->oa_base, in xdr_opaque_auth()
161 bcopy(oa->oa_base, buf, oa->oa_length); in xdr_replymsg()
211 if (oa->oa_base == NULL) { in xdr_replymsg()
212 oa->oa_base = (caddr_t) in xdr_replymsg()
217 if (xdr_opaque(xdrs, oa->oa_base, in xdr_replymsg()
221 bcopy(buf, oa->oa_base, oa->oa_length); in xdr_replymsg()
278 bcopy(oa->oa_base, buf, oa->oa_length); in xdr_replymsg_hdr()
443 msg->acpted_rply.ar_verf.oa_base != NULL) { in xdr_rpc_free_verifier()
H A Dsvc.c1315 msg.rm_call.cb_cred.oa_base = cred_area; in svc_getreq()
1316 msg.rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in svc_getreq()
2840 oa_dst.oa_base = kmem_alloc(oa_src.oa_length, KM_SLEEP); in rpc_msg_dup()
2842 bcopy(oa_src.oa_base, oa_dst.oa_base, oa_src.oa_length); in rpc_msg_dup()
2852 oa_dst.oa_base = kmem_alloc(oa_src.oa_length, KM_SLEEP); in rpc_msg_dup()
2854 bcopy(oa_src.oa_base, oa_dst.oa_base, oa_src.oa_length); in rpc_msg_dup()
2860 oa_dst.oa_base = kmem_alloc(MAX_AUTH_BYTES, KM_SLEEP); in rpc_msg_dup()
2869 kmem_free(dst->rm_call.cb_cred.oa_base, dst->rm_call.cb_cred.oa_length); in rpc_msg_dup()
2879 kmem_free(m->rm_call.cb_cred.oa_base, m->rm_call.cb_cred.oa_length); in rpc_msg_free()
2880 m->rm_call.cb_cred.oa_base = NULL; in rpc_msg_free()
[all …]
H A Dauth.h188 caddr_t oa_base; /* address of more auth stuff */ member
/titanic_50/usr/src/stand/lib/fs/nfs/
H A Dauth_unix.c136 if ((au->au_origcred.oa_base = bkmem_alloc((uint_t)len)) == NULL) { in authunix_create()
142 (void) bcopy(mymem, au->au_origcred.oa_base, (uint_t)len); in authunix_create()
181 xdrmem_create(&xdrs, verf->oa_base, verf->oa_length, in authunix_validate()
189 au->au_shcred.oa_base = 0; in authunix_validate()
207 if (auth->ah_cred.oa_base == au->au_origcred.oa_base) { in authunix_refresh()
216 xdrmem_create(&xdrs, au->au_origcred.oa_base, in authunix_refresh()
244 if (au->au_shcred.oa_base != NULL) in authunix_destroy()
245 bkmem_free(au->au_shcred.oa_base, au->au_shcred.oa_length); in authunix_destroy()
247 if (auth->ah_verf.oa_base != NULL) in authunix_destroy()
248 bkmem_free(auth->ah_verf.oa_base, auth->ah_verf.oa_length); in authunix_destroy()
H A Drpc.c403 if (reply.acpted_rply.ar_verf.oa_base != in brpc_call()
/titanic_50/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c484 creds.oa_base = cred_buf;
516 verf.oa_base = NULL;
531 verf.oa_base = out_buf.value;
578 tok_buf.value = ap->verifier->oa_base; in validate_seqwin()
611 ap->verifier->oa_base = malloc(verf->oa_length);
614 free(ap->verifier->oa_base);
616 ap->verifier->oa_base = malloc(verf->oa_length);
619 bcopy(verf->oa_base, ap->verifier->oa_base, verf->oa_length);
627 tok_buf.value = verf->oa_base;
773 free(ap->verifier->oa_base);
H A Dsvc_rpcsec_gss.c591 rqst->rq_xprt->xp_verf.oa_base = NULL;
606 xdrmem_create(&xdrs, cred->oa_base, cred->oa_length, XDR_DECODE);
1124 (void) memcpy((caddr_t)tmp, oa->oa_base, oa->oa_length);
1131 tok_buf.value = oa->oa_base;
1162 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base;
1164 memcpy(rqst->rq_xprt->xp_verf.oa_base, out_buf.value,
/titanic_50/usr/src/uts/common/rpc/sec/
H A Dsvcauthdes.c173 ixdr = (int32_t *)msg->rm_call.cb_cred.oa_base; in _svcauth_des()
201 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in _svcauth_des()
341 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in _svcauth_des()
347 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in _svcauth_des()
349 (uint_t)((char *)ixdr - msg->rm_call.cb_verf.oa_base); in _svcauth_des()
H A Dsvc_authu.c96 buf = (int32_t *)msg->rm_call.cb_cred.oa_base; in _svcauth_unix()
H A Dauth_kern.c217 auth->ah_cred.oa_base = sercred; in authkern_marshal()
H A Dauth_loopb.c222 auth->ah_cred.oa_base = sercred; in authloopback_marshal()
/titanic_50/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss.c913 creds.oa_base = cred_buf;
948 verf.oa_base = NULL;
966 verf.oa_base = out_buf.value;
993 tok_buf.value = ap->verifier->oa_base; in validate_seqwin()
1033 ap->verifier->oa_base = kmem_zalloc(verf->oa_length,
1037 kmem_free(ap->verifier->oa_base, ap->verifier->oa_length);
1039 ap->verifier->oa_base = kmem_zalloc(verf->oa_length,
1043 bcopy(verf->oa_base, ap->verifier->oa_base, verf->oa_length);
1051 tok_buf.value = verf->oa_base;
1261 kmem_free(ap->verifier->oa_base, ap->verifier->oa_length);
H A Dsvc_rpcsec_gss.c1352 rqst->rq_xprt->xp_verf.oa_base = NULL; in __svcrpcsec_gss()
1365 xdrmem_create(&xdrs, cred->oa_base, cred->oa_length, XDR_DECODE); in __svcrpcsec_gss()
1443 (void) bcopy(oa->oa_base, (caddr_t)tmp, oa->oa_length); in check_verf()
1450 tok_buf.value = oa->oa_base; in check_verf()
1462 (void *)oa->oa_base); in check_verf()
1496 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base;
1498 bcopy(out_buf.value, rqst->rq_xprt->xp_verf.oa_base, out_buf.length);
/titanic_50/usr/src/lib/libbc/inc/include/rpc/
H A Dauth.h80 caddr_t oa_base; /* address of more auth stuff */ member

12