/xnu-2422.115.4/bsd/sys/ |
H A D | mount_internal.h | 281 unsigned char fh_data[NFS_MAX_FH_SIZE]; /* file handle value */ member in struct:fhandle
|
H A D | mount.h | 1279 unsigned char fh_data[NFS_MAX_FH_SIZE]; /* file handle value */ member in struct:fhandle
|
/xnu-2422.115.4/bsd/nfs/ |
H A D | nfs_vfsops.c | 1900 error = nfs3_getattr_rpc(NULL, nmp->nm_mountp, nmp->nm_fh->fh_data, nmp->nm_fh->fh_len, 0, 1905 error = nfs_nget(nmp->nm_mountp, NULL, NULL, nmp->nm_fh->fh_data, nmp->nm_fh->fh_len, 1965 NFSREQ_SECINFO_SET(&si, NULL, dirfhp->fh_data, dirfhp->fh_len, nfsp->np_components[curcomp], 0); 1981 nfsm_chain_add_fh(error, &nmreq, NFS_VER4, fhp->fh_data, fhp->fh_len); 2158 bcopy(nmp->nm_fh->fh_data, dirfh.fh_data, dirfh.fh_len); 2159 NFSREQ_SECINFO_SET(&si, NULL, dirfh.fh_data, dirfh.fh_len, NULL, 0); 2229 NFSREQ_SECINFO_SET(&si, NULL, dirfh.fh_data, dirfh.fh_len, isdotdot ? NULL : fspath.np_components[comp], 0); 2236 nfsm_chain_add_fh(error, &nmreq, NFS_VER4, dirfh.fh_data, dirfh.fh_len); 2272 nfsm_chain_get_opaque(error, &nmrep, fh.fh_len, fh.fh_data); [all...] |
H A D | nfs4_vnops.c | 1013 bcopy(fh.fh_data, &dp->d_name[dp->d_namlen+2], fh.fh_len); 1180 nfsm_chain_get_opaque(error, &nmrep, fhp->fh_len, fhp->fh_data); 4830 if (!create && np && !NFS_CMPFH(np, fh.fh_data, fh.fh_len)) { 4851 error = nfs4_open_confirm_rpc(nmp, dnp, fh.fh_data, fh.fh_len, noop, sid, thd, cred, &nvattr, &xid); 4877 error = nfs_nget(NFSTOMP(dnp), dnp, cnp, fh.fh_data, fh.fh_len, &nvattr, &xid, rq.r_auth, NG_MAKEENTRY, &newnp); 4904 if (NFS_CMPFH(np, fh.fh_data, fh.fh_len)) { 4925 nfs4_delegreturn_rpc(nmp, fh.fh_data, fh.fh_len, &dstateid, 0, thd, cred); 5179 if (!NFS_CMPFH(np, fh.fh_data, fh.fh_len)) { 5390 if (!NFS_CMPFH(np, fh.fh_data, fh.fh_len)) { 5923 bcopy(np->n_fhp, &fh.fh_data, f [all...] |
H A D | nfs_vnops.c | 2206 isdot = NFS_CMPFH(dnp, fh.fh_data, fh.fh_len); 2241 error = nfs_nget(mp, dnp, cnp, fh.fh_data, fh.fh_len, &nvattr, &xid, rq.r_auth, ngflags, &np); 3519 error = nfs_nget(NFSTOMP(dnp), dnp, cnp, fh.fh_data, fh.fh_len, &nvattr, &xid, rq.r_auth, NG_MAKEENTRY, &np); 3676 error = nfs_nget(NFSTOMP(dnp), dnp, cnp, fh.fh_data, fh.fh_len, &nvattr, &xid, rq.r_auth, NG_MAKEENTRY, &np); 4433 error = nfs_nget(NFSTOMP(dnp), dnp, cnp, fh.fh_data, fh.fh_len, &nvattr, &xid, rq.r_auth, NG_MAKEENTRY, &np); 4582 error = nfs_nget(NFSTOMP(dnp), dnp, cnp, fh.fh_data, fh.fh_len, &nvattr, &xid, rq.r_auth, NG_MAKEENTRY, &np); 5266 if ((fhp->fh_len == fhlen) && !bcmp(&dp->d_name[dp->d_namlen+2], fhp->fh_data, fhlen)) { 5277 bcopy(&dp->d_name[dp->d_namlen+2], fhp->fh_data, MAX(fhp->fh_len, (int)sizeof(fhp->fh_data))); 5393 error = nfs_nget(NFSTOMP(dnp), dnp, cnp, fh.fh_data, f [all...] |
H A D | nfs4_subs.c | 774 bcopy(&dnp, &fhp->fh_data[0], sizeof(dnp)); 775 len = sizeof(fhp->fh_data) - sizeof(dnp); 776 bcopy(name, &fhp->fh_data[0] + sizeof(dnp), MIN(len, namelen)); 778 if (fhp->fh_len > (int)sizeof(fhp->fh_data)) 779 fhp->fh_len = sizeof(fhp->fh_data); 1765 nfsm_chain_get_opaque(error, nmc, nfsm_rndup(val), fhp->fh_data);
|
H A D | nfsm_subs.h | 629 nfsm_chain_get_opaque((E), (NMC), (uint32_t)(FHP)->fh_len, (FHP)->fh_data);\
|
H A D | nfs_socket.c | 2553 error = nfs_nget(nmp->nm_mountp, NULL, NULL, fh.fh_data, fh.fh_len, NULL, NULL, RPCAUTH_UNKNOWN, NG_NOCREATE, &np); 2614 error = nfs_nget(nmp->nm_mountp, NULL, NULL, fh.fh_data, fh.fh_len, NULL, NULL, RPCAUTH_UNKNOWN, NG_NOCREATE, &np);
|
H A D | nfs_subs.c | 944 if (nfs3_getattr_rpc(NULL, NFSTOMP(dnp), fhp->fh_data, fhp->fh_len, 0, ctx, nvap, xidp)) {
|