Home
last modified time | relevance | path

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

/Linux-v4.19/fs/nfs/
Dnfs4super.c132 struct vfsmount *root_mnt; in nfs_do_root_mount() local
145 root_mnt = vfs_kern_mount(fs_type, flags, root_devname, data); in nfs_do_root_mount()
147 return root_mnt; in nfs_do_root_mount()
216 static struct dentry *nfs_follow_remote_path(struct vfsmount *root_mnt, in nfs_follow_remote_path() argument
222 if (IS_ERR(root_mnt)) in nfs_follow_remote_path()
223 return ERR_CAST(root_mnt); in nfs_follow_remote_path()
227 mntput(root_mnt); in nfs_follow_remote_path()
231 dentry = mount_subtree(root_mnt, export_path); in nfs_follow_remote_path()
242 struct vfsmount *root_mnt; in nfs4_try_mount() local
250 root_mnt = nfs_do_root_mount(&nfs4_remote_fs_type, flags, mount_info, in nfs4_try_mount()
[all …]
/Linux-v4.19/kernel/
Daudit_tree.c639 struct vfsmount *root_mnt; in audit_trim_trees() local
653 root_mnt = collect_mounts(&path); in audit_trim_trees()
655 if (IS_ERR(root_mnt)) in audit_trim_trees()
665 root_mnt)) in audit_trim_trees()
670 drop_collected_mounts(root_mnt); in audit_trim_trees()
/Linux-v4.19/fs/
Dnamespace.c3074 struct mount *new_mnt, *root_mnt, *old_mnt; in SYSCALL_DEFINE2() local
3101 root_mnt = real_mount(root.mnt); in SYSCALL_DEFINE2()
3105 IS_MNT_SHARED(root_mnt->mnt_parent)) in SYSCALL_DEFINE2()
3107 if (!check_mnt(root_mnt) || !check_mnt(new_mnt)) in SYSCALL_DEFINE2()
3115 if (new_mnt == root_mnt || old_mnt == root_mnt) in SYSCALL_DEFINE2()
3120 if (!mnt_has_parent(root_mnt)) in SYSCALL_DEFINE2()
3122 root_mp = root_mnt->mnt_mp; in SYSCALL_DEFINE2()
3136 detach_mnt(root_mnt, &root_parent); in SYSCALL_DEFINE2()
3137 if (root_mnt->mnt.mnt_flags & MNT_LOCKED) { in SYSCALL_DEFINE2()
3139 root_mnt->mnt.mnt_flags &= ~MNT_LOCKED; in SYSCALL_DEFINE2()
[all …]