Lines Matching defs:nfhp
113 struct nfsfh *nfhp = (struct nfsfh *)arg;
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);
225 FREE((caddr_t)nfhp, M_NFSFH);
245 if ((nfhp->nfh_len == nmp->nm_fhsize) &&
246 !bcmp(nfhp->nfh_fh, nmp->nm_fh, nfhp->nfh_len)) {
252 np->n_fhp = nfhp;
281 FREE((caddr_t)nfhp, M_NFSFH);
288 td, &nvp, newnfs_vncmpf, nfhp);
318 struct nfsfh *nfhp;
325 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
327 bcopy(fhp, &nfhp->nfh_fh[0], fhsize);
328 nfhp->nfh_len = fhsize;
336 newnfs_vncmpf, nfhp);
349 vfs_hash_ref(mntp, hash, td, &nvp, newnfs_vncmpf, nfhp);
360 FREE(nfhp, M_NFSFH);