Searched refs:nfh_len (Results 1 – 5 of 5) sorted by relevance
| /xnu-8019.80.24/bsd/nfs/ |
| H A D | nfs_serv.c | 293 nfsm_chain_get_fh_ptr(error, nmreq, NFS_VER3, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_access() 424 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_getattr() 512 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_setattr() 676 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, dnfh.nfh_fhp, dnfh.nfh_len); in nfsrv_lookup() 739 nfsm_chain_add_fh(error, &nmrep, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_lookup() 786 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_readlink() 935 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_read() 1330 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() 2024 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); in nfsrv_create() [all …]
|
| H A D | nfs_subs.c | 3171 nfh.nfh_len = NFSV3_MAX_FID_SIZE; in nfsrv_export() 3172 error = VFS_VPTOFH(mvp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL); in nfsrv_export() 3174 if (!error && (nfh.nfh_len > (int)NFSV3_MAX_FID_SIZE)) { in nfsrv_export() 3322 nfh.nfh_len = NFSV3_MAX_FID_SIZE; in nfsrv_export() 3323 error = VFS_VPTOFH(mvp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL); in nfsrv_export() 3324 if (!error && (nfh.nfh_len > (int)NFSV3_MAX_FID_SIZE)) { in nfsrv_export() 3519 nx->nx_fh.nfh_len = NFSV3_MAX_FID_SIZE; in nfsrv_export() 3520 error = VFS_VPTOFH(xvp, (int*)&nx->nx_fh.nfh_len, &nx->nx_fh.nfh_fid[0], NULL); in nfsrv_export() 3521 if (!error && (nx->nx_fh.nfh_len > (int)NFSV3_MAX_FID_SIZE)) { in nfsrv_export() 3524 nx->nx_fh.nfh_xh.nxh_fidlen = nx->nx_fh.nfh_len; in nfsrv_export() [all …]
|
| H A D | nfs_syscalls.c | 639 nfh.nfh_len = fidlen; in getfh() 640 error = VFS_VPTOFH(vp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL); in getfh() 641 if (nfh.nfh_len > (uint32_t)fidlen) { in getfh() 644 nfh.nfh_xh.nxh_fidlen = nfh.nfh_len; in getfh() 645 nfh.nfh_len += sizeof(nfh.nfh_xh); in getfh() 708 error = copyin(uap->u_fhp, &nfh.nfh_len, sizeof(nfh.nfh_len)); in fhopen() 712 if ((nfh.nfh_len < (int)sizeof(struct nfs_exphandle)) || in fhopen() 713 (nfh.nfh_len > (int)NFSV3_MAX_FH_SIZE)) { in fhopen() 716 error = copyin(uap->u_fhp, &nfh, sizeof(nfh.nfh_len) + nfh.nfh_len); in fhopen()
|
| H A D | nfsproto.h | 226 #define NFSX_SRVFH(V, FH) (((V) == NFS_VER2) ? NFSX_V2FH : (FH)->nfh_len)
|
| H A D | nfs.h | 474 uint32_t nfh_len; /* total length of file handle */ member
|