Searched refs:nfh_len (Results 1 - 5 of 5) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_syscalls.c | 448 nfh.nfh_len = NFSV3_MAX_FID_SIZE; 449 error = VFS_VPTOFH(vp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL); 450 if (nfh.nfh_len > (int)NFSV3_MAX_FID_SIZE) 452 nfh.nfh_xh.nxh_fidlen = nfh.nfh_len; 453 nfh.nfh_len += sizeof(nfh.nfh_xh); 507 error = copyin(uap->u_fhp, &nfh.nfh_len, sizeof(nfh.nfh_len)); 510 if ((nfh.nfh_len < (int)sizeof(struct nfs_exphandle)) || 511 (nfh.nfh_len > (int)NFSV3_MAX_FH_SIZE)) 513 error = copyin(uap->u_fhp, &nfh, sizeof(nfh.nfh_len) [all...] |
H A D | nfs_serv.c | 284 nfsm_chain_get_fh_ptr(error, nmreq, NFS_VER3, nfh.nfh_fhp, nfh.nfh_len); 416 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); 484 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); 607 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, dnfh.nfh_fhp, dnfh.nfh_len); 658 nfsm_chain_add_fh(error, &nmrep, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); 705 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); 835 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); 1178 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); 1382 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nd->nd_fh.nfh_fhp, nd->nd_fh.nfh_len); 1816 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len); [all...] |
H A D | nfs_subs.c | 2327 nfh.nfh_len = NFSV3_MAX_FID_SIZE; 2328 error = VFS_VPTOFH(mvp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL); 2329 if (!error && (nfh.nfh_len > (int)NFSV3_MAX_FID_SIZE)) 2507 nx->nx_fh.nfh_len = NFSV3_MAX_FID_SIZE; 2508 error = VFS_VPTOFH(xvp, (int*)&nx->nx_fh.nfh_len, &nx->nx_fh.nfh_fid[0], NULL); 2509 if (!error && (nx->nx_fh.nfh_len > (int)NFSV3_MAX_FID_SIZE)) { 2512 nx->nx_fh.nfh_xh.nxh_fidlen = nx->nx_fh.nfh_len; 2513 nx->nx_fh.nfh_len += sizeof(nx->nx_fh.nfh_xh); 2522 nx->nx_fh.nfh_len = sizeof(nx->nx_fh.nfh_xh); 2685 if (nfhp->nfh_len > NFSV3_MAX_FH_SIZ [all...] |
H A D | nfsproto.h | 214 #define NFSX_SRVFH(V,FH) (((V) == NFS_VER2) ? NFSX_V2FH : (FH)->nfh_len)
|
H A D | nfs.h | 393 uint32_t nfh_len; /* total length of file handle */ member in struct:nfs_filehandle
|
Completed in 53 milliseconds