Lines Matching +full:4 +full:vpp

122  * which is frozen at protocol version 7.19.  As of 4-April-2024, 90% of
207 struct vnode **vpp) in fuse_vnode_alloc() argument
218 *vpp = NULL; in fuse_vnode_alloc()
219 err = vfs_hash_get(mp, fuse_vnode_hash(nodeid), LK_EXCLUSIVE, td, vpp, in fuse_vnode_alloc()
224 if (*vpp) { in fuse_vnode_alloc()
225 if ((*vpp)->v_type == vtyp) { in fuse_vnode_alloc()
227 MPASS((*vpp)->v_data != NULL); in fuse_vnode_alloc()
228 MPASS(VTOFUD(*vpp)->nid == nodeid); in fuse_vnode_alloc()
240 SDT_PROBE3(fusefs, , node, stale_vnode, *vpp, vtyp, in fuse_vnode_alloc()
242 fuse_internal_vnode_disappear(*vpp); in fuse_vnode_alloc()
243 vgone(*vpp); in fuse_vnode_alloc()
244 lockmgr((*vpp)->v_vnlock, LK_RELEASE, NULL); in fuse_vnode_alloc()
250 err = getnewvnode("fuse", mp, &fuse_fifoops, vpp); in fuse_vnode_alloc()
253 err = getnewvnode("fuse", mp, &fuse_vnops, vpp); in fuse_vnode_alloc()
260 lockmgr((*vpp)->v_vnlock, LK_EXCLUSIVE, NULL); in fuse_vnode_alloc()
261 fuse_vnode_init(*vpp, fvdat, nodeid, vtyp); in fuse_vnode_alloc()
262 err = insmntque(*vpp, mp); in fuse_vnode_alloc()
263 ASSERT_VOP_ELOCKED(*vpp, "fuse_vnode_alloc"); in fuse_vnode_alloc()
265 lockmgr((*vpp)->v_vnlock, LK_RELEASE, NULL); in fuse_vnode_alloc()
267 *vpp = NULL; in fuse_vnode_alloc()
272 VN_LOCK_ASHARE(*vpp); in fuse_vnode_alloc()
274 vn_set_state(*vpp, VSTATE_CONSTRUCTED); in fuse_vnode_alloc()
275 err = vfs_hash_insert(*vpp, fuse_vnode_hash(nodeid), LK_EXCLUSIVE, in fuse_vnode_alloc()
278 lockmgr((*vpp)->v_vnlock, LK_RELEASE, NULL); in fuse_vnode_alloc()
280 *vpp = NULL; in fuse_vnode_alloc()
284 *vpp = vp2; in fuse_vnode_alloc()
288 ASSERT_VOP_ELOCKED(*vpp, "fuse_vnode_alloc"); in fuse_vnode_alloc()
298 struct vnode **vpp, in fuse_vnode_get() argument
335 err = fuse_vnode_alloc(mp, td, nodeid, vtyp, vpp); in fuse_vnode_get()
343 fuse_vnode_setparent(*vpp, dvp); in fuse_vnode_get()
350 ASSERT_VOP_LOCKED(*vpp, "fuse_vnode_get"); in fuse_vnode_get()
354 cache_enter_time(dvp, *vpp, cnp, &timeout, NULL); in fuse_vnode_get()
357 VTOFUD(*vpp)->generation = generation; in fuse_vnode_get()
366 VTOFUD(*vpp)->nlookup++; in fuse_vnode_get()