Searched refs:pr_root (Results 1 – 7 of 7) sorted by relevance
443 node->mn_pr_root = cred->cr_prison->pr_root; in mqfs_create_node()818 const void *pr_root; in mqfs_search() local821 pr_root = cred->cr_prison->pr_root; in mqfs_search()824 if ((pn->mn_pr_root == NULL || pn->mn_pr_root == pr_root) && in mqfs_search()1382 const void *pr_root; in mqfs_readdir() local1407 pr_root = ap->a_cred->cr_prison->pr_root; in mqfs_readdir()1417 if (pn->mn_pr_root != NULL && pn->mn_pr_root != pr_root) in mqfs_readdir()1564 if (tpr->pr_root == pr->pr_root && tpr != pr && tpr->pr_ref > 0) in mqfs_prison_remove()1575 if (pn->mn_pr_root == pr->pr_root) in mqfs_prison_remove()
1227 root = mypr->pr_root; in kern_jail_set()1681 pr->pr_root = root; in kern_jail_set()2413 vn_lock(pr->pr_root, LK_EXCLUSIVE | LK_RETRY); in do_jail_attach()2414 if ((error = change_dir(pr->pr_root, td)) != 0) in do_jail_attach()2417 if ((error = mac_vnode_check_chroot(td->td_ucred, pr->pr_root))) in do_jail_attach()2420 VOP_UNLOCK(pr->pr_root, 0); in do_jail_attach()2421 if ((error = pwd_chroot_chdir(td, pr->pr_root))) in do_jail_attach()2455 VOP_UNLOCK(pr->pr_root, 0); in do_jail_attach()2677 if (pr->pr_root != NULL) in prison_deref()2678 vrele(pr->pr_root); in prison_deref()[all …]
1074 prison0.pr_root = rootvnode; in vfs_mountroot()1075 vref(prison0.pr_root); in vfs_mountroot()
3184 if (prison0.pr_root == olddp) { in mountcheckdirs()3186 prison0.pr_root = newdp; in mountcheckdirs()3193 if (pr->pr_root == olddp) { in mountcheckdirs()3195 pr->pr_root = newdp; in mountcheckdirs()
831 if (dp == pr->pr_root) in lookup()
833 if (vp == td->td_ucred->cr_prison->pr_root) { in vfs_domount_first()
167 struct vnode *pr_root; /* (c) vnode to rdir */ member