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

/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_syscalls.c482 nfh.nfh_len = fidlen;
483 error = VFS_VPTOFH(vp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL);
484 if (nfh.nfh_len > (uint32_t)fidlen)
486 nfh.nfh_xh.nxh_fidlen = nfh.nfh_len;
487 nfh.nfh_len += sizeof(nfh.nfh_xh);
541 error = copyin(uap->u_fhp, &nfh.nfh_len, sizeof(nfh.nfh_len));
544 if ((nfh.nfh_len < (int)sizeof(struct nfs_exphandle)) ||
545 (nfh.nfh_len > (int)NFSV3_MAX_FH_SIZE))
547 error = copyin(uap->u_fhp, &nfh, sizeof(nfh.nfh_len)
[all...]
H A Dnfs_serv.c298 nfsm_chain_get_fh_ptr(error, nmreq, NFS_VER3, nfh.nfh_fhp, nfh.nfh_len);
422 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len);
490 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len);
613 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, dnfh.nfh_fhp, dnfh.nfh_len);
667 nfsm_chain_add_fh(error, &nmrep, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len);
714 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len);
843 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len);
1204 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len);
1408 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nd->nd_fh.nfh_fhp, nd->nd_fh.nfh_len);
1838 nfsm_chain_get_fh_ptr(error, nmreq, nd->nd_vers, nfh.nfh_fhp, nfh.nfh_len);
[all...]
H A Dnfs_subs.c2703 nfh.nfh_len = NFSV3_MAX_FID_SIZE;
2704 error = VFS_VPTOFH(mvp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL);
2706 if (!error && (nfh.nfh_len > (int)NFSV3_MAX_FID_SIZE))
2837 nfh.nfh_len = NFSV3_MAX_FID_SIZE;
2838 error = VFS_VPTOFH(mvp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL);
2839 if (!error && (nfh.nfh_len > (int)NFSV3_MAX_FID_SIZE))
3026 nx->nx_fh.nfh_len = NFSV3_MAX_FID_SIZE;
3027 error = VFS_VPTOFH(xvp, (int*)&nx->nx_fh.nfh_len, &nx->nx_fh.nfh_fid[0], NULL);
3028 if (!error && (nx->nx_fh.nfh_len > (int)NFSV3_MAX_FID_SIZE)) {
3031 nx->nx_fh.nfh_xh.nxh_fidlen = nx->nx_fh.nfh_len;
[all...]
H A Dnfsproto.h224 #define NFSX_SRVFH(V,FH) (((V) == NFS_VER2) ? NFSX_V2FH : (FH)->nfh_len)
H A Dnfs.h405 uint32_t nfh_len; /* total length of file handle */ member in struct:nfs_filehandle

Completed in 104 milliseconds