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

12

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_callmsg.c80 (void) memcpy(buf, oa->oa_base, oa->oa_length);
87 (void) memcpy(buf, oa->oa_base, oa->oa_length);
116 if (oa->oa_base == NULL) {
117 oa->oa_base = malloc(oa->oa_length);
118 if (oa->oa_base == NULL) {
127 if (xdr_opaque(xdrs, oa->oa_base,
131 (void) memcpy(oa->oa_base,
153 if (oa->oa_base == NULL) {
154 oa->oa_base = malloc(oa->oa_length);
155 if (oa->oa_base
[all...]
H A Dauth_sys.c138 if ((au->au_origcred.oa_base = malloc(au->au_origcred.oa_length)) ==
146 (void) memcpy(au->au_origcred.oa_base, mymem,
261 xdrmem_create(&xdrs, verf->oa_base,
264 if (au->au_shcred.oa_base != NULL) {
265 free(au->au_shcred.oa_base);
266 au->au_shcred.oa_base = NULL;
273 au->au_shcred.oa_base = NULL;
292 if (auth->ah_cred.oa_base == au->au_origcred.oa_base)
299 xdrmem_create(&xdrs, au->au_origcred.oa_base,
[all...]
H A Drpc_prot.c65 return (xdr_bytes(xdrs, &ap->oa_base,
149 (void) memcpy(buf, oa->oa_base, oa->oa_length);
200 if (oa->oa_base == NULL) {
201 oa->oa_base = malloc(oa->oa_length);
202 if (oa->oa_base == NULL) {
212 if (xdr_opaque(xdrs, oa->oa_base,
216 (void) memcpy(oa->oa_base, buf, oa->oa_length);
H A Dsvcauth_des.c161 ixdr = (int32_t *)msg->rm_call.cb_cred.oa_base;
190 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base;
415 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base;
421 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base;
423 (char *)ixdr - msg->rm_call.cb_verf.oa_base;
H A Dsvc_auth_loopb.c68 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len,
H A Dsvc_auth_sys.c82 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len,
H A Dsvc_door.c265 msg->rm_call.cb_cred.oa_base = cred_area;
266 msg->rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]);
406 xprt->xp_verf.oa_base = su->su_verfbody;
487 xprt->xp_verf.oa_base = su->su_verfbody;
H A Dsvc_raw.c117 srp->server->xp_verf.oa_base = srp->verf_body;
H A Dclnt_raw.c217 if (msg.acpted_rply.ar_verf.oa_base != NULL) {
H A Dsvc_run.c684 msg->rm_call.cb_cred.oa_base = cred_area;
685 msg->rm_call.cb_verf.oa_base =
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dauth_unix.c136 if ((au->au_origcred.oa_base = bkmem_alloc((uint_t)len)) == NULL) {
142 (void) bcopy(mymem, au->au_origcred.oa_base, (uint_t)len);
181 xdrmem_create(&xdrs, verf->oa_base, verf->oa_length,
189 au->au_shcred.oa_base = 0;
207 if (auth->ah_cred.oa_base == au->au_origcred.oa_base) {
216 xdrmem_create(&xdrs, au->au_origcred.oa_base,
244 if (au->au_shcred.oa_base != NULL)
245 bkmem_free(au->au_shcred.oa_base, au->au_shcred.oa_length);
247 if (auth->ah_verf.oa_base !
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Drpc_calmsg.c85 bcopy(oa->oa_base, buf, oa->oa_length);
92 bcopy(oa->oa_base, buf, oa->oa_length);
115 if (oa->oa_base == NULL)
116 oa->oa_base = (caddr_t)
120 if (xdr_opaque(xdrs, oa->oa_base,
124 bcopy(buf, oa->oa_base, oa->oa_length);
140 if (oa->oa_base == NULL)
141 oa->oa_base = (caddr_t)
145 if (xdr_opaque(xdrs, oa->oa_base,
149 bcopy(buf, oa->oa_base, o
[all...]
H A Drpc_prot.c68 return (xdr_bytes(xdrs, &ap->oa_base,
161 bcopy(oa->oa_base, buf, oa->oa_length);
211 if (oa->oa_base == NULL) {
212 oa->oa_base = (caddr_t)
217 if (xdr_opaque(xdrs, oa->oa_base,
221 bcopy(buf, oa->oa_base, oa->oa_length);
278 bcopy(oa->oa_base, buf, oa->oa_length);
443 msg->acpted_rply.ar_verf.oa_base != NULL) {
H A Dsvc.c1317 msg.rm_call.cb_cred.oa_base = cred_area;
1318 msg.rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]);
2842 oa_dst.oa_base = kmem_alloc(oa_src.oa_length, KM_SLEEP);
2844 bcopy(oa_src.oa_base, oa_dst.oa_base, oa_src.oa_length);
2854 oa_dst.oa_base = kmem_alloc(oa_src.oa_length, KM_SLEEP);
2856 bcopy(oa_src.oa_base, oa_dst.oa_base, oa_src.oa_length);
2862 oa_dst.oa_base = kmem_alloc(MAX_AUTH_BYTES, KM_SLEEP);
2871 kmem_free(dst->rm_call.cb_cred.oa_base, ds
[all...]
H A Dauth.h174 caddr_t oa_base; /* address of more auth stuff */ member in struct:opaque_auth
/illumos-gate/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;
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;
[all...]
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,
/illumos-gate/usr/src/lib/libbc/inc/include/rpc/
H A Dauth.h80 caddr_t oa_base; /* address of more auth stuff */ member in struct:opaque_auth
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsvcauthdes.c170 ixdr = (int32_t *)msg->rm_call.cb_cred.oa_base;
198 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base;
338 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base;
344 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base;
346 (uint_t)((char *)ixdr - msg->rm_call.cb_verf.oa_base);
H A Dsvc_authu.c93 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len,
H A Dauth_kern.c183 cred->oa_base = sercred;
H A Dauth_loopb.c186 cred->oa_base = sercred;
/illumos-gate/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;
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;
[all...]
H A Dsvc_rpcsec_gss.c1352 rqst->rq_xprt->xp_verf.oa_base = NULL;
1365 xdrmem_create(&xdrs, cred->oa_base, cred->oa_length, XDR_DECODE);
1443 (void) bcopy(oa->oa_base, (caddr_t)tmp, oa->oa_length);
1450 tok_buf.value = oa->oa_base;
1462 (void *)oa->oa_base);
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);
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dsvc_tcp.c211 xprt->xp_verf.oa_base = cd->verf_body;

Completed in 1341 milliseconds

12