Lines Matching refs:pr_root
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()
3002 if (pr->pr_root->v_mount == mp) in prison_canseemount()
3043 if (pr->pr_root->v_mount == mp) { in prison_enforce_statfs()
4079 db_printf(" root = %p\n", pr->pr_root); in db_show_prison()