Home
last modified time | relevance | path

Searched refs:otw_len (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_xdr.c331 otw_len = sizeof (fhp->fh3_fsid) + in xdr_inline_encode_nfs_fh3()
338 otw_len = RNDUP(otw_len); in xdr_inline_encode_nfs_fh3()
339 padword = (otw_len / BYTES_PER_XDR_UNIT); /* includes fhlen */ in xdr_inline_encode_nfs_fh3()
344 if ((ptr + (otw_len / BYTES_PER_XDR_UNIT) + 1) > ptr_redzone) in xdr_inline_encode_nfs_fh3()
352 IXDR_PUT_U_INT32(ptr, otw_len); in xdr_inline_encode_nfs_fh3()
408 otw_len = BYTES_PER_XDR_UNIT + sizeof (objp->fh3_fsid) + in xdr_encode_nfs_fh3()
414 otw_len = RNDUP(otw_len); in xdr_encode_nfs_fh3()
421 ptr = XDR_INLINE(xdrs, otw_len); in xdr_encode_nfs_fh3()
423 ptr = buf = kmem_alloc(otw_len, KM_SLEEP); in xdr_encode_nfs_fh3()
430 ret = xdr_opaque(xdrs, (char *)buf, otw_len); in xdr_encode_nfs_fh3()
[all …]
H A Dnfs4_xdr.c542 otw_len = sizeof (fhp->fh4_fsid) + in xdr_inline_encode_nfs_fh4()
549 otw_len = RNDUP(otw_len); in xdr_inline_encode_nfs_fh4()
555 otw_len += sizeof (fhp->fh4_flag); in xdr_inline_encode_nfs_fh4()
557 otw_len += sizeof (fhp->fh4_volatile_id); in xdr_inline_encode_nfs_fh4()
571 IXDR_PUT_U_INT32(ptr, otw_len); in xdr_inline_encode_nfs_fh4()
641 otw_len += sizeof (fhp->fh4_volatile_id); in xdr_encode_nfs_fh4()
646 otw_len = RNDUP(otw_len); in xdr_encode_nfs_fh4()
653 ptr = XDR_INLINE(xdrs, otw_len); in xdr_encode_nfs_fh4()
655 ptr = buf = kmem_alloc(otw_len, KM_SLEEP); in xdr_encode_nfs_fh4()
662 ret = xdr_opaque(xdrs, (char *)buf, otw_len); in xdr_encode_nfs_fh4()
[all …]