Lines Matching full:vpp

133     uint64_t id, struct vnode **vpp)
140 err = vfs_hash_get(mp, (uint32_t)id, flags, curthread, vpp,
147 uint64_t id, struct vnode **vpp)
152 err = vfs_hash_insert(vp, (uint32_t)id, flags, curthread, vpp,
169 struct vnode **vpp)
174 error = sfs_vnode_get(mp, flags, parent_id, id, vpp);
175 if (error != 0 || *vpp != NULL) {
176 KASSERT_IMPLY(error == 0, (*vpp)->v_data != NULL,
184 *vpp = NULL;
194 *vpp = NULL;
200 error = sfs_vnode_insert(vp, flags, parent_id, id, vpp);
201 if (error != 0 || *vpp != NULL) {
202 KASSERT_IMPLY(error == 0, (*vpp)->v_data != NULL,
211 *vpp = vp;
391 struct vnode **vpp)
393 return (VFS_ROOT(mp, flags, vpp));
409 struct vnode **vpp)
416 zfsctl_common_vnode_setup, node, vpp);
422 struct vnode **vpp)
429 &zfsctl_ops_snapdir, zfsctl_common_vnode_setup, node, vpp);
438 zfsctl_root(zfsvfs_t *zfsvfs, int flags, vnode_t **vpp)
442 error = zfsctl_root_vnode(zfsvfs->z_vfs, NULL, flags, vpp);
638 vnode_t **vpp = ap->a_vpp;
652 *vpp = dvp;
655 lkflags, vpp);
657 err = zfsctl_snapdir_vnode(dvp->v_mount, NULL, lkflags, vpp);
662 *vpp = NULL;
870 zfsctl_mounted_here(vnode_t **vpp, int flags)
875 ASSERT_VOP_LOCKED(*vpp, __func__);
876 ASSERT3S((*vpp)->v_type, ==, VDIR);
878 if ((mp = (*vpp)->v_mountedhere) != NULL) {
881 KASSERT(vrefcnt(*vpp) > 1, ("unreferenced mountpoint"));
882 vput(*vpp);
883 err = VFS_ROOT(mp, flags, vpp);
926 vnode_t **vpp = ap->a_vpp;
947 *vpp = dvp;
952 vpp);
971 zfsctl_snapshot_vnode_setup, &ssa, vpp);
976 if (VOP_ISLOCKED(*vpp) == LK_EXCLUSIVE)
982 err = zfsctl_mounted_here(vpp, lkflags);
992 VI_LOCK(*vpp);
993 if (((*vpp)->v_iflag & VI_MOUNT) == 0) {
994 VI_UNLOCK(*vpp);
1000 err = VOP_LOCK(*vpp, LK_TRYUPGRADE);
1004 VI_UNLOCK(*vpp);
1012 vput(*vpp);
1025 err = mount_snapshot(curthread, vpp, "zfs", mountpoint, fullname, 0,
1036 ASSERT3P(VTOZ(*vpp)->z_zfsvfs, !=, zfsvfs);
1037 VTOZ(*vpp)->z_zfsvfs->z_parent = zfsvfs;
1040 (*vpp)->v_vflag &= ~VV_ROOT;
1044 *vpp = NULL;