Home
last modified time | relevance | path

Searched refs:credsize (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dauth_kern.c124 uint32_t gidlen, credsize, namelen, rounded_namelen; in authkern_marshal() local
159 credsize = NFIELDS * BYTES_PER_XDR_UNIT + rounded_namelen + in authkern_marshal()
161 ASSERT(credsize <= MAX_AUTH_BYTES); in authkern_marshal()
171 ptr = XDR_INLINE(xdrs, 2 * BYTES_PER_XDR_UNIT + credsize + in authkern_marshal()
180 IXDR_PUT_U_INT32(ptr, credsize); /* cred len */ in authkern_marshal()
H A Dauth_loopb.c126 uint32_t gidlen, credsize, namelen, rounded_namelen; in authloopback_marshal() local
164 credsize = NFIELDS * BYTES_PER_XDR_UNIT + rounded_namelen + in authloopback_marshal()
166 ASSERT(credsize <= MAX_AUTH_BYTES); in authloopback_marshal()
176 ptr = XDR_INLINE(xdrs, 2 * BYTES_PER_XDR_UNIT + credsize + in authloopback_marshal()
185 IXDR_PUT_U_INT32(ptr, credsize); /* cred len */ in authloopback_marshal()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dump.c509 int credsize; in nd_auth_marshall() local
514 credsize = 4 + 4 + roundup(hostnamelen, 4) + 4 + 4 + 4; in nd_auth_marshall()
516 ptr = XDR_INLINE(xdrp, 4 + 4 + credsize + 4 + 4); in nd_auth_marshall()
525 IXDR_PUT_INT32(ptr, credsize); /* cred len */ in nd_auth_marshall()