Home
last modified time | relevance | path

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

/illumos-gate/usr/src/boot/libsa/
H A Dnfs.c115 uint32_t fhsize; member
194 uint32_t fhsize; in nfs_getrootfh() member
235 *fhlenp = ntohl(repl->fhsize); in nfs_getrootfh()
253 uint32_t fhsize; in nfs_lookupfh() member
259 uint32_t fhsize; in nfs_lookupfh() member
278 args->fhsize = htonl(d->fhsize); in nfs_lookupfh()
279 bcopy(d->fh, args->fhplusname, d->fhsize); in nfs_lookupfh()
283 pos = roundup(d->fhsize, sizeof (uint32_t)) / sizeof (uint32_t); in nfs_lookupfh()
304 newfd->fhsize = ntohl(repl->fhsize); in nfs_lookupfh()
305 bcopy(repl->fhplusattr, &newfd->fh, newfd->fhsize); in nfs_lookupfh()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_xdr.c158 xdr_inline_decode_nfs_fh3(uint32_t *ptr, nfs_fh3 *fhp, uint32_t fhsize) in xdr_inline_decode_nfs_fh3() argument
171 if (fhsize > sizeof (fhandle3_t) || fhsize < (sizeof (fsid_t) + in xdr_inline_decode_nfs_fh3()
194 fhsize -= 2 * BYTES_PER_XDR_UNIT + sizeof (ushort_t); in xdr_inline_decode_nfs_fh3()
205 if (fhsize < dsize) in xdr_inline_decode_nfs_fh3()
209 fhsize -= dsize; in xdr_inline_decode_nfs_fh3()
211 if (fhsize < sizeof (ushort_t)) in xdr_inline_decode_nfs_fh3()
216 fhsize -= sizeof (ushort_t); in xdr_inline_decode_nfs_fh3()
223 if (fhsize < dsize) in xdr_inline_decode_nfs_fh3()
226 fhsize -= dsize; in xdr_inline_decode_nfs_fh3()
234 if (fhsize < (BYTES_PER_XDR_UNIT - resid)) in xdr_inline_decode_nfs_fh3()
[all …]
H A Dnfs4_xdr.c353 xdr_inline_decode_nfs_fh4(uint32_t *ptr, nfs_fh4_fmt_t *fhp, uint32_t fhsize) in xdr_inline_decode_nfs_fh4() argument
366 if (fhsize > sizeof (nfs_fh4_fmt_t) || fhsize < (sizeof (fsid_t) + in xdr_inline_decode_nfs_fh4()
389 fhsize -= 2 * BYTES_PER_XDR_UNIT + sizeof (ushort_t); in xdr_inline_decode_nfs_fh4()
400 if (fhsize < dsize) in xdr_inline_decode_nfs_fh4()
404 fhsize -= dsize; in xdr_inline_decode_nfs_fh4()
406 if (fhsize < sizeof (ushort_t)) in xdr_inline_decode_nfs_fh4()
411 fhsize -= sizeof (ushort_t); in xdr_inline_decode_nfs_fh4()
418 if (fhsize < dsize) in xdr_inline_decode_nfs_fh4()
421 fhsize -= dsize; in xdr_inline_decode_nfs_fh4()
429 if (fhsize < (BYTES_PER_XDR_UNIT - resid)) in xdr_inline_decode_nfs_fh4()
[all …]