/freebsd-10.0-release/sys/fs/nfsclient/ |
H A D | nfs_clnode.c | 105 struct nfsfh *nfhp; local 112 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize, 114 bcopy(fhp, &nfhp->nfh_fh[0], fhsize); 115 nfhp->nfh_len = fhsize; 117 td, &nvp, newnfs_vncmpf, nfhp); 118 FREE(nfhp, M_NFSFH);
|
H A D | nfs_clport.c | 93 struct nfsfh *nfhp = (struct nfsfh *)arg; local 96 if (np->n_fhp->nfh_len != nfhp->nfh_len || 97 NFSBCMP(np->n_fhp->nfh_fh, nfhp->nfh_fh, nfhp->nfh_len)) 111 nfscl_nget(struct mount *mntp, struct vnode *dvp, struct nfsfh *nfhp, argument 126 hash = fnv_32_buf(nfhp->nfh_fh, nfhp->nfh_len, FNV1_32_INIT); 129 td, &nvp, newnfs_vncmpf, nfhp); 151 FREE((caddr_t)nfhp, M_NFSFH); 197 FREE((caddr_t)nfhp, M_NFSF 298 struct nfsfh *nfhp; local [all...] |
H A D | nfs_clrpcops.c | 255 struct nfsfh *nfhp; local 271 nfhp = np->n_fhp; 280 if (nfhp->nfh_len > 0) printf(" fh=0x%x\n",nfhp->nfh_fh[12]); 286 error = nfscl_open(vp, nfhp->nfh_fh, nfhp->nfh_len, mode, 1, 320 nfhp->nfh_fh, nfhp->nfh_len, cred, p, &dp); 367 nfsrpc_openrpc(struct nfsmount *nmp, vnode_t vp, u_int8_t *nfhp, int fhlen, argument 383 nfscl_reqstart(nd, NFSPROC_OPEN, nmp, nfhp, fhle 767 nfsrpc_openconfirm(vnode_t vp, u_int8_t *nfhp, int fhlen, struct nfsclopen *op, struct ucred *cred, NFSPROC_T *p) argument 1061 struct nfsfh *nfhp; local 1182 struct nfsfh *nfhp; local 1332 struct nfsfh *nfhp = NULL; local 1485 struct nfsfh *nfhp = NULL; local 1943 struct nfsfh *nfhp; local 3081 struct nfsfh *nfhp; local 3615 struct nfsfh *nfhp; local 3902 nfsrpc_lock(struct nfsrv_descript *nd, struct nfsmount *nmp, vnode_t vp, u_int8_t *nfhp, int fhlen, struct nfscllockowner *lp, int newone, int reclaim, u_int64_t off, u_int64_t len, short type, struct ucred *cred, NFSPROC_T *p, int syscred) argument 4658 struct nfsfh *nfhp; local 5094 nfsrpc_getlayout(struct nfsmount *nmp, vnode_t vp, struct nfsfh *nfhp, int iomode, uint32_t *notifybitsp, nfsv4stateid_t *stateidp, uint64_t off, struct nfscllayout **lypp, struct ucred *cred, NFSPROC_T *p) argument [all...] |
H A D | nfs_clstate.c | 206 * If the nfhp argument is NULL, just get an openowner. 209 nfscl_open(vnode_t vp, u_int8_t *nfhp, int fhlen, u_int32_t amode, int usedeleg, argument 234 if (nfhp != NULL) 254 if (nfhp != NULL && usedeleg) { 255 LIST_FOREACH(dp, NFSCLDELEGHASH(clp, nfhp, fhlen), nfsdl_hash) { 257 !NFSBCMP(nfhp, dp->nfsdl_fh, fhlen)) { 280 nfscl_newopen(clp, dp, &owp, &nowp, &op, &nop, own, nfhp, fhlen, 299 if (nfhp != NULL && dp != NULL && nop == NULL) 402 nfscl_deleg(mount_t mp, struct nfsclclient *clp, u_int8_t *nfhp, argument 422 tdp = nfscl_finddeleg(clp, nfhp, fhle 473 nfscl_getstateid(vnode_t vp, u_int8_t *nfhp, int fhlen, u_int32_t mode, int fords, struct ucred *cred, NFSPROC_T *p, nfsv4stateid_t *stateidp, void **lckpp) argument 609 nfscl_getopen(struct nfsclownerhead *ohp, u_int8_t *nfhp, int fhlen, u_int8_t *openown, u_int8_t *lockown, u_int32_t mode, struct nfscllockowner **lpp, struct nfsclopen **opp) argument 2881 struct nfsfh *nfhp; local 2991 struct nfsfh *nfhp; local 3065 struct nfsfh *nfhp; local 3154 struct nfsfh *nfhp; local 4014 struct nfsfh *nfhp; local [all...] |
H A D | nfs_clvnops.c | 1047 struct nfsfh *nfhp; local 1155 cnp->cn_cred, td, &dnfsva, &nfsva, &nfhp, &attrflag, &dattrflag, 1212 if (NFS_CMPFH(np, nfhp->nfh_fh, nfhp->nfh_len)) { 1213 FREE((caddr_t)nfhp, M_NFSFH); 1216 error = nfscl_nget(mp, dvp, nfhp, cnp, td, &np, NULL, 1246 error = nfscl_nget(mp, dvp, nfhp, cnp, td, &np, NULL, 1267 } else if (NFS_CMPFH(np, nfhp->nfh_fh, nfhp->nfh_len)) { 1268 FREE((caddr_t)nfhp, M_NFSF 1444 struct nfsfh *nfhp; local 1546 struct nfsfh *nfhp; local 2038 struct nfsfh *nfhp; local 2116 struct nfsfh *nfhp; local 2465 struct nfsfh *nfhp, *onfhp; local [all...] |
H A D | nfs_clcomsubs.c | 132 u_int8_t *nfhp, int fhlen, u_int32_t **opcntpp, struct nfsclsession *sep) 215 (void) nfsm_fhtom(nd, nfhp, fhlen, 0); 232 (void) nfsm_fhtom(nd, nfhp, fhlen, 0); 131 nfscl_reqstart(struct nfsrv_descript *nd, int procnum, struct nfsmount *nmp, u_int8_t *nfhp, int fhlen, u_int32_t **opcntpp, struct nfsclsession *sep) argument
|
/freebsd-10.0-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 82 struct nfslockfile **new_lfpp, fhandle_t *nfhp, NFSPROC_T *p); 84 struct nfslockfile **lfpp, fhandle_t *nfhp, int lockit); 3146 struct nfslockfile **new_lfpp, fhandle_t *nfhp, NFSPROC_T *p) 3159 } else if (nfhp) { 3160 fhp = nfhp; 3176 struct nfslockfile **lfpp, fhandle_t *nfhp, int lockit) 3190 } else if (nfhp) { 3191 fhp = nfhp; 3145 nfsrv_getlockfh(vnode_t vp, u_short flags, struct nfslockfile **new_lfpp, fhandle_t *nfhp, NFSPROC_T *p) argument 3175 nfsrv_getlockfile(u_short flags, struct nfslockfile **new_lfpp, struct nfslockfile **lfpp, fhandle_t *nfhp, int lockit) argument
|
/freebsd-10.0-release/sys/fs/nfs/ |
H A D | nfs_commonsubs.c | 653 struct nfsfh *nfhp; local 666 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + len, 668 error = nfsrv_mtostr(nd, nfhp->nfh_fh, len); 670 FREE((caddr_t)nfhp, M_NFSFH); 673 nfhp->nfh_len = len; 674 *nfhpp = nfhp;
|
/freebsd-10.0-release/sys/nfsclient/ |
H A D | nfs_vnops.c | 2818 nfsfh_t *nfhp; local 2830 nfsm_getfh(nfhp, fhlen, v3); 2838 bcopy((caddr_t)nfhp, (caddr_t)np->n_fhp, fhlen); 2841 } else if (NFS_CMPFH(dnp, nfhp, fhlen)) { 2845 error = nfs_nget(dvp->v_mount, nfhp, fhlen, &np, LK_EXCLUSIVE);
|
/freebsd-10.0-release/sys/nfsserver/ |
H A D | nfs_serv.c | 2916 fhandle_t *fhp, *nfhp = (fhandle_t *)fl.fl_nfh; local 3150 bzero((caddr_t)nfhp, NFSX_V3FH); 3151 nfhp->fh_fsid = nvp->v_mount->mnt_stat.f_fsid; 3152 if ((error1 = VOP_VPTOFH(nvp, &nfhp->fh_fid)) == 0)
|