Lines Matching defs:nvp
136 struct vnode *vp, *nvp;
149 td, &nvp, newnfs_vncmpf, nfhp);
150 if (error == 0 && nvp != NULL) {
161 VI_LOCK(nvp);
162 if ((nvp->v_iflag & VI_DOOMED)) {
163 VI_UNLOCK(nvp);
164 vrele(nvp);
167 VI_UNLOCK(nvp);
174 if (nvp != NULL) {
175 np = VTONFS(nvp);
182 nvp->v_type == VREG &&
193 if (newd != NULL && np->n_v4 != NULL && nvp->v_type == VREG
222 error = getnewvnode(nfs_vnode_tag, mntp, &newnfs_vnodeops, &nvp);
228 vp = nvp;
288 td, &nvp, newnfs_vncmpf, nfhp);
291 if (nvp != NULL) {
292 *npp = VTONFS(nvp);
316 struct vnode *nvp;
335 error = vfs_hash_get(mntp, hash, (LK_EXCLUSIVE | LK_NOWAIT), td, &nvp,
337 if (error == 0 && nvp != NULL) {
338 NFSVOPUNLOCK(nvp, 0);
349 vfs_hash_ref(mntp, hash, td, &nvp, newnfs_vncmpf, nfhp);
350 if (nvp == NULL) {
352 } else if ((nvp->v_iflag & VI_DOOMED) != 0) {
354 vrele(nvp);
363 if (nvp != NULL) {
364 *npp = VTONFS(nvp);