Lines Matching refs:mnt_parent
497 if (p->mnt_parent == mnt && p->mnt_mountpoint == dentry) { in __lookup_mnt()
574 old_path->mnt = mnt->mnt_parent; in detach_mnt()
575 mnt->mnt_parent = mnt; in detach_mnt()
588 child_mnt->mnt_parent = mntget(mnt); in mnt_set_mountpoint()
626 struct vfsmount *parent = mnt->mnt_parent; in commit_tree()
655 if (next != &p->mnt_parent->mnt_mounts) in next_mnt()
657 p = p->mnt_parent; in next_mnt()
698 mnt->mnt_parent = mnt; in vfs_kern_mount()
726 mnt->mnt_parent = mnt; in clone_mnt()
1042 seq_printf(m, "%i %i %u:%u ", mnt->mnt_id, mnt->mnt_parent->mnt_id, in show_mountinfo()
1212 if (mnt->mnt_parent != mnt) { in release_mounts()
1218 m = mnt->mnt_parent; in release_mounts()
1220 mnt->mnt_parent = mnt; in release_mounts()
1252 if (p->mnt_parent != p) { in umount_tree()
1253 p->mnt_parent->mnt_ghosts++; in umount_tree()
1254 dentry_reset_mounted(p->mnt_parent, p->mnt_mountpoint); in umount_tree()
1449 while (p != s->mnt_parent) { in copy_tree()
1450 p = p->mnt_parent; in copy_tree()
1451 q = q->mnt_parent; in copy_tree()
1897 if (old_path.mnt == old_path.mnt->mnt_parent) in do_move_mount()
1906 if (old_path.mnt->mnt_parent && in do_move_mount()
1907 IS_MNT_SHARED(old_path.mnt->mnt_parent)) in do_move_mount()
1917 for (p = path->mnt; p->mnt_parent != p; p = p->mnt_parent) in do_move_mount()
2168 this_parent = this_parent->mnt_parent; in select_submounts()
2585 IS_MNT_SHARED(new.mnt->mnt_parent) || in SYSCALL_DEFINE2()
2586 IS_MNT_SHARED(root.mnt->mnt_parent)) in SYSCALL_DEFINE2()
2602 if (root.mnt->mnt_parent == root.mnt) in SYSCALL_DEFINE2()
2606 if (new.mnt->mnt_parent == new.mnt) in SYSCALL_DEFINE2()
2612 if (tmp->mnt_parent == tmp) in SYSCALL_DEFINE2()
2614 if (tmp->mnt_parent == new.mnt) in SYSCALL_DEFINE2()
2616 tmp = tmp->mnt_parent; in SYSCALL_DEFINE2()