Lines Matching refs:nfh_len
321 if (np->n_fhp->nfh_len == NFSX_FHMAX + 1) in nfsrpc_accessrpc()
409 error = nfscl_open(vp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_open()
431 np->n_fhp->nfh_len, mode, op, in nfsrpc_open()
439 np->n_fhp->nfh_len, mode, op, in nfsrpc_open()
456 nfhp->nfh_fh, nfhp->nfh_len, cred, p, dp); in nfsrpc_open()
467 nfhp->nfh_len, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_open()
472 nfhp->nfh_fh, nfhp->nfh_len, nfhp->nfh_fh, in nfsrpc_open()
473 nfhp->nfh_len, mode, op, NULL, 0, &dp, in nfsrpc_open()
489 nfhp->nfh_fh, nfhp->nfh_len, cred, p, dp); in nfsrpc_open()
1307 if (np->n_fhp->nfh_len == NFSX_FHMAX + 1) in nfsrpc_getattr()
1394 nfhp->nfh_len, mode, 0, cred, p, &stateid, &lckp); in nfsrpc_setattr()
1410 nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_setattr()
1530 np->n_fhp->nfh_len, M_NFSFH, M_WAITOK); in nfsrpc_lookup()
1531 nfhp->nfh_len = np->n_fhp->nfh_len; in nfsrpc_lookup()
1532 NFSBCOPY(np->n_fhp->nfh_fh, nfhp->nfh_fh, nfhp->nfh_len); in nfsrpc_lookup()
1592 np->n_fhp->nfh_len, M_NFSFH, M_WAITOK); in nfsrpc_lookup()
1593 nfhp->nfh_len = np->n_fhp->nfh_len; in nfsrpc_lookup()
1594 NFSBCOPY(np->n_fhp->nfh_fh, nfhp->nfh_fh, nfhp->nfh_len); in nfsrpc_lookup()
1682 (*nfhpp)->nfh_len, M_NFSCLDELEG, M_WAITOK); in nfsrpc_lookup()
1683 ndp->nfsdl_fhlen = (*nfhpp)->nfh_len; in nfsrpc_lookup()
1703 ret = nfscl_open(dvp, (*nfhpp)->nfh_fh, (*nfhpp)->nfh_len, in nfsrpc_lookup()
1826 (void)nfscl_getstateid(vp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_read()
1992 (void)nfscl_getstateid(vp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_write()
2297 error = nfscl_getstateid(vp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_deallocate()
2307 nfhp->nfh_len, NFSV4OPEN_ACCESSWRITE, 0, in nfsrpc_deallocate()
2515 (*nfhpp)->nfh_fh, (*nfhpp)->nfh_len, cred, p, dp); in nfsrpc_create()
2683 (void)nfsm_fhtom(nmp, nd, np->n_fhp->nfh_fh, np->n_fhp->nfh_len, 0); in nfsrpc_createv4()
2787 dp->nfsdl_fhlen = nfhp->nfh_len; in nfsrpc_createv4()
2788 NFSBCOPY(nfhp->nfh_fh, dp->nfsdl_fh, nfhp->nfh_len); in nfsrpc_createv4()
2794 error = nfscl_open(dvp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_createv4()
2804 nfhp->nfh_len, op, cred, p); in nfsrpc_createv4()
2824 np->n_fhp->nfh_fh, np->n_fhp->nfh_len, in nfsrpc_createv4()
2825 nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_createv4()
2899 np->n_fhp->nfh_len, 0); in nfsrpc_remove()
2913 (void)nfsm_fhtom(nmp, nd, np->n_fhp->nfh_fh, np->n_fhp->nfh_len, 0); in nfsrpc_remove()
3036 np->n_fhp->nfh_len, 0); in nfsrpc_rename()
3056 np->n_fhp->nfh_len, 0); in nfsrpc_rename()
3073 VTONFS(tdvp)->n_fhp->nfh_len, 0); in nfsrpc_rename()
3084 VTONFS(tdvp)->n_fhp->nfh_len, 0); in nfsrpc_rename()
3092 VTONFS(tvp)->n_fhp->nfh_len, 0); in nfsrpc_rename()
3095 VTONFS(tdvp)->n_fhp->nfh_len, 0); in nfsrpc_rename()
3218 VTONFS(dvp)->n_fhp->nfh_len, 0); in nfsrpc_link()
3371 (void)nfsm_fhtom(nmp, nd, fhp->nfh_fh, fhp->nfh_len, 0); in nfsrpc_mkdir()
4385 if (NFSRV_CMPFH(nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_readdirplus()
4386 dnp->n_fhp->nfh_fh, dnp->n_fhp->nfh_len)) { in nfsrpc_readdirplus()
4732 nfhp->nfh_len, lp, newone, reclaim, off, in nfsrpc_advlock()
4796 np->n_fhp->nfh_len); in nfsrpc_lockt()
4797 (void)nfsm_strtom(nd, own, NFSV4CL_LOCKNAMELEN + np->n_fhp->nfh_len); in nfsrpc_lockt()
5087 if (np->n_fhp->nfh_len == NFSX_FHMAX + 1) in nfsrpc_pathconf()
6177 lyp = nfscl_getlayout(nmp->nm_clp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_getlayout()
6193 nfhp->nfh_len, iomode, (uint64_t)0, UINT64_MAX, in nfsrpc_getlayout()
6203 nfhp->nfh_len, iomode, off, UINT64_MAX, in nfsrpc_getlayout()
6208 nfhp->nfh_len, &stateid, retonclose, notifybitsp, &lyp, in nfsrpc_getlayout()
6541 error = nfscl_getstateid(vp, np->n_fhp->nfh_fh, np->n_fhp->nfh_len, in nfscl_doiods()
6551 np->n_fhp->nfh_len, off, rwaccess, &rflp, &recalled); in nfscl_doiods()
6728 np->n_fhp->nfh_len, off, xfer, in nfscl_doiods()
6932 mirror, dp->nfsdi_versindex, fhp->nfh_len, stateidp->seqid); in nfscl_dofflayoutio()
7102 fhp->nfh_len, NULL, &dsp->nfsclds_sess, vers, minorvers, in nfsrpc_readds()
7112 fhp->nfh_len, NULL, &dsp->nfsclds_sess, vers, minorvers, in nfsrpc_readds()
7180 fhp->nfh_len, NULL, &dsp->nfsclds_sess, vers, minorvers, in nfsrpc_writeds()
7191 fhp->nfh_len, NULL, &dsp->nfsclds_sess, vers, minorvers, in nfsrpc_writeds()
7319 fhp->nfh_len, NULL, &dsp->nfsclds_sess, vers, minorvers, in nfsrpc_writedsmir()
7328 fhp->nfh_len, NULL, &dsp->nfsclds_sess, vers, minorvers, in nfsrpc_writedsmir()
7549 fhp->nfh_len, NULL, &dsp->nfsclds_sess, vers, minorvers, in nfsrpc_commitds()
7554 fhp->nfh_len, NULL, &dsp->nfsclds_sess, vers, minorvers, in nfsrpc_commitds()
7714 fhp->nfh_len, NULL, &dsp->nfsclds_sess, vers, minorvers, NULL); in nfsrpc_adviseds()
7828 nfscl_getstateid(vp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_allocate()
8050 nfhp->nfh_len = nfhlen; in nfsrv_parselayoutget()
8150 nfhp->nfh_len = nfhlen; in nfsrv_parselayoutget()
8624 (void)nfsm_fhtom(nmp, nd, np->n_fhp->nfh_fh, np->n_fhp->nfh_len, 0); in nfsrpc_createlayout()
8761 dp->nfsdl_fhlen = nfhp->nfh_len; in nfsrpc_createlayout()
8763 nfhp->nfh_len); in nfsrpc_createlayout()
8769 error = nfscl_open(dvp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_createlayout()
8847 nfhp->nfh_len, &stateid, retonclose, NULL, &lyp, &flh, in nfsrpc_getcreatelayout()
8957 nfscl_getstateid(invp, innfhp->nfh_fh, innfhp->nfh_len, in nfsrpc_copy_file_range()
8961 nfscl_getstateid(outvp, outnfhp->nfh_fh, outnfhp->nfh_len, in nfsrpc_copy_file_range()
9031 VTONFS(invp)->n_fhp->nfh_len, &opcntp, NULL, 0, 0, cred); in nfsrpc_copyrpc()
9062 VTONFS(outvp)->n_fhp->nfh_len, 0); in nfsrpc_copyrpc()
9191 nfscl_getstateid(vp, nfhp->nfh_fh, nfhp->nfh_len, in nfsrpc_seek()