/dragonfly/sys/vfs/nullfs/ |
H A D | null_vfsops.c | 80 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 D | cd9660_vfsops.c | 78 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 D | vfs_mount.c | 1073 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 D | vfs_vfsops.c | 235 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 D | vfs_default.c | 1564 vfs_stdfhtovp(struct mount *mp, struct vnode *rootvp, in vfs_stdfhtovp() argument
|
/dragonfly/usr.sbin/makefs/ |
H A D | msdos.c | 150 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 D | ntfs_vfsops.c | 82 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 D | hammer_vfsops.c | 247 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 D | devfs_vfsops.c | 61 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 D | ffs_vfsops.c | 142 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 D | ufs_vfsops.c | 203 ufs_fhtovp(struct mount *mp, struct vnode *rootvp, in ufs_fhtovp() argument
|
/dragonfly/sys/sys/ |
H A D | mount.h | 563 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 D | dirfs_vfsops.c | 282 dirfs_fhtovp(struct mount *mp, struct vnode *rootvp, struct fid *fhp, struct vnode **vpp) in dirfs_fhtovp() argument
|
/dragonfly/sys/vfs/tmpfs/ |
H A D | tmpfs_vfsops.c | 435 tmpfs_fhtovp(struct mount *mp, struct vnode *rootvp, struct fid *fhp, in tmpfs_fhtovp() argument
|
/dragonfly/sys/vfs/hpfs/ |
H A D | hpfs_vfsops.c | 424 hpfs_fhtovp(struct mount *mp, struct vnode *rootvp, in hpfs_fhtovp() argument
|
/dragonfly/sys/vfs/udf/ |
H A D | udf_vfsops.c | 592 udf_fhtovp(struct mount *mp, struct vnode *rootvp, in udf_fhtovp() argument
|
/dragonfly/sys/vfs/msdosfs/ |
H A D | msdosfs_vfsops.c | 848 msdosfs_fhtovp(struct mount *mp, struct vnode *rootvp, in msdosfs_fhtovp() argument
|
/dragonfly/sys/vfs/hammer2/ |
H A D | hammer2_vfsops.c | 204 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 D | ext2_vfsops.c | 1444 ext2_fhtovp(struct mount *mp, struct vnode *rootvp, struct fid *fhp, in ext2_fhtovp() argument
|
/dragonfly/usr.sbin/makefs/hammer2/ |
H A D | hammer2_vfsops.c | 2776 hammer2_vfs_fhtovp(struct mount *mp, struct m_vnode *rootvp,
|