Lines Matching refs:fhp

479 nfsvno_getfh(struct vnode *vp, fhandle_t *fhp, struct thread *p)  in nfsvno_getfh()  argument
483 NFSBZERO((caddr_t)fhp, sizeof(fhandle_t)); in nfsvno_getfh()
484 fhp->fh_fsid = vp->v_mount->mnt_stat.f_fsid; in nfsvno_getfh()
485 error = VOP_VPTOFH(vp, &fhp->fh_fid); in nfsvno_getfh()
2113 struct nfsvattr *nvap, fhandle_t *fhp, int rderror, nfsattrbit_t *attrbitp, in nfsvno_fillattr() argument
2133 error = nfsv4_fillattr(nd, mp, vp, NULL, &nvap->na_vattr, fhp, rderror, in nfsvno_fillattr()
3530 nfsvno_fhtovp(struct mount *mp, fhandle_t *fhp, struct sockaddr *nam, in nfsvno_fhtovp() argument
3538 error = VFS_FHTOVP(mp, &fhp->fh_fid, lktype, vpp); in nfsvno_fhtovp()
3587 fhandle_t *fhp; in nfsd_fhtovp() local
3593 fhp = (fhandle_t *)nfp->nfsrvfh_data; in nfsd_fhtovp()
3594 mp = vfs_busyfs(&fhp->fh_fsid); in nfsd_fhtovp()
3614 nd->nd_repstat = nfsvno_fhtovp(mp, fhp, nd->nd_nam, lktype, vpp, exp, in nfsd_fhtovp()
3833 nfsvno_getvp(fhandle_t *fhp) in nfsvno_getvp() argument
3839 mp = vfs_busyfs(&fhp->fh_fsid); in nfsvno_getvp()
3842 error = VFS_FHTOVP(mp, &fhp->fh_fid, LK_EXCLUSIVE, &vp); in nfsvno_getvp()
4406 nfsrv_hashfh(fhandle_t *fhp) in nfsrv_hashfh() argument
4410 hashval = hash32_buf(&fhp->fh_fid, sizeof(struct fid), 0); in nfsrv_hashfh()
4473 fhandle_t *fhp, struct pnfsdsfile *pf, struct pnfsdsattr *dsa, in nfsrv_dscreate() argument
4494 named.ni_cnd.cn_namelen = nfsrv_putfhname(fhp, bufp); in nfsrv_dscreate()
4800 int *mirrorcntp, char *fname, fhandle_t *fhp) in nfsrv_pnfsremovesetup() argument
4824 error = nfsvno_getfh(vp, fhp, p); in nfsrv_pnfsremovesetup()
4912 nfsrv_pnfsremove(struct vnode **dvp, int mirrorcnt, char *fname, fhandle_t *fhp, in nfsrv_pnfsremove() argument
4987 nfsrv_freefilelayouts(fhp); in nfsrv_pnfsremove()
4998 nfsrv_putfhname(fhandle_t *fhp, char *bufp) in nfsrv_putfhname() argument
5004 cp = (uint8_t *)fhp; in nfsrv_putfhname()
5005 for (i = 0; i < sizeof(*fhp); i++) { in nfsrv_putfhname()
5267 int *mirrorcntp, NFSPROC_T *p, struct vnode **dvpp, fhandle_t *fhp, in nfsrv_dsgetsockmnt() argument
5438 if (fhp != NULL) in nfsrv_dsgetsockmnt()
5439 NFSBCOPY(&pf->dsf_fh, fhp++, in nfsrv_dsgetsockmnt()
5505 nfsrv_readdsrpc(fhandle_t *fhp, off_t off, int len, struct ucred *cred, in nfsrv_readdsrpc() argument
5527 nfscl_reqstart(nd, NFSPROC_READDS, nmp, (u_int8_t *)fhp, sizeof(*fhp), in nfsrv_readdsrpc()
5625 nfsrv_writedsdorpc(struct nfsmount *nmp, fhandle_t *fhp, off_t off, int len, in nfsrv_writedsdorpc() argument
5635 nfscl_reqstart(nd, NFSPROC_WRITE, nmp, (u_int8_t *)fhp, in nfsrv_writedsdorpc()
5750 nfsrv_writedsrpc(fhandle_t *fhp, off_t off, int len, struct ucred *cred, in nfsrv_writedsrpc() argument
5777 NFSBCOPY(fhp, &tdrpc->fh, sizeof(*fhp)); in nfsrv_writedsrpc()
5793 ret = nfsrv_writedsdorpc(*nmpp, fhp, off, len, NULL, in nfsrv_writedsrpc()
5801 fhp++; in nfsrv_writedsrpc()
5804 ret = nfsrv_writedsdorpc(*nmpp, fhp, off, len, &na, m, cred, p); in nfsrv_writedsrpc()
5847 nfsrv_allocatedsdorpc(struct nfsmount *nmp, fhandle_t *fhp, off_t off, in nfsrv_allocatedsdorpc() argument
5857 nfscl_reqstart(nd, NFSPROC_ALLOCATE, nmp, (u_int8_t *)fhp, in nfsrv_allocatedsdorpc()
5917 nfsrv_allocatedsrpc(fhandle_t *fhp, off_t off, off_t len, struct ucred *cred, in nfsrv_allocatedsrpc() argument
5938 NFSBCOPY(fhp, &tdrpc->fh, sizeof(*fhp)); in nfsrv_allocatedsrpc()
5953 ret = nfsrv_allocatedsdorpc(*nmpp, fhp, off, len, NULL, in nfsrv_allocatedsrpc()
5961 fhp++; in nfsrv_allocatedsrpc()
5963 ret = nfsrv_allocatedsdorpc(*nmpp, fhp, off, len, &na, cred, p); in nfsrv_allocatedsrpc()
6007 nfsrv_deallocatedsdorpc(struct nfsmount *nmp, fhandle_t *fhp, off_t off, in nfsrv_deallocatedsdorpc() argument
6017 nfscl_reqstart(nd, NFSPROC_DEALLOCATE, nmp, (u_int8_t *)fhp, in nfsrv_deallocatedsdorpc()
6098 nfsrv_deallocatedsrpc(fhandle_t *fhp, off_t off, off_t len, struct ucred *cred, in nfsrv_deallocatedsrpc() argument
6119 NFSBCOPY(fhp, &tdrpc->fh, sizeof(*fhp)); in nfsrv_deallocatedsrpc()
6134 ret = nfsrv_deallocatedsdorpc(*nmpp, fhp, off, len, in nfsrv_deallocatedsrpc()
6142 fhp++; in nfsrv_deallocatedsrpc()
6144 ret = nfsrv_deallocatedsdorpc(*nmpp, fhp, off, len, &na, cred, p); in nfsrv_deallocatedsrpc()
6170 nfsrv_setattrdsdorpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, in nfsrv_setattrdsdorpc() argument
6192 nfscl_reqstart(nd, NFSPROC_SETATTR, nmp, (u_int8_t *)fhp, sizeof(*fhp), in nfsrv_setattrdsdorpc()
6283 nfsrv_setattrdsrpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, in nfsrv_setattrdsrpc() argument
6305 NFSBCOPY(fhp, &tdrpc->fh, sizeof(*fhp)); in nfsrv_setattrdsrpc()
6319 ret = nfsrv_setattrdsdorpc(fhp, cred, p, vp, *nmpp, nap, in nfsrv_setattrdsrpc()
6327 fhp++; in nfsrv_setattrdsrpc()
6329 ret = nfsrv_setattrdsdorpc(fhp, cred, p, vp, *nmpp, nap, &na); in nfsrv_setattrdsrpc()
6358 nfsrv_setacldsdorpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, in nfsrv_setacldsdorpc() argument
6378 nfscl_reqstart(nd, NFSPROC_SETACL, nmp, (u_int8_t *)fhp, sizeof(*fhp), in nfsrv_setacldsdorpc()
6432 nfsrv_setacldsrpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, in nfsrv_setacldsrpc() argument
6453 NFSBCOPY(fhp, &tdrpc->fh, sizeof(*fhp)); in nfsrv_setacldsrpc()
6467 ret = nfsrv_setacldsdorpc(fhp, cred, p, vp, *nmpp, in nfsrv_setacldsrpc()
6475 fhp++; in nfsrv_setacldsrpc()
6477 ret = nfsrv_setacldsdorpc(fhp, cred, p, vp, *nmpp, aclp); in nfsrv_setacldsrpc()
6504 nfsrv_getattrdsrpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, in nfsrv_getattrdsrpc() argument
6513 nfscl_reqstart(nd, NFSPROC_GETATTR, nmp, (u_int8_t *)fhp, in nfsrv_getattrdsrpc()
6561 nfsrv_seekdsrpc(fhandle_t *fhp, off_t *offp, int content, bool *eofp, in nfsrv_seekdsrpc() argument
6581 nfscl_reqstart(nd, NFSPROC_SEEKDS, nmp, (u_int8_t *)fhp, in nfsrv_seekdsrpc()
6615 fhandle_t *fhp, char *devid) in nfsrv_dsgetdevandfh() argument
6623 fhp, devid, NULL, NULL, NULL, NULL, NULL, NULL); in nfsrv_dsgetdevandfh()