Lines Matching refs:vpp
116 pfs_vncache_alloc(struct mount *mp, struct vnode **vpp, in pfs_vncache_alloc() argument
141 *vpp = vp; in pfs_vncache_alloc()
161 error = getnewvnode("pseudofs", mp, &pfs_vnodeops, vpp); in pfs_vncache_alloc()
168 (*vpp)->v_data = pvd; in pfs_vncache_alloc()
171 (*vpp)->v_vflag = VV_ROOT; in pfs_vncache_alloc()
180 (*vpp)->v_type = VDIR; in pfs_vncache_alloc()
183 (*vpp)->v_type = VREG; in pfs_vncache_alloc()
186 (*vpp)->v_type = VLNK; in pfs_vncache_alloc()
198 (*vpp)->v_vflag |= VV_PROCDEP; in pfs_vncache_alloc()
199 pvd->pvd_vnode = *vpp; in pfs_vncache_alloc()
200 vn_lock(*vpp, LK_EXCLUSIVE | LK_RETRY); in pfs_vncache_alloc()
201 VN_LOCK_AREC(*vpp); in pfs_vncache_alloc()
202 error = insmntque(*vpp, mp); in pfs_vncache_alloc()
205 *vpp = NULLVP; in pfs_vncache_alloc()
208 vn_set_state(*vpp, VSTATE_CONSTRUCTED); in pfs_vncache_alloc()
224 vgone(*vpp); in pfs_vncache_alloc()
225 vput(*vpp); in pfs_vncache_alloc()
226 *vpp = vp; in pfs_vncache_alloc()