/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_boot.c | 170 u_char *fhp, u_int32_t *fhlenp); 694 md_mount(mdsin, path, v3, sotype, fhp, fhlenp) 699 u_char *fhp; 764 bcopy(fh, fhp, fhlen); 769 bcopy(rdata->data, fhp, NFSX_V2FH);
|
H A D | nfs4_subs.c | 456 u_char *fhp; local 470 fhp = siap->rsia_fh; 471 fhsize = fhp ? siap->rsia_fhsize : 0; 476 if (!fhp && name) { 479 fhp = np->n_fhp; 482 if (fhp && name) 500 fhp = dnp->n_fhp; 524 fhp = dnp->n_fhp; 538 if (fhp) { 540 nfsm_chain_add_fh(error, &nmreq, nfsvers, fhp, fhsiz 639 nfs4_get_fs_locations( struct nfsmount *nmp, nfsnode_t dnp, u_char *fhp, int fhsize, const char *name, vfs_context_t ctx, struct nfs_fs_locations *nfslsp) argument 705 nfs4_default_attrs_for_referral_trigger( nfsnode_t dnp, char *name, int namelen, struct nfs_vattr *nvap, fhandle_t *fhp) argument 1522 nfs4_parsefattr( struct nfsm_chain *nmc, struct nfs_fsattr *nfsap, struct nfs_vattr *nvap, fhandle_t *fhp, struct dqblk *dqbp, struct nfs_fs_locations *nfslsp) argument [all...] |
H A D | nfs_node.c | 125 nfs_hash(u_char *fhp, int fhsize) argument 132 fhsum += *fhp++; 189 u_char *fhp, 216 nhpp = NFSNOHASH(nfs_hash(fhp, fhsize)); 222 bcmp(fhp, np->n_fhp, fhsize)) 428 bcopy(fhp, np->n_fhp, fhsize); 185 nfs_nget( mount_t mp, nfsnode_t dnp, struct componentname *cnp, u_char *fhp, int fhsize, struct nfs_vattr *nvap, u_int64_t *xidp, uint32_t auth, int flags, nfsnode_t *npp) argument
|
H A D | nfs_vnops.c | 1255 u_char *fhp, 1279 nfsm_chain_add_opaque(error, &nmreq, fhp, fhsize); 5142 fhandle_t *fhp, 5163 if ((ndbhp->ndbh_ncgen != bp->nb_np->n_ncgen) || (fhp->fh_len == 0) || 5177 if ((fhp->fh_len == fhlen) && !bcmp(&dp->d_name[dp->d_namlen+2], fhp->fh_data, fhlen)) { 5181 *(time_t*)(&dp->d_name[dp->d_namlen+2+fhp->fh_len]) = *attrstampp; 5187 fhp->fh_len = fhlen; 5188 bcopy(&dp->d_name[dp->d_namlen+2], fhp->fh_data, MAX(fhp 1252 nfs3_getattr_rpc( nfsnode_t np, mount_t mp, u_char *fhp, size_t fhsize, int flags, vfs_context_t ctx, struct nfs_vattr *nvap, u_int64_t *xidp) argument 5139 nfs_dir_buf_search( struct nfsbuf *bp, struct componentname *cnp, fhandle_t *fhp, struct nfs_vattr *nvap, uint64_t *xidp, time_t *attrstampp, daddr64_t *nextlbnp, int flags) argument 5746 nfs3_lookup_rpc_async_finish( nfsnode_t dnp, __unused char *name, __unused int namelen, vfs_context_t ctx, struct nfsreq *req, u_int64_t *xidp, fhandle_t *fhp, struct nfs_vattr *nvap) argument [all...] |
H A D | nfs_syscalls.c | 429 error = copyin(uap->fhp, &fhlen, sizeof(fhlen)); 495 error = copyout((caddr_t)&nfh, uap->fhp, sizeof(fhandle_t));
|
H A D | nfs_subs.c | 921 fhandle_t *fhp, 931 nfsm_chain_get_fh(error, nmc, nfsvers, fhp); 933 fhp->fh_len = 0; 944 if (nfs3_getattr_rpc(NULL, NFSTOMP(dnp), fhp->fh_data, fhp->fh_len, 0, ctx, nvap, xidp)) { 946 fhp->fh_len = 0; 915 nfsm_chain_get_fh_attr( struct nfsm_chain *nmc, nfsnode_t dnp, vfs_context_t ctx, int nfsvers, uint64_t *xidp, fhandle_t *fhp, struct nfs_vattr *nvap) argument
|
H A D | nfs4_vnops.c | 179 u_char *fhp, 215 nfsm_chain_add_fh(error, &nmreq, nfsvers, fhp, fhsize); 1148 fhandle_t *fhp, 1177 nfsmout_if(error || !fhp || !nvap); 1179 nfsm_chain_get_32(error, &nmrep, fhp->fh_len); 1180 nfsm_chain_get_opaque(error, &nmrep, fhp->fh_len, fhp->fh_data); 1184 nfs4_default_attrs_for_referral_trigger(dnp, name, namelen, nvap, fhp); 4559 u_char *fhp, 4582 nfsm_chain_add_fh(error, &nmreq, nmp->nm_vers, fhp, fhle 176 nfs4_getattr_rpc( nfsnode_t np, mount_t mp, u_char *fhp, size_t fhsize, int flags, vfs_context_t ctx, struct nfs_vattr *nvap, u_int64_t *xidp) argument 1141 nfs4_lookup_rpc_async_finish( nfsnode_t dnp, char *name, int namelen, vfs_context_t ctx, struct nfsreq *req, u_int64_t *xidp, fhandle_t *fhp, struct nfs_vattr *nvap) argument 4556 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 5972 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 D | nfs_vfsops.c | 1952 nfs4_mount_update_path_with_symlink(struct nfsmount *nmp, struct nfs_fs_path *nfsp, uint32_t curcomp, fhandle_t *dirfhp, int *depthp, fhandle_t *fhp, vfs_context_t ctx) argument 1981 nfsm_chain_add_fh(error, &nmreq, NFS_VER4, fhp->fh_data, fhp->fh_len); 4729 __unused unsigned char *fhp, 4745 __unused unsigned char *fhp, 4726 nfs_vfs_fhtovp( __unused mount_t mp, __unused int fhlen, __unused unsigned char *fhp, __unused vnode_t *vpp, __unused vfs_context_t ctx) argument 4742 nfs_vfs_vptofh( __unused vnode_t vp, __unused int *fhlenp, __unused unsigned char *fhp, __unused vfs_context_t ctx) argument
|
/darwin-on-arm/xnu/bsd/miscfs/devfs/ |
H A D | devfs_vfsops.c | 454 devfs_fhtovp (__unused struct mount *mp, __unused int fhlen, __unused unsigned char *fhp, __unused struct vnode **vpp, __unused vfs_context_t ctx) argument 461 devfs_vptofh (__unused struct vnode *vp, __unused int *fhlenp, __unused unsigned char *fhp, __unused vfs_context_t ctx) argument
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | mount.h | 628 @param fhp Pointer to handle. 633 int (*vfs_fhtovp)(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, 641 @param fhp Pointer to buffer in which to place handle data. 645 int (*vfs_vptofh)(struct vnode *vp, int *fhlen, unsigned char *fhp, vfs_context_t context);
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_vfsops.c | 146 static int hfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, vfs_context_t context); 154 static int hfs_vptofh(struct vnode *vp, int *fhlenp, unsigned char *fhp, vfs_context_t context); 2706 hfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, __unused vfs_context_t context) argument 2713 hfsfhp = (struct hfsfid *)fhp; 2750 hfs_vptofh(struct vnode *vp, int *fhlenp, unsigned char *fhp, __unused vfs_context_t context) argument 2762 hfsfhp = (struct hfsfid *)fhp;
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | kpi_vfs.c | 538 VFS_FHTOVP(mount_t mp, int fhlen, unsigned char * fhp, vnode_t * vpp, vfs_context_t ctx) argument 560 error = (*mp->mnt_op->vfs_fhtovp)(mp, fhlen, fhp, vpp, ctx); 572 VFS_VPTOFH(struct vnode * vp, int *fhlenp, unsigned char * fhp, vfs_context_t ctx) argument 594 error = (*vp->v_mount->mnt_op->vfs_vptofh)(vp, fhlenp, fhp, ctx);
|