Home
last modified time | relevance | path

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

/titanic_41/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.c486 uint_t otw_len, fsize, xsize; /* otw, file, and export sizes */ in xdr_inline_encode_nfs_fh4() local
495 otw_len = sizeof (fhp->fh4_fsid) + in xdr_inline_encode_nfs_fh4()
502 otw_len = RNDUP(otw_len); in xdr_inline_encode_nfs_fh4()
503 padword = (otw_len / BYTES_PER_XDR_UNIT); /* includes fhlen */ in xdr_inline_encode_nfs_fh4()
508 otw_len += sizeof (fhp->fh4_flag); in xdr_inline_encode_nfs_fh4()
510 otw_len += sizeof (fhp->fh4_volatile_id); in xdr_inline_encode_nfs_fh4()
516 if ((ptr + (otw_len / BYTES_PER_XDR_UNIT) + 1) > ptr_redzone) in xdr_inline_encode_nfs_fh4()
524 IXDR_PUT_U_INT32(ptr, otw_len); in xdr_inline_encode_nfs_fh4()
571 uint_t otw_len, fsize, xsize; /* otw, file, and export sizes */ in xdr_encode_nfs_fh4() local
589 otw_len = BYTES_PER_XDR_UNIT + sizeof (fhp->fh4_fsid) + in xdr_encode_nfs_fh4()
[all …]