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.c322 uint_t otw_len, fsize, xsize; /* otw, file, and export sizes */ in xdr_inline_encode_nfs_fh3() local
331 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()
392 uint_t otw_len, fsize, xsize; /* otw, file, and export sizes */ in xdr_encode_nfs_fh3() local
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()
[all …]
H A Dnfs4_xdr.c533 uint_t otw_len, fsize, xsize; /* otw, file, and export sizes */ in xdr_inline_encode_nfs_fh4() local
542 otw_len = sizeof (fhp->fh4_fsid) + in xdr_inline_encode_nfs_fh4()
549 otw_len = RNDUP(otw_len); in xdr_inline_encode_nfs_fh4()
550 padword = (otw_len / BYTES_PER_XDR_UNIT); /* includes fhlen */ 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()
563 if ((ptr + (otw_len / BYTES_PER_XDR_UNIT) + 1) > ptr_redzone) in xdr_inline_encode_nfs_fh4()
571 IXDR_PUT_U_INT32(ptr, otw_len); in xdr_inline_encode_nfs_fh4()
618 uint_t otw_len, fsize, xsize; /* otw, file, and export sizes */ in xdr_encode_nfs_fh4() local
636 otw_len = BYTES_PER_XDR_UNIT + sizeof (fhp->fh4_fsid) + in xdr_encode_nfs_fh4()
[all …]