Home
last modified time | relevance | path

Searched refs:rootvnode (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvnode.h77 #define rootvfs (rootvnode == NULL ? NULL : rootvnode->v_mount)
H A Dvfs.h36 #define rootdir rootvnode
/freebsd/sys/kern/
H A Dvfs_mountroot.c98 struct vnode *rootvnode; variable
237 if (VFS_ROOT(TAILQ_FIRST(&mountlist), LK_EXCLUSIVE, &rootvnode)) in set_rootvnode()
240 VOP_UNLOCK(rootvnode); in set_rootvnode()
344 cache_purgevfs(rootvnode->v_mount); in vfs_mountroot_shuffle()
1108 prison0.pr_root = rootvnode; in vfs_mountroot()
H A Dkern_descrip.c4147 vrefact(rootvnode); in pwd_ensure_dirs()
4151 vrefact(rootvnode); in pwd_ensure_dirs()
4155 vrefact(rootvnode); in pwd_ensure_dirs()
4174 vrefact(rootvnode); in pwd_set_rootvnode()
4175 newpwd->pwd_cdir = rootvnode; in pwd_set_rootvnode()
4176 vrefact(rootvnode); in pwd_set_rootvnode()
4177 newpwd->pwd_rdir = rootvnode; in pwd_set_rootvnode()
4178 vrefact(rootvnode); in pwd_set_rootvnode()
4179 newpwd->pwd_adir = rootvnode; in pwd_set_rootvnode()
4246 if (rootvnode == olddp) { in mountcheckdirs()
[all …]
H A Dsubr_firmware.c619 if (rootvnode != NULL) { in firmware_modevent()
H A Dkern_shutdown.c603 oldrootvnode = rootvnode; in kern_reroot()
627 mountcheckdirs(oldrootvnode, rootvnode); in kern_reroot()
H A Dvfs_cache.c3340 error = vn_fullpath_any_smr(vp, rootvnode, buf, retbuf, &buflen, 0); in vn_fullpath_global()
3343 error = vn_fullpath_any(vp, rootvnode, buf, retbuf, &buflen); in vn_fullpath_global()
3469 while (vp != rdir && vp != rootvnode) { in vn_fullpath_dir()
3589 if (vp == rdir || vp == rootvnode) { in vn_fullpath_any_smr()
3674 if (vp == rdir || vp == rootvnode) in vn_fullpath_any_smr()
3993 if (vp == rootvnode) { in db_print_vpath()
5269 dvp == rootvnode || in cache_fplookup_dotdot()
H A Dvfs_mount.c2352 * undo all the cdir/rdir and rootvnode changes we made above. in dounmount()
2405 if (rootvnode != NULL && mp == rootvnode->v_mount) { in dounmount()
2406 vrele(rootvnode); in dounmount()
2407 rootvnode = NULL; in dounmount()
H A Dvfs_lookup.c1213 dp == ndp->ni_topdir || dp == rootvnode || in vfs_lookup()
H A Dkern_linker.c2214 if (rootvnode == NULL) in linker_root_mounted()
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Dvfs.h37 #define rootdir rootvnode
/freebsd/sys/sys/
H A Dvnode.h450 extern struct vnode *rootvnode; /* root (i.e. "/") vnode */
/freebsd/sys/dev/xen/blkback/
H A Dblkback.c2512 if (rootvnode == NULL) { in xbb_open_backend()
/freebsd/sys/ufs/ffs/
H A Dffs_vfsops.c302 if (ump->um_mountp == rootvnode->v_mount) in ffs_fsfail_cleanup_locked()
/freebsd/sys/cam/ctl/
H A Dctl_backend_block.c2541 if (rootvnode == NULL) { in ctl_be_block_open()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdport.c662 dp = rootvnode; in nfsvno_namei()
681 ndp->ni_rootdir = rootvnode; in nfsvno_namei()
H A Dnfs_nfsdserv.c313 vp != rootvnode) { in nfsrvd_getattr()