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

/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_syscalls.c448 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 Dnfs_serv.c284 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 Dnfs_subs.c2327 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 Dnfsproto.h214 #define NFSX_SRVFH(V,FH) (((V) == NFS_VER2) ? NFSX_V2FH : (FH)->nfh_len)
H A Dnfs.h393 uint32_t nfh_len; /* total length of file handle */ member in struct:nfs_filehandle

Completed in 100 milliseconds