Home
last modified time | relevance | path

Searched refs:fhp (Results 1 – 22 of 22) sorted by relevance

/original-bsd/sys/nfs/
H A Dnfs_node.c55 nfs_hash(fhp, fhsize) in nfs_hash() argument
56 register nfsfh_t *fhp; in nfs_hash()
63 fhpp = &fhp->fh_bytes[0];
77 nfs_nget(mntp, fhp, fhsize, npp) in nfs_nget() argument
79 register nfsfh_t *fhp;
91 nhpp = NFSNOHASH(nfs_hash(fhp, fhsize));
95 bcmp((caddr_t)fhp, (caddr_t)np->n_fhp, fhsize))
121 bcopy((caddr_t)fhp, (caddr_t)np->n_fhp, fhsize);
H A Dnfs_serv.c84 fhandle_t *fhp; local
99 nfsm_srvmtofh(fhp);
154 fhandle_t *fhp; local
201 fhandle_t *fhp; local
330 fhandle_t *fhp; local
414 fhandle_t *fhp; local
519 fhandle_t *fhp; local
687 fhandle_t *fhp; local
1265 fhandle_t *fhp; local
1500 fhandle_t *fhp; local
[all …]
H A Dnfs_nqlease.c436 fhandle_t *fhp; local
472 fhp = (fhandle_t *)cp;
676 fhandle_t *fhp; local
686 fhp = &nfh.fh_generic;
687 nfsm_srvmtofh(fhp);
733 fhandle_t *fhp; local
742 fhp = &nfh.fh_generic;
743 nfsm_srvmtofh(fhp);
899 fhandle_t *fhp; local
925 fhp = &nfh.fh_generic;
[all …]
H A Dnfsmount.h105 struct fid *fhp,
112 struct fid *fhp));
H A Dnfs_vfsops.c808 nfs_fhtovp(mp, fhp, nam, vpp, exflagsp, credanonp) in nfs_fhtovp() argument
810 struct fid *fhp;
825 nfs_vptofh(vp, fhp) in nfs_vptofh() argument
827 struct fid *fhp;
H A Dnfs_subs.c1313 nfs_namei(ndp, fhp, len, slp, nam, mdp, dposp, retdirp, p, kerbflag) in nfs_namei() argument
1315 fhandle_t *fhp;
1376 if (error = nfsrv_fhtovp(fhp, FALSE, &dp, ndp->ni_cnd.cn_cred, slp,
1595 nfsrv_fhtovp(fhp, lockflag, vpp, cred, slp, nam, rdonlyp, kerbflag) in nfsrv_fhtovp() argument
1596 fhandle_t *fhp; in nfsrv_fhtovp()
1613 mp = vfs_getvfs(&fhp->fh_fsid);
1616 error = VFS_FHTOVP(mp, &fhp->fh_fid, nam, vpp, &exflags, &credanon);
H A Dnfs_vnops.c735 nfsfh_t *fhp; local
796 nfsm_getfh(fhp, fhsize, v3);
802 if (NFS_CMPFH(np, fhp, fhsize)) {
806 if (error = nfs_nget(dvp->v_mount, fhp, fhsize, &np)) {
822 if (NFS_CMPFH(np, fhp, fhsize)) {
1742 nfsfh_t *fhp; local
1929 nfsfh_t *fhp; local
2117 nfsfh_t *fhp; local
2238 nfsm_getfh(fhp, fhsize, 1);
2239 if (NFS_CMPFH(dnp, fhp, fhsize)) {
[all …]
H A Dnfs_syscalls.c84 fhandle_t *fhp; member
114 error = copyout((caddr_t)&fh, (caddr_t)uap->fhp, sizeof (fh));
/original-bsd/usr.sbin/amd/amd/
H A Dhost_ops.c109 static int do_mount P((fhstatus *fhp, char *dir, char *fs_name, char *opts, mntfs *mf));
110 static int do_mount(fhp, dir, fs_name, opts, mf) in do_mount() argument
111 fhstatus *fhp; in do_mount()
129 return mount_nfs_fh(fhp, dir, fs_name, opts, mf);
142 static int fetch_fhandle P((CLIENT *client, char *dir, fhstatus *fhp));
143 static int fetch_fhandle(client, dir, fhp) in fetch_fhandle() argument
146 fhstatus *fhp;
164 clnt_stat = clnt_call(client, MOUNTPROC_MNT, xdr_dirpath, &dir, xdr_fhstatus, fhp, tv);
174 if (fhp->fhs_status) {
176 errno = fhp->fhs_status;
[all …]
H A Dmap.c351 am_node *fh_to_mp3(fhp, rp, c_or_d) in fh_to_mp3() argument
352 nfs_fh *fhp; in fh_to_mp3()
356 struct am_fh *fp = (struct am_fh *) fhp;
479 am_node *fh_to_mp(fhp) in fh_to_mp() argument
480 nfs_fh *fhp; in fh_to_mp()
483 return fh_to_mp2(fhp, &dummy);
490 void mp_to_fh(mp, fhp) in mp_to_fh() argument
492 struct nfs_fh *fhp;
494 struct am_fh *fp = (struct am_fh *) fhp;
H A Dnfs_ops.c442 int mount_nfs_fh P((struct fhstatus *fhp, char *dir, char *fs_name, char *opts, mntfs *mf));
443 int mount_nfs_fh(fhp, dir, fs_name, opts, mf) in mount_nfs_fh() argument
444 struct fhstatus *fhp; in mount_nfs_fh()
507 NFS_FH_DREF(nfs_args.fh, (NFS_FH_TYPE) fhp->fhstatus_u.fhs_fhandle);
H A Dafs_ops.c92 nfs_fh *fhp; local
114 fhp = root_fh(dir);
115 if (!fhp) {
124 NFS_FH_DREF(nfs_args.fh, (NFS_FH_TYPE) fhp);
/original-bsd/sys/deprecated/lofs/
H A Dlofs_vfsops.c271 lofs_fhtovp(mp, fhp, nam, vpp, exflagsp, credanonp) in lofs_fhtovp() argument
273 struct fid *fhp;
279 return (VFS_FHTOVP(VFSTOLOFS(mp)->looped_vfs, fhp, nam, vpp, exflagsp, credanonp));
283 lofs_vptofh(vp, fhp) in lofs_vptofh() argument
285 struct fid *fhp;
287 return (VFS_VPTOFH(LOFSVP(vp), fhp));
/original-bsd/usr.sbin/repquota/
H A Drepquota.c298 struct fileusage *fup, **fhp; local
312 fhp = &fuhead[type][id & (FUHASH - 1)];
313 fup->fu_next = *fhp;
314 *fhp = fup;
/original-bsd/sys/ufs/lfs/
H A Dlfs_vfsops.c574 lfs_fhtovp(mp, fhp, nam, vpp, exflagsp, credanonp) in lfs_fhtovp() argument
576 struct fid *fhp;
584 ufhp = (struct ufid *)fhp;
594 lfs_vptofh(vp, fhp)
596 struct fid *fhp; variable
602 ufhp = (struct ufid *)fhp;
/original-bsd/sys/miscfs/nullfs/
H A Dnull_vfsops.c316 nullfs_vptofh(vp, fhp) in nullfs_vptofh() argument
318 struct fid *fhp;
320 return VFS_VPTOFH(NULLVPTOLOWERVP(vp), fhp);
/original-bsd/sys/miscfs/umapfs/
H A Dumap_vfsops.c357 umapfs_vptofh(vp, fhp) in umapfs_vptofh() argument
359 struct fid *fhp;
361 return (VFS_VPTOFH(UMAPVPTOLOWERVP(vp), fhp));
/original-bsd/sys/isofs/cd9660/
H A Dcd9660_vfsops.c484 cd9660_fhtovp(mp, fhp, nam, vpp, exflagsp, credanonp) in cd9660_fhtovp() argument
486 struct fid *fhp;
492 struct ifid *ifhp = (struct ifid *)fhp;
755 cd9660_vptofh(vp, fhp)
757 struct fid *fhp; variable
763 ifhp = (struct ifid *)fhp;
/original-bsd/sbin/quotacheck/
H A Dquotacheck.c471 struct fileusage *fup, **fhp; local
482 fhp = &fuhead[type][id & (FUHASH - 1)];
483 fup->fu_next = *fhp;
484 *fhp = fup;
/original-bsd/sys/sys/
H A Dmount.h219 int (*vfs_fhtovp) __P((struct mount *mp, struct fid *fhp,
222 int (*vfs_vptofh) __P((struct vnode *vp, struct fid *fhp));
/original-bsd/sys/ufs/ffs/
H A Dffs_vfsops.c820 ffs_fhtovp(mp, fhp, nam, vpp, exflagsp, credanonp) in ffs_fhtovp() argument
822 struct fid *fhp;
831 ufhp = (struct ufid *)fhp;
843 ffs_vptofh(vp, fhp)
845 struct fid *fhp; variable
851 ufhp = (struct ufid *)fhp;
/original-bsd/usr.sbin/amd/include/
H A Dam.h357 #define fh_to_mp2(fhp, rp) fh_to_mp3(fhp, rp, VLOOK_CREATE) argument