Home
last modified time | relevance | path

Searched refs:rootvp (Results 1 – 20 of 20) sorted by relevance

/dragonfly/sys/vfs/nullfs/
H A Dnull_vfsops.c80 struct vnode *rootvp; in nullfs_mount() local
109 rootvp = NULL; in nullfs_mount()
145 if (xmp->nullm_vfs != rootvp->v_mount) { in nullfs_mount()
150 xmp->nullm_vfs = rootvp->v_mount; in nullfs_mount()
166 vn_unlock(rootvp); /* leave reference intact */ in nullfs_mount()
172 xmp->nullm_rootvp = rootvp; in nullfs_mount()
197 fh.fh_fsid = rootvp->v_mount->mnt_stat.f_fsid; in nullfs_mount()
199 if (VFS_VPTOFH(rootvp, &fh.fh_fid) == 0) { in nullfs_mount()
212 rootvp->v_mount->mnt_stat.f_fsid.val[0], in nullfs_mount()
213 rootvp->v_mount->mnt_stat.f_fsid.val[1], in nullfs_mount()
[all …]
/dragonfly/sys/vfs/isofs/cd9660/
H A Dcd9660_vfsops.c78 static int cd9660_fhtovp(struct mount *, struct vnode *rootvp,
147 struct vnode *rootvp; in iso_mountroot() local
150 if ((error = bdevvp(rootdev, &rootvp))) { in iso_mountroot()
156 vn_lock(rootvp, LK_EXCLUSIVE | LK_RETRY); in iso_mountroot()
157 error = VOP_OPEN(rootvp, FREAD, FSCRED, NULL); in iso_mountroot()
158 vn_unlock(rootvp); in iso_mountroot()
164 vn_lock(rootvp, LK_EXCLUSIVE | LK_RETRY); in iso_mountroot()
165 VOP_CLOSE(rootvp, FREAD, NULL); in iso_mountroot()
166 vn_unlock(rootvp); in iso_mountroot()
171 if ((error = iso_mountfs(rootvp, mp, &args)) != 0) in iso_mountroot()
[all …]
/dragonfly/sys/kern/
H A Dvfs_mount.c1073 struct vnode *rootvp = NULL; in vflush() local
1084 if ((error = VFS_ROOT(mp, &rootvp)) != 0) { in vflush()
1091 vput(rootvp); in vflush()
1105 KASSERT(VREFCNT(rootvp) >= rootrefs, ("vflush: rootrefs")); in vflush()
1106 if (vflush_info.busy == 1 && VREFCNT(rootvp) == rootrefs) { in vflush()
1107 vx_lock(rootvp); in vflush()
1108 vgone_vxlocked(rootvp); in vflush()
1109 vx_unlock(rootvp); in vflush()
1116 vrele(rootvp); in vflush()
H A Dvfs_vfsops.c235 vfs_fhtovp(struct mount *mp, struct vnode *rootvp, in vfs_fhtovp() argument
242 error = (mp->mnt_op->vfs_fhtovp)(mp, rootvp, fhp, vpp); in vfs_fhtovp()
H A Dvfs_default.c1564 vfs_stdfhtovp(struct mount *mp, struct vnode *rootvp, in vfs_stdfhtovp() argument
/dragonfly/usr.sbin/makefs/
H A Dmsdos.c150 struct m_vnode vp, rootvp; in msdos_makefs() local
189 if (msdosfs_root(pmp, &rootvp) != 0) in msdos_makefs()
199 if (msdos_populate_dir(dir, VTODE(&rootvp), root, root, fsopts) == -1) in msdos_makefs()
/dragonfly/sys/vfs/ntfs/
H A Dntfs_vfsops.c82 static int ntfs_fhtovp (struct mount *, struct vnode *rootvp,
129 struct vnode *rootvp; in ntfs_mount() local
143 if( bdevvp( rootdev, &rootvp)) in ntfs_mount()
154 if( ( error = ntfs_mountfs(rootvp, mp, &args, cred)) != 0) { in ntfs_mount()
655 ntfs_fhtovp(struct mount *mp, struct vnode *rootvp, in ntfs_fhtovp() argument
/dragonfly/sys/vfs/hammer/
H A Dhammer_vfsops.c247 static int hammer_vfs_fhtovp(struct mount *mp, struct vnode *rootvp,
329 struct vnode *rootvp; in hammer_vfs_mount() local
743 error = hammer_vfs_root(mp, &rootvp); in hammer_vfs_mount()
746 vput(rootvp); in hammer_vfs_mount()
1105 hammer_vfs_fhtovp(struct mount *mp, struct vnode *rootvp, in hammer_vfs_fhtovp() argument
1117 if (rootvp) in hammer_vfs_fhtovp()
1118 localization = VTOI(rootvp)->obj_localization; in hammer_vfs_fhtovp()
/dragonfly/sys/vfs/devfs/
H A Ddevfs_vfsops.c61 static int devfs_vfs_fhtovp(struct mount *mp, struct vnode *rootvp,
203 devfs_vfs_fhtovp(struct mount *mp, struct vnode *rootvp, in devfs_vfs_fhtovp() argument
/dragonfly/sys/vfs/ufs/
H A Dffs_vfsops.c142 struct vnode *rootvp; in ffs_mount() local
157 if ((error = bdevvp(rootdev, &rootvp))) { in ffs_mount()
162 if( ( error = ffs_mountfs(rootvp, mp, M_FFSNODE)) != 0) { in ffs_mount()
166 devvp = rootvp; in ffs_mount()
1207 ffs_fhtovp(struct mount *mp, struct vnode *rootvp, in ffs_fhtovp() argument
1218 return (ufs_fhtovp(mp, rootvp, ufhp, vpp)); in ffs_fhtovp()
H A Dufs_vfsops.c203 ufs_fhtovp(struct mount *mp, struct vnode *rootvp, in ufs_fhtovp() argument
/dragonfly/sys/sys/
H A Dmount.h563 typedef int vfs_fhtovp_t(struct mount *mp, struct vnode *rootvp,
592 int vfs_fhtovp(struct mount *mp, struct vnode *rootvp,
/dragonfly/sys/vfs/dirfs/
H A Ddirfs_vfsops.c282 dirfs_fhtovp(struct mount *mp, struct vnode *rootvp, struct fid *fhp, struct vnode **vpp) in dirfs_fhtovp() argument
/dragonfly/sys/vfs/tmpfs/
H A Dtmpfs_vfsops.c435 tmpfs_fhtovp(struct mount *mp, struct vnode *rootvp, struct fid *fhp, in tmpfs_fhtovp() argument
/dragonfly/sys/vfs/hpfs/
H A Dhpfs_vfsops.c424 hpfs_fhtovp(struct mount *mp, struct vnode *rootvp, in hpfs_fhtovp() argument
/dragonfly/sys/vfs/udf/
H A Dudf_vfsops.c592 udf_fhtovp(struct mount *mp, struct vnode *rootvp, in udf_fhtovp() argument
/dragonfly/sys/vfs/msdosfs/
H A Dmsdosfs_vfsops.c848 msdosfs_fhtovp(struct mount *mp, struct vnode *rootvp, in msdosfs_fhtovp() argument
/dragonfly/sys/vfs/hammer2/
H A Dhammer2_vfsops.c204 static int hammer2_vfs_fhtovp(struct mount *mp, struct vnode *rootvp,
2809 hammer2_vfs_fhtovp(struct mount *mp, struct vnode *rootvp, in hammer2_vfs_fhtovp() argument
/dragonfly/sys/vfs/ext2fs/
H A Dext2_vfsops.c1444 ext2_fhtovp(struct mount *mp, struct vnode *rootvp, struct fid *fhp, in ext2_fhtovp() argument
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_vfsops.c2776 hammer2_vfs_fhtovp(struct mount *mp, struct m_vnode *rootvp,