Home
last modified time | relevance | path

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

/freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvnode.h71 #define rootvfs (rootvnode == NULL ? NULL : rootvnode->v_mount)
H A Dvfs.h36 #define rootdir rootvnode
/freebsd-13.1/sys/kern/
H A Dvfs_mountroot.c102 struct vnode *rootvnode; variable
241 if (VFS_ROOT(TAILQ_FIRST(&mountlist), LK_EXCLUSIVE, &rootvnode)) in set_rootvnode()
244 VOP_UNLOCK(rootvnode); in set_rootvnode()
348 cache_purgevfs(rootvnode->v_mount); in vfs_mountroot_shuffle()
1111 prison0.pr_root = rootvnode; in vfs_mountroot()
H A Dkern_descrip.c4022 oldpwd->pwd_rdir != rootvnode)) { in pwd_chroot()
4126 vrefact(rootvnode); in pwd_ensure_dirs()
4127 newpwd->pwd_cdir = rootvnode; in pwd_ensure_dirs()
4130 vrefact(rootvnode); in pwd_ensure_dirs()
4131 newpwd->pwd_rdir = rootvnode; in pwd_ensure_dirs()
4149 vrefact(rootvnode); in pwd_set_rootvnode()
4150 newpwd->pwd_cdir = rootvnode; in pwd_set_rootvnode()
4151 vrefact(rootvnode); in pwd_set_rootvnode()
4152 newpwd->pwd_rdir = rootvnode; in pwd_set_rootvnode()
4214 if (rootvnode == olddp) { in mountcheckdirs()
[all …]
H A Dsubr_firmware.c466 if (rootvnode != NULL) { in firmware_modevent()
H A Dvfs_mount.c1931 if (rootvnode != NULL && mp == rootvnode->v_mount) { in dounmount()
1932 vrele(rootvnode); in dounmount()
1933 rootvnode = NULL; in dounmount()
H A Dkern_shutdown.c555 oldrootvnode = rootvnode; in kern_reroot()
579 mountcheckdirs(oldrootvnode, rootvnode); in kern_reroot()
H A Dvfs_cache.c3205 error = vn_fullpath_any_smr(vp, rootvnode, buf, retbuf, &buflen, 0); in vn_fullpath_global()
3208 error = vn_fullpath_any(vp, rootvnode, buf, retbuf, &buflen); in vn_fullpath_global()
3334 while (vp != rdir && vp != rootvnode) { in vn_fullpath_dir()
3461 if (vp == rdir || vp == rootvnode) { in vn_fullpath_any_smr()
3546 if (vp == rdir || vp == rootvnode) in vn_fullpath_any_smr()
3807 if (vp == rootvnode) { in db_print_vpath()
5033 dvp == rootvnode || in cache_fplookup_dotdot()
H A Dvfs_lookup.c1018 dp == rootvnode || in lookup()
H A Dkern_linker.c2131 if (rootvnode == NULL) in linker_root_mounted()
/freebsd-13.1/sys/cddl/compat/opensolaris/sys/
H A Dvfs.h39 #define rootdir rootvnode
/freebsd-13.1/sys/sys/
H A Dvnode.h451 extern struct vnode *rootvnode; /* root (i.e. "/") vnode */
/freebsd-13.1/sys/dev/xen/blkback/
H A Dblkback.c2674 if (rootvnode == NULL) { in xbb_open_backend()
/freebsd-13.1/sys/cam/ctl/
H A Dctl_backend_block.c2113 if (rootvnode == NULL) { in ctl_be_block_open()
/freebsd-13.1/sys/fs/nfsserver/
H A Dnfs_nfsdport.c645 dp = rootvnode; in nfsvno_namei()
665 ndp->ni_rootdir = rootvnode; in nfsvno_namei()
H A Dnfs_nfsdserv.c312 vp != rootvnode) { in nfsrvd_getattr()