Home
last modified time | relevance | path

Searched refs:root_mnt (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/fs/nfs/
Dnfs4super.c133 struct vfsmount *root_mnt; in nfs_do_root_mount() local
146 root_mnt = vfs_kern_mount(fs_type, flags, root_devname, data); in nfs_do_root_mount()
148 return root_mnt; in nfs_do_root_mount()
217 static struct dentry *nfs_follow_remote_path(struct vfsmount *root_mnt, in nfs_follow_remote_path() argument
223 if (IS_ERR(root_mnt)) in nfs_follow_remote_path()
224 return ERR_CAST(root_mnt); in nfs_follow_remote_path()
228 mntput(root_mnt); in nfs_follow_remote_path()
232 dentry = mount_subtree(root_mnt, export_path); in nfs_follow_remote_path()
243 struct vfsmount *root_mnt; in nfs4_try_mount() local
251 root_mnt = nfs_do_root_mount(&nfs4_remote_fs_type, flags, mount_info, in nfs4_try_mount()
[all …]
/Linux-v5.4/kernel/
Daudit_tree.c688 struct vfsmount *root_mnt; in audit_trim_trees() local
702 root_mnt = collect_mounts(&path); in audit_trim_trees()
704 if (IS_ERR(root_mnt)) in audit_trim_trees()
714 root_mnt)) in audit_trim_trees()
719 drop_collected_mounts(root_mnt); in audit_trim_trees()
/Linux-v5.4/fs/
Dnamespace.c3620 struct mount *new_mnt, *root_mnt, *old_mnt, *root_parent, *ex_parent; in SYSCALL_DEFINE2() local
3649 root_mnt = real_mount(root.mnt); in SYSCALL_DEFINE2()
3652 root_parent = root_mnt->mnt_parent; in SYSCALL_DEFINE2()
3657 if (!check_mnt(root_mnt) || !check_mnt(new_mnt)) in SYSCALL_DEFINE2()
3665 if (new_mnt == root_mnt || old_mnt == root_mnt) in SYSCALL_DEFINE2()
3670 if (!mnt_has_parent(root_mnt)) in SYSCALL_DEFINE2()
3684 root_mp = unhash_mnt(root_mnt); /* we'll need its mountpoint */ in SYSCALL_DEFINE2()
3685 if (root_mnt->mnt.mnt_flags & MNT_LOCKED) { in SYSCALL_DEFINE2()
3687 root_mnt->mnt.mnt_flags &= ~MNT_LOCKED; in SYSCALL_DEFINE2()
3690 attach_mnt(root_mnt, old_mnt, old_mp); in SYSCALL_DEFINE2()