Lines Matching defs:root_mnt
4181 struct mount *new_mnt, *root_mnt, *old_mnt, *root_parent, *ex_parent;
4210 root_mnt = real_mount(root.mnt);
4213 root_parent = root_mnt->mnt_parent;
4218 if (!check_mnt(root_mnt) || !check_mnt(new_mnt))
4226 if (new_mnt == root_mnt || old_mnt == root_mnt)
4231 if (!mnt_has_parent(root_mnt))
4245 root_mp = unhash_mnt(root_mnt); /* we'll need its mountpoint */
4246 if (root_mnt->mnt.mnt_flags & MNT_LOCKED) {
4248 root_mnt->mnt.mnt_flags &= ~MNT_LOCKED;
4251 attach_mnt(root_mnt, old_mnt, old_mp, false);