/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_subr.c | 140 to->nfs_fh4_len = from->nfs_fh4_len; in nfs_fh4_copy() 141 bcopy(from->nfs_fh4_val, to->nfs_fh4_val, to->nfs_fh4_len); in nfs_fh4_copy() 155 if (fh4p1->nfs_fh4_len < fh4p2->nfs_fh4_len) in nfs4cmpfh() 157 if (fh4p1->nfs_fh4_len > fh4p2->nfs_fh4_len) in nfs4cmpfh() 160 c1 < fh4p1->nfs_fh4_val + fh4p1->nfs_fh4_len; in nfs4cmpfh() 1726 if (tmpfhp->nfs_fh4_len > NFS4_FHSIZE) { in remap_lookup() 1728 tmpfhp->nfs_fh4_len, NULL, NULL, 0, NULL, 0, TAG_NONE, in remap_lookup() 1733 fhp->nfs_fh4_val = kmem_alloc(tmpfhp->nfs_fh4_len, KM_SLEEP); in remap_lookup() 1754 if (tmpfhp->nfs_fh4_len > NFS4_FHSIZE) { in remap_lookup() 1756 tmpfhp->nfs_fh4_len, NULL, NULL, 0, NULL, 0, TAG_NONE, in remap_lookup() [all …]
|
H A D | nfs4_state.c | 2051 oo->ro_reply_fh.nfs_fh4_len); in rfs4_openowner_destroy() 2053 oo->ro_reply_fh.nfs_fh4_len = 0; in rfs4_openowner_destroy() 2090 oo->ro_reply_fh.nfs_fh4_len = 0; in rfs4_openowner_create() 2159 fh && fh->nfs_fh4_len) { in rfs4_update_open_resp() 2162 kmem_alloc(fh->nfs_fh4_len, KM_SLEEP); in rfs4_update_open_resp() 2167 oo->ro_reply_fh.nfs_fh4_len); in rfs4_update_open_resp() 2169 oo->ro_reply_fh.nfs_fh4_len = 0; in rfs4_update_open_resp() 2352 fp->rf_filehandle.nfs_fh4_len); in rfs4_file_destroy() 2390 fp->rf_filehandle.nfs_fh4_len = 0; in rfs4_file_create() 2392 ASSERT(fh && fh->nfs_fh4_len); in rfs4_file_create() [all …]
|
H A D | nfs4_client.c | 3728 nsfh->sfh_fh.nfs_fh4_len = fh->nfs_fh4_len; in sfh4_put() 3735 bcopy(fh->nfs_fh4_val, nsfh->sfh_fh.nfs_fh4_val, fh->nfs_fh4_len); in sfh4_put() 3773 ASSERT(fh->nfs_fh4_len <= NFS4_FHSIZE); in sfh4_get() 3779 fhandle.fh_len = fh->nfs_fh4_len; in sfh4_get() 3904 ASSERT(newfh->nfs_fh4_len <= NFS4_FHSIZE); in sfh4_update() 3919 sfh->sfh_fh.nfs_fh4_len = newfh->nfs_fh4_len; in sfh4_update() 3921 sfh->sfh_fh.nfs_fh4_len); in sfh4_update() 3961 fhp->fh_len = sfh->sfh_fh.nfs_fh4_len; in sfh4_copyval()
|
H A D | nfs4_xdr.c | 426 objp->nfs_fh4_len = 0; in xdr_decode_nfs_fh4() 457 objp->nfs_fh4_len = sizeof (nfs_fh4_fmt_t); in xdr_decode_nfs_fh4() 467 kmem_free(objp->nfs_fh4_val, objp->nfs_fh4_len); in xdr_decode_nfs_fh4() 469 objp->nfs_fh4_len = 0; in xdr_decode_nfs_fh4() 634 (uint_t *)&objp->nfs_fh4_len, NFS4_FHSIZE)); in xdr_nfs_fh4() 637 kmem_free(objp->nfs_fh4_val, objp->nfs_fh4_len); in xdr_nfs_fh4() 1064 (uint_t *)&gesp->n4g_fh_u.n4g_fh.nfs_fh4_len, in xdr_ga_fattr_res() 1703 gesp->n4g_fh_u.n4g_fh.nfs_fh4_len = len; in xdr_ga_fattr_res_inline() 3974 kmem_free(objp->nfs_fh4_val, objp->nfs_fh4_len); in xdr_snfs_argop4_free() 4136 (uint_t *)&objp->nfs_argop4_u.opputfh.object.nfs_fh4_len, in xdr_nfs_argop4() [all …]
|
H A D | nfs4_srv_attr.c | 801 wirefh->nfs_fh4_len)) in rfs4fhcmp() 804 return (bcmp(srvfh->nfs_fh4_val, &fh, srvfh->nfs_fh4_len)); in rfs4fhcmp() 825 if (sarg->cs->fh.nfs_fh4_len == 0) { in rfs4_fattr4_filehandle() 835 kmem_alloc(fh->nfs_fh4_len, KM_SLEEP); in rfs4_fattr4_filehandle() 858 na->filehandle.nfs_fh4_len); in rfs4_fattr4_filehandle() 860 na->filehandle.nfs_fh4_len = 0; in rfs4_fattr4_filehandle()
|
H A D | nfs4_stub_vnops.c | 1553 stub_fh->nfs_fh4_val = kmem_alloc(dfh->nfs_fh4_len + in find_referral_stubvp() 1558 bcopy(dfh->nfs_fh4_val, newfhval, dfh->nfs_fh4_len); in find_referral_stubvp() 1559 stub_fh->nfs_fh4_len = dfh->nfs_fh4_len; in find_referral_stubvp() 1560 newfhval = newfhval + dfh->nfs_fh4_len; in find_referral_stubvp() 1565 stub_fh->nfs_fh4_len += sizeof (fattr4_mounted_on_fileid); in find_referral_stubvp() 1568 kmem_free(stub_fh->nfs_fh4_val, dfh->nfs_fh4_len + in find_referral_stubvp()
|
H A D | nfs4_callback.c | 253 if ((fhandle.fh_len == args->fh.nfs_fh4_len && in cb_getattr() 261 if (nfs4_deleg_anyfh.nfs_fh4_len == args->fh.nfs_fh4_len && in cb_getattr() 263 args->fh.nfs_fh4_len) == 0) { in cb_getattr() 438 if ((fhandle.fh_len == args->fh.nfs_fh4_len && in cb_recall()
|
H A D | nfs4_vfsops.c | 2020 ASSERT(tmpfhp->nfs_fh4_len <= NFS4_FHSIZE); in nfs4getfh_otw() 2021 svp->sv_pfhandle.fh_len = tmpfhp->nfs_fh4_len; in nfs4getfh_otw() 2023 tmpfhp->nfs_fh4_len); in nfs4getfh_otw() 2024 ASSERT(resfhp->nfs_fh4_len <= NFS4_FHSIZE); in nfs4getfh_otw() 2025 svp->sv_fhandle.fh_len = resfhp->nfs_fh4_len; in nfs4getfh_otw() 2026 bcopy(resfhp->nfs_fh4_val, svp->sv_fhandle.fh_buf, resfhp->nfs_fh4_len); in nfs4getfh_otw() 2246 rootfh.nfs_fh4_len = svp->sv_fhandle.fh_len; in nfs4_remap_root() 2559 fh.nfs_fh4_len = svp->sv_fhandle.fh_len; in nfs4rootvp() 2562 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len; in nfs4rootvp()
|
H A D | nfs4_srv_deleg.c | 701 kmem_free(rec_argp->fh.nfs_fh4_val, rec_argp->fh.nfs_fh4_len); in rfs4args_cb_recall_free() 712 kmem_free(argp->fh.nfs_fh4_val, argp->fh.nfs_fh4_len); in rfs4args_cb_getattr_free() 869 fhp->nfs_fh4_len, KM_SLEEP); in rfs4_do_cb_recall()
|
H A D | nfs_export.c | 2229 fh->nfs_fh4_len = NFS_FH4_LEN; in makefh4() 2390 ASSERT(fh->nfs_fh4_len >= NFS_FH4_LEN); in nfs4_fhtovp() 2642 if (fh4p->nfs_fh4_len != NFS_FH4_LEN) { in find_volrnm_fh() 2702 if ((error) || (fh4.nfs_fh4_len != sizeof (p->vrn_fh_fmt))) { in add_volrnm_fh()
|
H A D | nfs4_rnode.c | 324 fhandle.fh_len = fh->sfh_fh.nfs_fh4_len; in badrootfh_check() 330 fhandle.fh_len = mi->mi_rootfh->sfh_fh.nfs_fh4_len; in badrootfh_check()
|
H A D | nfs4_recovery.c | 1710 fh.nfs_fh4_len = svp->sv_fhandle.fh_len; in recov_newserver() 1713 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len; in recov_newserver()
|
H A D | nfs4_srv.c | 2414 kmem_alloc(cs->fh.nfs_fh4_len, KM_SLEEP); in rfs4_op_getfh() 2429 kmem_free(resp->object.nfs_fh4_val, resp->object.nfs_fh4_len); in rfs4_op_getfh_free() 2431 resp->object.nfs_fh4_len = 0; in rfs4_op_getfh_free() 3570 if (args->object.nfs_fh4_len < NFS_FH4_LEN) { in rfs4_op_putfh()
|
H A D | nfs4_vnops.c | 5545 if (fhp->nfs_fh4_len == 0) { in nfs4lookupvalidate_otw() 5903 if (fhp->nfs_fh4_len == 0) { in nfs4lookupnew_otw() 6496 if (gf_res->object.nfs_fh4_len == 0) { in nfs4openattr() 14867 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len; in vtodv()
|
/titanic_44/usr/src/uts/common/nfs/ |
H A D | nfs4_kprot.h | 219 uint_t nfs_fh4_len; member
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs4.c | 594 #define fh4_hash(fh) adler16((fh)->nfs_fh4_val, (fh)->nfs_fh4_len) 2117 sprintf(bufp, "(%d) ", fh->nfs_fh4_len); in detail_fh4() 2121 i < fh->nfs_fh4_len; in detail_fh4()
|
H A D | nfs4_xdr.c | 283 (uint_t *)&objp->nfs_fh4_len, NFS4_FHSIZE)) in xdr_nfs_fh4()
|