Searched refs:nfh (Results 1 – 3 of 3) sorted by relevance
| /xnu-11417.121.6/bsd/nfs/ |
| H A D | nfs_serv.c | 277 struct nfs_filehandle nfh; in nfsrv_access() local 291 nfsm_chain_get_fh_ptr(error, nmreq, NFS_VER3, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_access() 294 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo); in nfsrv_access() 412 struct nfs_filehandle nfh; in nfsrv_getattr() local 422 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_getattr() 424 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo); in nfsrv_getattr() 497 struct nfs_filehandle nfh; in nfsrv_setattr() local 510 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_setattr() 532 error = nfsrv_fhtovp(&nfh, nd, &vp, &nx, &nxo); in nfsrv_setattr() 669 struct nfs_filehandle dnfh, nfh = {}; in nfsrv_lookup() local [all …]
|
| H A D | nfs_syscalls.c | 289 struct nfs_filehandle nfh; in getfh() local 383 bzero(&nfh, sizeof(nfh)); in getfh() 384 nfh.nfh_xh.nxh_version = htonl(NFS_FH_VERSION); in getfh() 385 nfh.nfh_xh.nxh_fsid = htonl(nxfs->nxfs_id); in getfh() 386 nfh.nfh_xh.nxh_expid = htonl(nx->nx_id); in getfh() 387 nfh.nfh_xh.nxh_flags = 0; in getfh() 388 nfh.nfh_xh.nxh_reserved = 0; in getfh() 389 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() [all …]
|
| H A D | nfs_subs.c | 1664 struct nfs_filehandle nfh; in nfsrv_export() local 1691 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()
|