Home
last modified time | relevance | path

Searched refs:nfh_len (Results 1 – 5 of 5) sorted by relevance

/xnu-11417.121.6/bsd/nfs/ !
H A Dnfs_subs.c1691 nfh.nfh_len = NFSV3_MAX_FID_SIZE; in nfsrv_export()
1692 error = VFS_VPTOFH(mvp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL); in nfsrv_export()
1694 if (!error && (nfh.nfh_len > (int)NFSV3_MAX_FID_SIZE)) { in nfsrv_export()
1834 nfh.nfh_len = NFSV3_MAX_FID_SIZE; in nfsrv_export()
1835 error = VFS_VPTOFH(mvp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL); in nfsrv_export()
1836 if (!error && (nfh.nfh_len > (int)NFSV3_MAX_FID_SIZE)) { in nfsrv_export()
2031 nx->nx_fh.nfh_len = NFSV3_MAX_FID_SIZE; in nfsrv_export()
2032 error = VFS_VPTOFH(xvp, (int*)&nx->nx_fh.nfh_len, &nx->nx_fh.nfh_fid[0], NULL); in nfsrv_export()
2033 if (!error && (nx->nx_fh.nfh_len > (int)NFSV3_MAX_FID_SIZE)) { in nfsrv_export()
2036 nx->nx_fh.nfh_xh.nxh_fidlen = nx->nx_fh.nfh_len; in nfsrv_export()
[all …]
H A Dnfs_syscalls.c389 nfh.nfh_len = fidlen; in getfh()
390 error = VFS_VPTOFH(vp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL); in getfh()
391 if (nfh.nfh_len > (uint32_t)fidlen) { in getfh()
394 nfh.nfh_xh.nxh_fidlen = nfh.nfh_len; in getfh()
395 nfh.nfh_len += sizeof(nfh.nfh_xh); in getfh()
456 error = copyin(uap->u_fhp, &nfh.nfh_len, sizeof(nfh.nfh_len)); in fhopen()
460 if ((nfh.nfh_len < (int)sizeof(struct nfs_exphandle)) || in fhopen()
461 (nfh.nfh_len > (int)NFSV3_MAX_FH_SIZE)) { in fhopen()
464 error = copyin(uap->u_fhp, &nfh, sizeof(nfh.nfh_len) + nfh.nfh_len); in fhopen()
H A Dnfs_serv.c291 nfsm_chain_get_fh_ptr(error, nmreq, NFS_VER3, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_access()
422 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_getattr()
510 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_setattr()
684 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, dnfh.nfh_fhp, dnfh.nfh_len); in nfsrv_lookup()
747 nfsm_chain_add_fh(error, &nmrep, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_lookup()
794 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_readlink()
943 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_read()
1334 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_write()
1566 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nd->nd_fh.nfh_fhp, nd->nd_fh.nfh_len); in nfsrv_writegather()
2022 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_create()
[all …]
H A Dnfsproto.h226 #define NFSX_SRVFH(V, FH) (((V) == NFS_VER2) ? NFSX_V2FH : (FH)->nfh_len)
H A Dnfs.h479 uint32_t nfh_len; /* total length of file handle */ member