Searched refs:fhlen (Results 1 - 10 of 10) sorted by relevance

/macosx-10.10/xnu-2782.1.97/bsd/nfs/
H A Dnfs_boot.c756 u_int32_t fhlen; local
760 fhlen = ntohl(*(u_int32_t*)rdata->data);
762 if (mlen < (int)(sizeof(u_int32_t)*2 + fhlen))
764 bcopy(fh, fhp, fhlen);
765 *fhlenp = fhlen;
H A Dnfs_syscalls.c492 int error, fhlen, fidlen; local
508 error = copyin(uap->fhp, &fhlen, sizeof(fhlen));
512 if ((fhlen != NFSV2_MAX_FH_SIZE) && (fhlen != NFSV3_MAX_FH_SIZE))
513 fhlen = NFSV3_MAX_FH_SIZE;
514 fidlen = fhlen - sizeof(struct nfs_exphandle);
H A Dnfs4_vnops.c727 uint32_t namlen, skiplen, fhlen, xlen, attrlen, reclen, space_free, space_needed; local
798 fhlen = rdirplus ? fh.fh_len + 1 : 0;
799 xlen = rdirplus ? (fhlen + sizeof(time_t)) : 0;
924 fhlen = rdirplus ? (1 + dnp->n_fhsize) : 0;
925 xlen = rdirplus ? (fhlen + sizeof(time_t)) : 0;
1007 fhlen = fh.fh_len + 1;
1008 xlen = fhlen + sizeof(time_t);
1022 fhlen = fh.fh_len + 1;
1023 xlen = fhlen + sizeof(time_t);
1025 bzero(&dp->d_name[dp->d_namlen+1], fhlen);
4562 nfs4_open_confirm_rpc( struct nfsmount *nmp, nfsnode_t dnp, u_char *fhp, int fhlen, struct nfs_open_owner *noop, nfs_stateid *sid, thread_t thd, kauth_cred_t cred, struct nfs_vattr *nvap, uint64_t *xidp) argument
5978 nfs4_delegreturn_rpc(struct nfsmount *nmp, u_char *fhp, int fhlen, struct nfs_stateid *sid, int flags, thread_t thd, kauth_cred_t cred) argument
[all...]
H A Dnfs_vnops.c5458 int i, error = ESRCH, fhlen; local
5466 fhlen = dp->d_name[dp->d_namlen+1];
5482 if ((fhp->fh_len == fhlen) && !bcmp(&dp->d_name[dp->d_namlen+2], fhp->fh_data, fhlen)) {
5492 fhp->fh_len = fhlen;
5659 uint32_t namlen, skiplen, fhlen, xlen, attrlen, reclen, space_free, space_needed; local
5776 fhlen = rdirplus ? (1 + dnp->n_fhsize) : 0;
5777 xlen = rdirplus ? (fhlen + sizeof(time_t)) : 0;
5854 fhlen = fh.fh_len + 1;
5855 xlen = fhlen
[all...]
H A Dnfs_vfsops.c4854 __unused int fhlen,
4852 nfs_vfs_fhtovp( __unused mount_t mp, __unused int fhlen, __unused unsigned char *fhp, __unused vnode_t *vpp, __unused vfs_context_t ctx) argument
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dmount.h648 @param fhlen Size of file handle structure, as returned by vfs_vptofh.
654 int (*vfs_fhtovp)(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp,
661 @param fhlen Size of buffer provided for handle; set to size of actual handle returned.
666 int (*vfs_vptofh)(struct vnode *vp, int *fhlen, unsigned char *fhp, vfs_context_t context);
/macosx-10.10/xnu-2782.1.97/bsd/miscfs/devfs/
H A Ddevfs_vfsops.c443 devfs_fhtovp (__unused struct mount *mp, __unused int fhlen, __unused unsigned char *fhp, __unused struct vnode **vpp, __unused vfs_context_t ctx) argument
/macosx-10.10/smb-759.0/kernel/smbfs/
H A Dsmbfs_vfsops.c2168 smbfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, vnode_t *vpp, argument
2171 #pragma unused(mp, fhlen, fhp, vpp, context)
2179 smbfs_vptofh(vnode_t vp, int *fhlen, unsigned char *fhp, vfs_context_t context) argument
2181 #pragma unused(vp, fhlen, fhp, context)
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_vfsops.c151 static int hfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, vfs_context_t context);
2622 hfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, __unused vfs_context_t context) argument
2631 if (fhlen < (int)sizeof(struct hfsfid))
/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dkpi_vfs.c339 VFS_FHTOVP(mount_t mp, int fhlen, unsigned char * fhp, vnode_t * vpp, vfs_context_t ctx) argument
350 error = (*mp->mnt_op->vfs_fhtovp)(mp, fhlen, fhp, vpp, ctx);

Completed in 251 milliseconds