Searched refs:fhp (Results 1 - 13 of 13) sorted by relevance

/xnu-2422.115.4/bsd/nfs/
H A Dnfs_boot.c170 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 Dnfs4_subs.c456 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 Dnfs_node.c127 nfs_hash(u_char *fhp, int fhsize) argument
134 fhsum += *fhp++;
191 u_char *fhp,
218 nhpp = NFSNOHASH(nfs_hash(fhp, fhsize));
224 bcmp(fhp, np->n_fhp, fhsize))
432 bcopy(fhp, np->n_fhp, fhsize);
187 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 Dnfs_vnops.c1297 u_char *fhp,
1321 nfsm_chain_add_opaque(error, &nmreq, fhp, fhsize);
5231 fhandle_t *fhp,
5252 if ((ndbhp->ndbh_ncgen != bp->nb_np->n_ncgen) || (fhp->fh_len == 0) ||
5266 if ((fhp->fh_len == fhlen) && !bcmp(&dp->d_name[dp->d_namlen+2], fhp->fh_data, fhlen)) {
5270 *(time_t*)(&dp->d_name[dp->d_namlen+2+fhp->fh_len]) = *attrstampp;
5276 fhp->fh_len = fhlen;
5277 bcopy(&dp->d_name[dp->d_namlen+2], fhp->fh_data, MAX(fhp
1294 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
5228 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
5835 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 Dnfs_syscalls.c431 error = copyin(uap->fhp, &fhlen, sizeof(fhlen));
497 error = copyout((caddr_t)&nfh, uap->fhp, sizeof(fhandle_t));
H A Dnfs_subs.c921 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 Dnfs4_vnops.c179 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 Dnfs_vfsops.c1952 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);
4781 __unused unsigned char *fhp,
4797 __unused unsigned char *fhp,
4778 nfs_vfs_fhtovp( __unused mount_t mp, __unused int fhlen, __unused unsigned char *fhp, __unused vnode_t *vpp, __unused vfs_context_t ctx) argument
4794 nfs_vfs_vptofh( __unused vnode_t vp, __unused int *fhlenp, __unused unsigned char *fhp, __unused vfs_context_t ctx) argument
/xnu-2422.115.4/bsd/miscfs/devfs/
H A Ddevfs_vfsops.c454 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
/xnu-2422.115.4/bsd/sys/
H A Dmount.h635 @param fhp Pointer to handle.
640 int (*vfs_fhtovp)(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp,
648 @param fhp Pointer to buffer in which to place handle data.
652 int (*vfs_vptofh)(struct vnode *vp, int *fhlen, unsigned char *fhp, vfs_context_t context);
/xnu-2422.115.4/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);
356 VFS_VPTOFH(struct vnode * vp, int *fhlenp, unsigned char * fhp, vfs_context_t ctx) argument
367 error = (*vp->v_mount->mnt_op->vfs_vptofh)(vp, fhlenp, fhp, ctx);
/xnu-2422.115.4/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);
159 static int hfs_vptofh(struct vnode *vp, int *fhlenp, unsigned char *fhp, vfs_context_t context);
2628 hfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, __unused vfs_context_t context) argument
2635 hfsfhp = (struct hfsfid *)fhp;
2672 hfs_vptofh(struct vnode *vp, int *fhlenp, unsigned char *fhp, __unused vfs_context_t context) argument
2684 hfsfhp = (struct hfsfid *)fhp;
/xnu-2422.115.4/bsd/netinet/
H A Dip_input.c1931 frag_freef(struct ipqhead *fhp, struct ipq *fp) argument
1940 TAILQ_REMOVE(fhp, fp, ipq_list);

Completed in 201 milliseconds