/src/sys/fs/nfs/client/ |
nfs_clnode.c | 107 struct nfsfh *nfhp; local in function:ncl_nget 114 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize, 116 bcopy(fhp, &nfhp->nfh_fh[0], fhsize); 117 nfhp->nfh_len = fhsize; 119 td, &nvp, newnfs_vncmpf, nfhp); 120 FREE(nfhp, M_NFSFH);
|
nfs_clport.c | 113 struct nfsfh *nfhp = (struct nfsfh *)arg; local in function:newnfs_vncmpf 116 if (np->n_fhp->nfh_len != nfhp->nfh_len || 117 NFSBCMP(np->n_fhp->nfh_fh, nfhp->nfh_fh, nfhp->nfh_len)) 131 nfscl_nget(struct mount *mntp, struct vnode *dvp, struct nfsfh *nfhp, 146 hash = fnv_32_buf(nfhp->nfh_fh, nfhp->nfh_len, FNV1_32_INIT); 149 td, &nvp, newnfs_vncmpf, nfhp); 171 FREE((caddr_t)nfhp, M_NFSFH); 217 FREE((caddr_t)nfhp, M_NFSFH) 318 struct nfsfh *nfhp; local in function:nfscl_ngetreopen [all...] |
nfs_clstate.c | 208 * If the nfhp argument is NULL, just get an openowner. 211 nfscl_open(vnode_t vp, u_int8_t *nfhp, int fhlen, u_int32_t amode, int usedeleg, 236 if (nfhp != NULL) 256 if (nfhp != NULL && usedeleg) { 257 LIST_FOREACH(dp, NFSCLDELEGHASH(clp, nfhp, fhlen), nfsdl_hash) { 259 !NFSBCMP(nfhp, dp->nfsdl_fh, fhlen)) { 282 nfscl_newopen(clp, dp, &owp, &nowp, &op, &nop, own, nfhp, fhlen, 290 if (nfhp != NULL && dp != NULL && nop == NULL) 404 nfscl_deleg(mount_t mp, struct nfsclclient *clp, u_int8_t *nfhp, 424 tdp = nfscl_finddeleg(clp, nfhp, fhlen) 2883 struct nfsfh *nfhp; local in function:nfscl_dupopen 2993 struct nfsfh *nfhp; local in function:nfscl_getclose 3067 struct nfsfh *nfhp; local in function:nfscl_doclose 3156 struct nfsfh *nfhp; local in function:nfscl_docb 4016 struct nfsfh *nfhp; local in function:nfscl_relock [all...] |
nfs_clvnops.c | 1043 struct nfsfh *nfhp; local in function:nfs_lookup 1151 cnp->cn_cred, td, &dnfsva, &nfsva, &nfhp, &attrflag, &dattrflag, 1207 if (NFS_CMPFH(np, nfhp->nfh_fh, nfhp->nfh_len)) { 1208 FREE((caddr_t)nfhp, M_NFSFH); 1211 error = nfscl_nget(mp, dvp, nfhp, cnp, td, &np, NULL, 1241 error = nfscl_nget(mp, dvp, nfhp, cnp, td, &np, NULL, 1262 } else if (NFS_CMPFH(np, nfhp->nfh_fh, nfhp->nfh_len)) { 1263 FREE((caddr_t)nfhp, M_NFSFH) 1439 struct nfsfh *nfhp; local in function:nfs_mknodrpc 1541 struct nfsfh *nfhp; local in function:nfs_create 2015 struct nfsfh *nfhp; local in function:nfs_symlink 2093 struct nfsfh *nfhp; local in function:nfs_mkdir 2456 struct nfsfh *nfhp, *onfhp; local in function:nfs_lookitup [all...] |
nfs_clrpcops.c | 266 struct nfsfh *nfhp; local in function:nfsrpc_open 282 nfhp = np->n_fhp; 291 if (nfhp->nfh_len > 0) printf(" fh=0x%x\n",nfhp->nfh_fh[12]); 297 error = nfscl_open(vp, nfhp->nfh_fh, nfhp->nfh_len, mode, 1, 331 nfhp->nfh_fh, nfhp->nfh_len, cred, p, &dp); 378 nfsrpc_openrpc(struct nfsmount *nmp, vnode_t vp, u_int8_t *nfhp, int fhlen, 394 nfscl_reqstart(nd, NFSPROC_OPEN, nmp, nfhp, fhlen, NULL, NULL) 1075 struct nfsfh *nfhp; local in function:nfsrpc_setattr 1196 struct nfsfh *nfhp; local in function:nfsrpc_lookup 1355 struct nfsfh *nfhp = NULL; local in function:nfsrpc_read 1507 struct nfsfh *nfhp = NULL; local in function:nfsrpc_write 1964 struct nfsfh *nfhp; local in function:nfsrpc_createv4 3140 struct nfsfh *nfhp; local in function:nfsrpc_readdirplus 3672 struct nfsfh *nfhp; local in function:nfsrpc_advlock 4715 struct nfsfh *nfhp; local in function:nfsrpc_layoutget [all...] |
/src/sys/fs/msdosfs/ |
msdosfs_denode.c | 722 struct fh_node *fhp, *nfhp; local in function:msdosfs_fh_destroy 730 fhp != NULL && fhp->fh_mount == pmp; fhp = nfhp) { 731 nfhp = rb_tree_iterate(&fh_rbtree, fhp, RB_DIR_RIGHT);
|
/src/sys/nfs/ |
nfs_vnops.c | 2909 nfsfh_t *ofhp, *nfhp; local in function:nfs_lookitup 2919 nfsm_getfh(nfhp, fhlen, v3); 2927 ofhp, ofhlen, nfhp, fhlen); 2941 memcpy(np->n_fhp, nfhp, fhlen); 2946 } else if (NFS_CMPFH(dnp, nfhp, fhlen)) { 2951 error = nfs_nget(dvp->v_mount, nfhp, fhlen, &np);
|
/src/sys/fs/nfs/common/ |
nfs_commonsubs.c | 666 struct nfsfh *nfhp; local in function:nfsm_getfh 679 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + len, 681 error = nfsrv_mtostr(nd, nfhp->nfh_fh, len); 683 FREE((caddr_t)nfhp, M_NFSFH); 686 nfhp->nfh_len = len; 687 *nfhpp = nfhp;
|