/freebsd-current/contrib/tcpdump/ |
H A D | parsenfsfh.c | 91 const unsigned char *fhp = fh; local 134 else if ((GET_U_1(fhp) == 0) && (GET_U_1(fhp + 1) == 0)) { 137 if ((GET_U_1(fhp + 2) == 0) && (GET_U_1(fhp + 3) == 0)) { 147 if ((GET_U_1(fhp + 4) != 0) && (GET_U_1(fhp + 5) == 0) && 148 (GET_U_1(fhp + 8) == 12) && (GET_U_1(fhp + 9) == 0)) { 154 /* XXX the test of fhp[ 434 is_UCX(netdissect_options *ndo, const unsigned char *fhp, u_int len) argument [all...] |
/freebsd-current/contrib/netbsd-tests/fs/vfs/ |
H A D | t_vfsops.c | 80 void *fhp; local 105 fhp = malloc(fhsize); 106 if (rump_sys_getfh(fpath, fhp, &fhsize) == -1) 110 fd = rump_sys_fhopen(fhp, fhsize, O_RDONLY); 129 void *fhp; local 145 fhp = malloc(fhsize); 146 RL(rump_sys_getfh(FNAME, fhp, &fhsize)); 152 ATF_REQUIRE_ERRNO(ESTALE, rump_sys_fhopen(fhp, fhsize, O_RDONLY) == -1); 167 void *fhp; local 184 fhp [all...] |
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | nfs.cc | 75 fhandle_t fhp; local 103 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); 104 ASSERT_EQ(-1, fhstat(&fhp, &sb)); 113 fhandle_t fhp; local 141 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); 142 ASSERT_EQ(0, fhstat(&fhp, &sb)) << strerror(errno); 152 fhandle_t fhp; local 168 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); 169 ASSERT_EQ(0, fhstat(&fhp, &sb)) << strerror(errno); 178 fhandle_t fhp; local 224 fhandle_t fhp; local 247 fhandle_t fhp; local 269 fhandle_t fhp; local 298 fhandle_t fhp; local [all...] |
H A D | last_local_modify.cc | 374 fhandle_t fhp; local 474 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); 497 ASSERT_EQ(0, fhstat(&fhp, &sb)) << strerror(errno);
|
/freebsd-current/contrib/smbfs/lib/smb/ |
H A D | print.c | 57 char *ident, smbfh *fhp) 75 mb_get_uint16(mbp, fhp); 56 smb_smb_open_print_file(struct smb_ctx *ctx, int setuplen, int mode, char *ident, smbfh *fhp) argument
|
/freebsd-current/sys/netinet/ |
H A D | in_fib_dxr.c | 345 struct heap_entry *fhp = &da->heap[0]; local 357 rt_get_inet_prefix_plen(rt, &addr, &fhp->preflen, &scopeid); 358 fhp->start = ntohl(addr.s_addr); 359 fhp->end = fhp->start; 360 if (fhp->preflen < 32) 361 fhp->end |= (0xffffffffU >> fhp->preflen); 362 fhp->nexthop = fib_get_nhop_idx(da->fd, rnd.rnd_nhop); 364 fhp 666 struct heap_entry *fhp; local 695 struct heap_entry *fhp = &da->heap[da->heap_index]; local 756 struct heap_entry *fhp; local [all...] |
/freebsd-current/usr.sbin/repquota/ |
H A D | repquota.c | 304 struct fileusage *fup, **fhp; local 315 fhp = &fuhead[type][id & (FUHASH - 1)]; 316 fup->fu_next = *fhp; 317 *fhp = fup;
|
/freebsd-current/sys/fs/nfsclient/ |
H A D | nfs_clnode.c | 95 ncl_nget(struct mount *mntp, u_int8_t *fhp, int fhsize, struct nfsnode **npp, argument 110 hash = fnv_32_buf(fhp, fhsize, FNV1_32_INIT); 114 bcopy(fhp, &nfhp->nfh_fh[0], fhsize); 157 !bcmp(fhp, nmp->nm_fh, fhsize))) { 167 bcopy(fhp, np->n_fhp->nfh_fh, fhsize);
|
H A D | nfs_clrpcops.c | 120 struct nfsfh *fhp; member in struct:nfsclwritedsdorpc 1309 nfsrpc_getattrnovp(struct nfsmount *nmp, u_int8_t *fhp, int fhlen, int syscred, argument 1317 nfscl_reqstart(nd, NFSPROC_GETATTR, nmp, fhp, fhlen, NULL, NULL, 0, 0, 3182 struct nfsfh *fhp; local 3189 fhp = VTONFS(dvp)->n_fhp; 3207 (void)nfsm_fhtom(nmp, nd, fhp->nfh_fh, fhp->nfh_len, 0); 5013 u_char *cp, *cp2, *fhp; local 5061 fhp = malloc(len + 1, M_TEMP, M_WAITOK); 5062 nd->nd_repstat = nfsrv_mtostr(nd, fhp, le 5450 nfsrpc_layoutget(struct nfsmount *nmp, uint8_t *fhp, int fhlen, int iomode, uint64_t offset, uint64_t len, uint64_t minlen, int layouttype, int layoutlen, nfsv4stateid_t *stateidp, int *retonclosep, struct nfsclflayouthead *flhp, struct ucred *cred, NFSPROC_T *p) argument 6547 struct nfsfh *fhp; local 6652 struct nfsfh *fhp; local 6823 nfsrpc_readds(vnode_t vp, struct uio *uiop, nfsv4stateid_t *stateidp, int *eofp, struct nfsclds *dsp, uint64_t io_off, int len, struct nfsfh *fhp, int flex, int vers, int minorvers, struct ucred *cred, NFSPROC_T *p) argument 6898 nfsrpc_writeds(vnode_t vp, struct uio *uiop, int *iomode, int *must_commit, nfsv4stateid_t *stateidp, struct nfsclds *dsp, uint64_t io_off, int len, struct nfsfh *fhp, int commit_thru_mds, int flex, int vers, int minorvers, struct ucred *cred, NFSPROC_T *p) argument 7039 nfsrpc_writedsmir(vnode_t vp, int *iomode, int *must_commit, nfsv4stateid_t *stateidp, struct nfsclds *dsp, uint64_t io_off, int len, struct nfsfh *fhp, struct mbuf *m, int vers, int minorvers, struct ucred *cred, NFSPROC_T *p) argument 7165 nfsio_writedsmir(vnode_t vp, int *iomode, int *must_commit, nfsv4stateid_t *stateidp, struct nfsclds *dsp, uint64_t off, int len, struct nfsfh *fhp, struct mbuf *m, int vers, int minorvers, struct nfsclwritedsdorpc *drpc, struct ucred *cred, NFSPROC_T *p) argument 7271 nfsrpc_commitds(vnode_t vp, uint64_t offset, int cnt, struct nfsclds *dsp, struct nfsfh *fhp, int vers, int minorvers, struct ucred *cred, NFSPROC_T *p) argument 7355 nfsio_commitds(vnode_t vp, uint64_t offset, int cnt, struct nfsclds *dsp, struct nfsfh *fhp, int vers, int minorvers, struct nfsclwritedsdorpc *drpc, struct ucred *cred, NFSPROC_T *p) argument 7427 nfsrpc_adviseds(vnode_t vp, uint64_t offset, int cnt, int advise, struct nfsclds *dsp, struct nfsfh *fhp, int vers, int minorvers, struct ucred *cred, NFSPROC_T *p) argument 7497 nfsio_adviseds(vnode_t vp, uint64_t offset, int cnt, int advise, struct nfsclds *dsp, struct nfsfh *fhp, int vers, int minorvers, struct nfsclwritedsdorpc *drpc, struct ucred *cred, NFSPROC_T *p) argument [all...] |
H A D | nfs_clstate.c | 353 struct nfsclopen **nopp, u_int8_t *own, u_int8_t *fhp, int fhlen, 387 /* If an fhp has been specified, create an Open as well. */ 388 if (fhp != NULL) { 392 !NFSBCMP(op->nfso_fh, fhp, fhlen)) 401 NFSBCOPY(fhp, nop->nfso_fh, fhlen); 416 LIST_INSERT_HEAD(NFSCLOPENHASH(clp, fhp, fhlen), 500 nfscl_finddeleg(struct nfsclclient *clp, u_int8_t *fhp, int fhlen) argument 504 LIST_FOREACH(dp, NFSCLDELEGHASH(clp, fhp, fhlen), nfsdl_hash) { 506 !NFSBCMP(dp->nfsdl_fh, fhp, fhlen)) 4106 nfscl_localconflict(struct nfsclclient *clp, u_int8_t *fhp, in argument 351 nfscl_newopen(struct nfsclclient *clp, struct nfscldeleg *dp, struct nfsclowner **owpp, struct nfsclowner **nowpp, struct nfsclopen **opp, struct nfsclopen **nopp, u_int8_t *own, u_int8_t *fhp, int fhlen, struct ucred *cred, int *newonep) argument 4476 nfsrpc_reopen(struct nfsmount *nmp, u_int8_t *fhp, int fhlen, u_int32_t mode, struct nfsclopen *op, struct nfscldeleg **dpp, struct ucred *cred, NFSPROC_T *p) argument 4508 nfscl_tryopen(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp, int fhlen, u_int8_t *newfhp, int newfhlen, u_int32_t mode, struct nfsclopen *op, u_int8_t *name, int namelen, struct nfscldeleg **ndpp, int reclaim, u_int32_t delegtype, struct ucred *cred, NFSPROC_T *p) argument 4546 nfscl_trylock(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp, int fhlen, struct nfscllockowner *nlp, int newone, int reclaim, u_int64_t off, u_int64_t len, short type, struct ucred *cred, NFSPROC_T *p) argument 5204 nfscl_layout(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp, int fhlen, nfsv4stateid_t *stateidp, int layouttype, int retonclose, struct nfsclflayouthead *fhlp, struct nfscllayout **lypp, struct ucred *cred, NFSPROC_T *p) argument 5314 nfscl_getlayout(struct nfsclclient *clp, uint8_t *fhp, int fhlen, uint64_t off, uint32_t rwaccess, struct nfsclflayout **retflpp, int *recalledp) argument 5362 nfscl_retoncloselayout(vnode_t vp, struct nfsclclient *clp, uint8_t *fhp, int fhlen, struct nfsclrecalllayout **recallpp, struct nfscllayout **lypp) argument 5521 nfscl_findlayout(struct nfsclclient *clp, u_int8_t *fhp, int fhlen) argument [all...] |
H A D | nfs_clport.c | 326 nfscl_ngetreopen(struct mount *mntp, u_int8_t *fhp, int fhsize, argument 340 bcopy(fhp, &nfhp->nfh_fh[0], fhsize); 343 hash = fnv_32_buf(fhp, fhsize, FNV1_32_INIT);
|
/freebsd-current/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 442 nfsvno_getfh(struct vnode *vp, fhandle_t *fhp, struct thread *p) argument 446 NFSBZERO((caddr_t)fhp, sizeof(fhandle_t)); 447 fhp->fh_fsid = vp->v_mount->mnt_stat.f_fsid; 448 error = VOP_VPTOFH(vp, &fhp->fh_fid); 1991 struct nfsvattr *nvap, fhandle_t *fhp, int rderror, nfsattrbit_t *attrbitp, 2010 error = nfsv4_fillattr(nd, mp, vp, NULL, &nvap->na_vattr, fhp, rderror, 3313 nfsvno_fhtovp(struct mount *mp, fhandle_t *fhp, struct sockaddr *nam, argument 3321 error = VFS_FHTOVP(mp, &fhp->fh_fid, lktype, vpp); 3370 fhandle_t *fhp; local 3376 fhp 1990 nfsvno_fillattr(struct nfsrv_descript *nd, struct mount *mp, struct vnode *vp, struct nfsvattr *nvap, fhandle_t *fhp, int rderror, nfsattrbit_t *attrbitp, struct ucred *cred, struct thread *p, int isdgram, int reterr, int supports_nfsv4acls, int at_root, uint64_t mounted_on_fileno) argument 3607 nfsvno_getvp(fhandle_t *fhp) argument 4180 nfsrv_hashfh(fhandle_t *fhp) argument 4246 nfsrv_dscreate(struct vnode *dvp, struct vattr *vap, struct vattr *nvap, fhandle_t *fhp, struct pnfsdsfile *pf, struct pnfsdsattr *dsa, char *fnamep, struct ucred *tcred, NFSPROC_T *p, struct vnode **nvpp) argument 4573 nfsrv_pnfsremovesetup(struct vnode *vp, NFSPROC_T *p, struct vnode **dvpp, int *mirrorcntp, char *fname, fhandle_t *fhp) argument 4686 nfsrv_pnfsremove(struct vnode **dvp, int mirrorcnt, char *fname, fhandle_t *fhp, NFSPROC_T *p) argument 4772 nfsrv_putfhname(fhandle_t *fhp, char *bufp) argument 5040 nfsrv_dsgetsockmnt(struct vnode *vp, int lktype, char *buf, int *buflenp, int *mirrorcntp, NFSPROC_T *p, struct vnode **dvpp, fhandle_t *fhp, char *devid, char *fnamep, struct vnode **nvpp, struct nfsmount **newnmpp, struct nfsmount *curnmp, int *ippos, int *dsdirp) argument 5279 nfsrv_readdsrpc(fhandle_t *fhp, off_t off, int len, struct ucred *cred, NFSPROC_T *p, struct nfsmount *nmp, struct mbuf **mpp, struct mbuf **mpendp) argument 5399 nfsrv_writedsdorpc(struct nfsmount *nmp, fhandle_t *fhp, off_t off, int len, struct nfsvattr *nap, struct mbuf *m, struct ucred *cred, NFSPROC_T *p) argument 5524 nfsrv_writedsrpc(fhandle_t *fhp, off_t off, int len, struct ucred *cred, NFSPROC_T *p, struct vnode *vp, struct nfsmount **nmpp, int mirrorcnt, struct mbuf **mpp, char *cp, int *failposp) argument 5621 nfsrv_allocatedsdorpc(struct nfsmount *nmp, fhandle_t *fhp, off_t off, off_t len, struct nfsvattr *nap, struct ucred *cred, NFSPROC_T *p) argument 5691 nfsrv_allocatedsrpc(fhandle_t *fhp, off_t off, off_t len, struct ucred *cred, NFSPROC_T *p, struct vnode *vp, struct nfsmount **nmpp, int mirrorcnt, int *failposp) argument 5781 nfsrv_deallocatedsdorpc(struct nfsmount *nmp, fhandle_t *fhp, off_t off, off_t len, struct nfsvattr *nap, struct ucred *cred, NFSPROC_T *p) argument 5872 nfsrv_deallocatedsrpc(fhandle_t *fhp, off_t off, off_t len, struct ucred *cred, NFSPROC_T *p, struct vnode *vp, struct nfsmount **nmpp, int mirrorcnt, int *failposp) argument 5944 nfsrv_setattrdsdorpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, struct vnode *vp, struct nfsmount *nmp, struct nfsvattr *nap, struct nfsvattr *dsnap) argument 6056 nfsrv_setattrdsrpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, struct vnode *vp, struct nfsmount **nmpp, int mirrorcnt, struct nfsvattr *nap, int *failposp) argument 6131 nfsrv_setacldsdorpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, struct vnode *vp, struct nfsmount *nmp, struct acl *aclp) argument 6205 nfsrv_setacldsrpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, struct vnode *vp, struct nfsmount **nmpp, int mirrorcnt, struct acl *aclp, int *failposp) argument 6277 nfsrv_getattrdsrpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, struct vnode *vp, struct nfsmount *nmp, struct nfsvattr *nap) argument 6334 nfsrv_seekdsrpc(fhandle_t *fhp, off_t *offp, int content, bool *eofp, struct ucred *cred, NFSPROC_T *p, struct nfsmount *nmp) argument 6387 nfsrv_dsgetdevandfh(struct vnode *vp, NFSPROC_T *p, int *mirrorcntp, fhandle_t *fhp, char *devid) argument [all...] |
H A D | nfs_nfsdstate.c | 169 nfsv4stateid_t *stateidp, int trunc, fhandle_t *fhp, 227 fhandle_t *fhp, struct nfslayout *lyp, int changed, int laytype, 229 static int nfsrv_findlayout(nfsquad_t *clientidp, fhandle_t *fhp, int laytype, 233 fhandle_t *fhp, fhandle_t *dsfhp, char *devid, fsid_t fs); 235 int mirrorcnt, fhandle_t *fhp, fhandle_t *dsfhp, char *devid, fsid_t fs); 236 static int nfsrv_dontlayout(fhandle_t *fhp); 237 static int nfsrv_createdsfile(vnode_t vp, fhandle_t *fhp, struct pnfsdsfile *pf, 3780 fhandle_t *fhp = NULL; local 3789 fhp = &new_lfp->lf_fh; 3791 fhp 3810 fhandle_t *fhp = NULL, *tfhp; local 4472 nfsrv_docallback(struct nfsclient *clp, int procnum, nfsv4stateid_t *stateidp, int trunc, fhandle_t *fhp, struct nfsvattr *nap, nfsattrbit_t *attrbitp, int laytype, NFSPROC_T *p) argument 6967 nfsrv_filelayout(struct nfsrv_descript *nd, int iomode, fhandle_t *fhp, fhandle_t *dsfhp, char *devid, fsid_t fs) argument 7015 nfsrv_flexlayout(struct nfsrv_descript *nd, int iomode, int mirrorcnt, fhandle_t *fhp, fhandle_t *dsfhp, char *devid, fsid_t fs) argument 7194 nfsrv_recalllayout(nfsquad_t clid, nfsv4stateid_t *stateidp, fhandle_t *fhp, struct nfslayout *lyp, int changed, int laytype, NFSPROC_T *p) argument 7417 nfsrv_findlayout(nfsquad_t *clientidp, fhandle_t *fhp, int laytype, NFSPROC_T *p, struct nfslayout **lypp) argument 7450 fhandle_t *fhp; local 7692 nfsrv_freefilelayouts(fhandle_t *fhp) argument 8288 nfsrv_dontlayout(fhandle_t *fhp) argument 8609 nfsrv_createdsfile(vnode_t vp, fhandle_t *fhp, struct pnfsdsfile *pf, vnode_t dvp, struct nfsdevice *ds, struct ucred *cred, NFSPROC_T *p, vnode_t *tvpp) argument [all...] |
H A D | nfs_nfsdserv.c | 116 struct nfsvattr *nvap, fhandle_t *fhp, vnode_t *vpp, 122 struct nfsvattr *nvap, fhandle_t *fhp, vnode_t *vpp, 589 vnode_t dp, vnode_t *vpp, fhandle_t *fhp, struct nfsexstuff *exp) 650 nd->nd_repstat = nfsvno_getfh(vp, fhp, p); 676 (void)nfsm_fhtom(NULL, nd, (u_int8_t *)fhp, 0, 0); 679 (void)nfsm_fhtom(NULL, nd, (u_int8_t *)fhp, 0, 0); 1317 vnode_t dp, vnode_t *vpp, fhandle_t *fhp, struct nfsexstuff *exp) 1458 nfsrvd_mkdirsub(nd, &named, &nva, fhp, vpp, dirp, 1466 nfsrvd_symlinksub(nd, &named, &nva, fhp, vpp, dirp, 1481 nd->nd_repstat = nfsvno_getfh(vp, fhp, 588 nfsrvd_lookup(struct nfsrv_descript *nd, __unused int isdgram, vnode_t dp, vnode_t *vpp, fhandle_t *fhp, struct nfsexstuff *exp) argument 1316 nfsrvd_mknod(struct nfsrv_descript *nd, __unused int isdgram, vnode_t dp, vnode_t *vpp, fhandle_t *fhp, struct nfsexstuff *exp) argument 1897 nfsrvd_symlink(struct nfsrv_descript *nd, __unused int isdgram, vnode_t dp, vnode_t *vpp, fhandle_t *fhp, struct nfsexstuff *exp) argument 1972 nfsrvd_symlinksub(struct nfsrv_descript *nd, struct nameidata *ndp, struct nfsvattr *nvap, fhandle_t *fhp, vnode_t *vpp, vnode_t dirp, struct nfsvattr *dirforp, struct nfsvattr *diraftp, int *diraft_retp, nfsattrbit_t *attrbitp, NFSACL_T *aclp, NFSPROC_T *p, struct nfsexstuff *exp, char *pathcp, int pathlen) argument 2017 nfsrvd_mkdir(struct nfsrv_descript *nd, __unused int isdgram, vnode_t dp, vnode_t *vpp, fhandle_t *fhp, struct nfsexstuff *exp) argument 2104 nfsrvd_mkdirsub(struct nfsrv_descript *nd, struct nameidata *ndp, struct nfsvattr *nvap, fhandle_t *fhp, vnode_t *vpp, vnode_t dirp, struct nfsvattr *dirforp, struct nfsvattr *diraftp, int *diraft_retp, nfsattrbit_t *attrbitp, NFSACL_T *aclp, NFSPROC_T *p, struct nfsexstuff *exp) argument 2821 nfsrvd_open(struct nfsrv_descript *nd, __unused int isdgram, vnode_t dp, vnode_t *vpp, __unused fhandle_t *fhp, struct nfsexstuff *exp) argument 4204 nfsrvd_openattr(struct nfsrv_descript *nd, __unused int isdgram, vnode_t dp, __unused vnode_t *vpp, __unused fhandle_t *fhp, __unused struct nfsexstuff *exp) argument [all...] |
H A D | nfs_nfsdsubs.c | 1476 nfsrv_mtofh(struct nfsrv_descript *nd, struct nfsrvfh *fhp) argument 1529 NFSBCOPY(tl, (caddr_t)fhp->nfsrvfh_data, copylen); 1530 fhp->nfsrvfh_len = copylen;
|
/freebsd-current/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 828 #define __sanitizer_syscall_pre_compat_30_getfh(fname, fhp) \ 830 (long long)(fhp)) 831 #define __sanitizer_syscall_post_compat_30_getfh(res, fname, fhp) \ 833 (long long)(fhp)) 1584 #define __sanitizer_syscall_pre_compat_30_fhopen(fhp, flags) \ 1585 __sanitizer_syscall_pre_impl_compat_30_fhopen((long long)(fhp), \ 1587 #define __sanitizer_syscall_post_compat_30_fhopen(res, fhp, flags) \ 1588 __sanitizer_syscall_post_impl_compat_30_fhopen(res, (long long)(fhp), \ 1590 #define __sanitizer_syscall_pre_compat_30_fhstat(fhp, sb) \ 1591 __sanitizer_syscall_pre_impl_compat_30_fhstat((long long)(fhp), \ [all...] |
/freebsd-current/sbin/quotacheck/ |
H A D | quotacheck.c | 543 struct fileusage *fup, **fhp; local 554 fhp = &fuhead[type][id & (FUHASH - 1)]; 555 fup->fu_next = *fhp; 556 *fhp = fup;
|
/freebsd-current/sys/fs/tmpfs/ |
H A D | tmpfs_vfsops.c | 585 tmpfs_fhtovp(struct mount *mp, struct fid *fhp, int flags, argument 593 if (fhp->fid_len != sizeof(tfd)) 600 memcpy(&tfd, fhp->fid_data, fhp->fid_len);
|
/freebsd-current/sys/kern/ |
H A D | vfs_syscalls.c | 104 enum uio_seg pathseg, fhandle_t *fhp); 4392 fhandle_t *fhp; member in struct:lgetfh_args 4400 UIO_USERSPACE, uap->fhp, UIO_USERSPACE)); 4406 fhandle_t *fhp; member in struct:getfh_args 4414 uap->fhp, UIO_USERSPACE)); 4428 fhandle_t *fhp; member in struct:getfhat_args 4437 uap->fhp, UIO_USERSPACE)); 4442 enum uio_seg pathseg, fhandle_t *fhp, enum uio_seg fhseg) 4468 error = copyout(&fh, fhp, sizeof (fh)); 4470 memcpy(fhp, 4441 kern_getfhat(struct thread *td, int flags, int fd, const char *path, enum uio_seg pathseg, fhandle_t *fhp, enum uio_seg fhseg) argument 4477 fhandle_t *fhp; member in struct:fhlink_args 4490 fhandle_t *fhp; member in struct:fhlinkat_args 4503 kern_fhlinkat(struct thread *td, int fd, const char *path, enum uio_seg pathseg, fhandle_t *fhp) argument 4533 fhandle_t *fhp; member in struct:fhreadlink_args 4589 struct fhandle fhp; local [all...] |
/freebsd-current/lib/libsys/ |
H A D | _libsys.h | 564 int __sys_lgetfh(const char * fname, struct fhandle * fhp); 565 int __sys_getfh(const char * fname, struct fhandle * fhp); 838 int __sys_getfhat(int fd, char * path, struct fhandle * fhp, int flags); 839 int __sys_fhlink(struct fhandle * fhp, const char * to); 840 int __sys_fhlinkat(struct fhandle * fhp, int tofd, const char * to); 841 int __sys_fhreadlink(struct fhandle * fhp, char * buf, size_t bufsize);
|
/freebsd-current/sys/fs/fuse/ |
H A D | fuse_vfsops.c | 266 fuse_vfsop_fhtovp(struct mount *mp, struct fid *fhp, int flags, argument 269 struct fuse_fid *ffhp = (struct fuse_fid *)fhp;
|
/freebsd-current/stand/libsa/ |
H A D | nfs.c | 182 nfs_getrootfh(struct iodesc *d, char *path, uint32_t *fhlenp, u_char *fhp) argument 234 bcopy(repl->fh, fhp, *fhlenp);
|
/freebsd-current/sys/fs/cd9660/ |
H A D | cd9660_vfsops.c | 605 cd9660_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument 612 memcpy(&ifh, fhp, sizeof(ifh));
|
/freebsd-current/sys/fs/udf/ |
H A D | udf_vfsops.c | 727 udf_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument 735 ifhp = (struct ifid *)fhp;
|
/freebsd-current/sys/nlm/ |
H A D | nlm_prot_impl.c | 1739 nlm_convert_to_fhandle_t(fhandle_t *fhp, struct netobj *p) argument 1741 memcpy(fhp, p->n_bytes, sizeof(fhandle_t)); 1752 fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode) 1760 vs->vs_mp = vfs_getvfs(&fhp->fh_fsid); 1780 error = VFS_FHTOVP(vs->vs_mp, &fhp->fh_fid, LK_EXCLUSIVE, &vs->vs_vp); 1751 nlm_get_vfs_state(struct nlm_host *host, struct svc_req *rqstp, fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode) argument
|