Home
last modified time | relevance | path

Searched refs:nfs_fh4_val (Results 1 – 18 of 18) sorted by relevance

/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs4_subr.c141 bcopy(from->nfs_fh4_val, to->nfs_fh4_val, to->nfs_fh4_len); in nfs_fh4_copy()
159 for (c1 = fh4p1->nfs_fh4_val, c2 = fh4p2->nfs_fh4_val; in nfs4cmpfh()
160 c1 < fh4p1->nfs_fh4_val + fh4p1->nfs_fh4_len; in nfs4cmpfh()
1733 fhp->nfs_fh4_val = kmem_alloc(tmpfhp->nfs_fh4_len, KM_SLEEP); in remap_lookup()
1761 pfhp->nfs_fh4_val = kmem_alloc(tmpfhp->nfs_fh4_len, KM_SLEEP); in remap_lookup()
1886 kmem_free(newfh.nfs_fh4_val, newfh.nfs_fh4_len); in nfs4_remap_file()
1890 kmem_free(newpfh.nfs_fh4_val, newpfh.nfs_fh4_len); in nfs4_remap_file()
1994 kmem_free(newfh.nfs_fh4_val, newfh.nfs_fh4_len); in nfs4_remap_file()
1996 kmem_free(newpfh.nfs_fh4_val, newpfh.nfs_fh4_len); in nfs4_remap_file()
2244 kmem_free(newfh.nfs_fh4_val, newfh.nfs_fh4_len); in nfs4_make_dotdot()
[all …]
H A Dnfs4_state.c2049 if (oo->ro_reply_fh.nfs_fh4_val) { in rfs4_openowner_destroy()
2050 kmem_free(oo->ro_reply_fh.nfs_fh4_val, in rfs4_openowner_destroy()
2052 oo->ro_reply_fh.nfs_fh4_val = NULL; in rfs4_openowner_destroy()
2091 oo->ro_reply_fh.nfs_fh4_val = NULL; in rfs4_openowner_create()
2160 if (oo->ro_reply_fh.nfs_fh4_val == NULL) in rfs4_update_open_resp()
2161 oo->ro_reply_fh.nfs_fh4_val = in rfs4_update_open_resp()
2165 if (oo->ro_reply_fh.nfs_fh4_val) { in rfs4_update_open_resp()
2166 kmem_free(oo->ro_reply_fh.nfs_fh4_val, in rfs4_update_open_resp()
2168 oo->ro_reply_fh.nfs_fh4_val = NULL; in rfs4_update_open_resp()
2350 if (fp->rf_filehandle.nfs_fh4_val) in rfs4_file_destroy()
[all …]
H A Dnfs4_xdr.c425 objp->nfs_fh4_val = NULL; in xdr_decode_nfs_fh4()
456 objp->nfs_fh4_val = kmem_zalloc(sizeof (nfs_fh4_fmt_t), KM_SLEEP); in xdr_decode_nfs_fh4()
460 (nfs_fh4_fmt_t *)objp->nfs_fh4_val, fhsize) == FALSE) { in xdr_decode_nfs_fh4()
467 kmem_free(objp->nfs_fh4_val, objp->nfs_fh4_len); in xdr_decode_nfs_fh4()
468 objp->nfs_fh4_val = NULL; in xdr_decode_nfs_fh4()
580 fhp = (nfs_fh4_fmt_t *)objp->nfs_fh4_val; in xdr_encode_nfs_fh4()
633 return (xdr_bytes(xdrs, (char **)&objp->nfs_fh4_val, in xdr_nfs_fh4()
636 if (objp->nfs_fh4_val != NULL) { in xdr_nfs_fh4()
637 kmem_free(objp->nfs_fh4_val, objp->nfs_fh4_len); in xdr_nfs_fh4()
638 objp->nfs_fh4_val = NULL; in xdr_nfs_fh4()
[all …]
H A Dnfs4_srv_attr.c137 cs.fh.nfs_fh4_val = NULL; in rfs4_attr_init()
797 ASSERT(IS_P2ALIGNED(wirefh->nfs_fh4_val, sizeof (uint32_t))); in rfs4fhcmp()
800 if (!xdr_inline_decode_nfs_fh4((uint32_t *)wirefh->nfs_fh4_val, &fh, in rfs4fhcmp()
804 return (bcmp(srvfh->nfs_fh4_val, &fh, srvfh->nfs_fh4_len)); in rfs4fhcmp()
829 na->filehandle.nfs_fh4_val = in rfs4_fattr4_filehandle()
834 na->filehandle.nfs_fh4_val = in rfs4_fattr4_filehandle()
855 if (na->filehandle.nfs_fh4_val == NULL) in rfs4_fattr4_filehandle()
857 kmem_free(na->filehandle.nfs_fh4_val, in rfs4_fattr4_filehandle()
859 na->filehandle.nfs_fh4_val = NULL; in rfs4_fattr4_filehandle()
H A Dnfs4_srv_deleg.c700 if (rec_argp->fh.nfs_fh4_val) in rfs4args_cb_recall_free()
701 kmem_free(rec_argp->fh.nfs_fh4_val, rec_argp->fh.nfs_fh4_len); in rfs4args_cb_recall_free()
711 if (argp->fh.nfs_fh4_val) in rfs4args_cb_getattr_free()
712 kmem_free(argp->fh.nfs_fh4_val, argp->fh.nfs_fh4_len); in rfs4args_cb_getattr_free()
868 rec_argp->fh.nfs_fh4_val = kmem_alloc(sizeof (char) * in rfs4_do_cb_recall()
H A Dnfs4_client.c3734 nsfh->sfh_fh.nfs_fh4_val = kmem_alloc(NFS4_FHSIZE, KM_SLEEP); in sfh4_put()
3735 bcopy(fh->nfs_fh4_val, nsfh->sfh_fh.nfs_fh4_val, fh->nfs_fh4_len); in sfh4_put()
3751 kmem_free(nsfh->sfh_fh.nfs_fh4_val, NFS4_FHSIZE); in sfh4_put()
3780 bcopy(fh->nfs_fh4_val, fhandle.fh_buf, fhandle.fh_len); in sfh4_get()
3878 kmem_free(sfh->sfh_fh.nfs_fh4_val, NFS4_FHSIZE); in sfh4_rele()
3920 bcopy(newfh->nfs_fh4_val, sfh->sfh_fh.nfs_fh4_val, in sfh4_update()
3963 bcopy(sfh->sfh_fh.nfs_fh4_val, fhp->fh_buf, fhp->fh_len); in sfh4_copyval()
H A Dnfs_export.c2216 nfs_fh4_fmt_t *fh_fmtp = (nfs_fh4_fmt_t *)fh->nfs_fh4_val; in makefh4()
2392 fh_fmtp = (nfs_fh4_fmt_t *)fh->nfs_fh4_val; in nfs4_fhtovp()
2645 fhp = &((nfs_fh4_fmt_t *)fh4p->nfs_fh4_val)->fh4_i; in find_volrnm_fh()
2700 fh4.nfs_fh4_val = fhbuf; in add_volrnm_fh()
2712 bcopy(fh4.nfs_fh4_val, &p->vrn_fh_fmt, sizeof (p->vrn_fh_fmt)); in add_volrnm_fh()
H A Dnfs4_callback.c254 bcmp(fhandle.fh_buf, args->fh.nfs_fh4_val, in cb_getattr()
262 bcmp(nfs4_deleg_anyfh.nfs_fh4_val, args->fh.nfs_fh4_val, in cb_getattr()
439 bcmp(fhandle.fh_buf, args->fh.nfs_fh4_val, in cb_recall()
H A Dnfs4_stub_vnops.c1553 stub_fh->nfs_fh4_val = kmem_alloc(dfh->nfs_fh4_len + in find_referral_stubvp()
1555 newfhval = stub_fh->nfs_fh4_val; in find_referral_stubvp()
1558 bcopy(dfh->nfs_fh4_val, newfhval, dfh->nfs_fh4_len); in find_referral_stubvp()
1568 kmem_free(stub_fh->nfs_fh4_val, dfh->nfs_fh4_len + in find_referral_stubvp()
H A Dnfs4_srv.c600 cs->fh.nfs_fh4_val = cs->fhbuf; in rfs4_init_compound_state()
2413 resp->object.nfs_fh4_val = in rfs4_op_getfh()
2428 resp->object.nfs_fh4_val != NULL) { in rfs4_op_getfh_free()
2429 kmem_free(resp->object.nfs_fh4_val, resp->object.nfs_fh4_len); in rfs4_op_getfh_free()
2430 resp->object.nfs_fh4_val = NULL; in rfs4_op_getfh_free()
3471 fh_fmtp = (nfs_fh4_fmt_t *)cs->fh.nfs_fh4_val; in rfs4_op_putpubfh()
3569 fh_fmtp = (nfs_fh4_fmt_t *)args->object.nfs_fh4_val; in rfs4_op_putfh()
4858 if ((cs->saved_vp == NULL) || (cs->saved_fh.nfs_fh4_val == NULL)) { in rfs4_op_restorefh()
4909 if (cs->saved_fh.nfs_fh4_val == NULL) { in rfs4_op_savefh()
4910 cs->saved_fh.nfs_fh4_val = kmem_alloc(NFS4_FHSIZE, KM_SLEEP); in rfs4_op_savefh()
[all …]
H A Dnfs4_vfsops.c2022 bcopy(tmpfhp->nfs_fh4_val, svp->sv_pfhandle.fh_buf, in nfs4getfh_otw()
2026 bcopy(resfhp->nfs_fh4_val, svp->sv_fhandle.fh_buf, resfhp->nfs_fh4_len); in nfs4getfh_otw()
2245 rootfh.nfs_fh4_val = svp->sv_fhandle.fh_buf; in nfs4_remap_root()
2560 fh.nfs_fh4_val = svp->sv_fhandle.fh_buf; in nfs4rootvp()
2563 fh.nfs_fh4_val = svp->sv_pfhandle.fh_buf; in nfs4rootvp()
H A Dnfs4_rnode.c325 bcopy(fh->sfh_fh.nfs_fh4_val, fhandle.fh_buf, in badrootfh_check()
331 bcopy(mi->mi_rootfh->sfh_fh.nfs_fh4_val, fhandle.fh_buf, in badrootfh_check()
H A Dnfs4_recovery.c1711 fh.nfs_fh4_val = svp->sv_fhandle.fh_buf; in recov_newserver()
1714 fh.nfs_fh4_val = svp->sv_pfhandle.fh_buf; in recov_newserver()
H A Dnfs4_vnops.c14884 fh.nfs_fh4_val = svp->sv_pfhandle.fh_buf; in vtodv()
/titanic_50/usr/src/uts/common/nfs/
H A Dnfs4.h1018 #define fh4_to_fmt4(fh4p) ((nfs_fh4_fmt_t *)(fh4p)->nfs_fh4_val)
H A Dnfs4_kprot.h220 char *nfs_fh4_val; member
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs4.c594 #define fh4_hash(fh) adler16((fh)->nfs_fh4_val, (fh)->nfs_fh4_len)
2120 for (i = 0, cp = (uchar_t *)fh->nfs_fh4_val; in detail_fh4()
H A Dnfs4_xdr.c282 if (!xdr_bytes(xdrs, (char **)&objp->nfs_fh4_val, in xdr_nfs_fh4()