Searched refs:pr_root (Results 1 – 8 of 8) sorted by relevance
449 node->mn_pr_root = cred->cr_prison->pr_root; in mqfs_create_node()824 const void *pr_root; in mqfs_search() local827 pr_root = cred->cr_prison->pr_root; in mqfs_search()830 if ((pn->mn_pr_root == NULL || pn->mn_pr_root == pr_root) && in mqfs_search()1385 const void *pr_root; in mqfs_readdir() local1410 pr_root = ap->a_cred->cr_prison->pr_root; in mqfs_readdir()1420 if (pn->mn_pr_root != NULL && pn->mn_pr_root != pr_root) in mqfs_readdir()1564 struct vnode *pr_root; in mqfs_prison_remove() local1566 pr_root = pr->pr_root; in mqfs_prison_remove()1567 if (pr->pr_parent->pr_root == pr_root) in mqfs_prison_remove()[all …]
1269 root = mypr->pr_root; in kern_jail_set()1707 pr->pr_root = root; in kern_jail_set()1890 (pr->pr_root->v_vflag & VV_ROOT) == 0) in kern_jail_set()2414 vn_lock(pr->pr_root, LK_EXCLUSIVE | LK_RETRY); in do_jail_attach()2415 if ((error = change_dir(pr->pr_root, td)) != 0) in do_jail_attach()2418 if ((error = mac_vnode_check_chroot(td->td_ucred, pr->pr_root))) in do_jail_attach()2421 VOP_UNLOCK(pr->pr_root); in do_jail_attach()2422 if ((error = pwd_chroot_chdir(td, pr->pr_root))) in do_jail_attach()2456 VOP_UNLOCK(pr->pr_root); in do_jail_attach()2883 if (rpr->pr_root != NULL) in prison_deref()[all …]
1108 prison0.pr_root = rootvnode; in vfs_mountroot()1109 vref(prison0.pr_root); in vfs_mountroot()
4257 if (prison0.pr_root == olddp) { in mountcheckdirs()4259 prison0.pr_root = newdp; in mountcheckdirs()4266 if (pr->pr_root == olddp) { in mountcheckdirs()4268 pr->pr_root = newdp; in mountcheckdirs()
1013 if (dp == pr->pr_root) in lookup()
991 vfsp->vfc_prison_flag) || vp == td->td_ucred->cr_prison->pr_root)) { in vfs_domount_first()
5146 if (dvp == pr->pr_root) in cache_fplookup_dotdot()
177 struct vnode *pr_root; /* (c) vnode to rdir */ member