Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/nfs/
A Dnfs4super.c149 struct vfsmount *root_mnt; in do_nfs4_mount() local
194 root_mnt = fc_mount(root_fc); in do_nfs4_mount()
197 if (IS_ERR(root_mnt)) in do_nfs4_mount()
198 return PTR_ERR(root_mnt); in do_nfs4_mount()
202 mntput(root_mnt); in do_nfs4_mount()
206 dentry = mount_subtree(root_mnt, export_path); in do_nfs4_mount()
/linux-6.3-rc2/kernel/
A Daudit_tree.c686 struct vfsmount *root_mnt; in audit_trim_trees() local
699 root_mnt = collect_mounts(&path); in audit_trim_trees()
701 if (IS_ERR(root_mnt)) in audit_trim_trees()
711 root_mnt)) in audit_trim_trees()
716 drop_collected_mounts(root_mnt); in audit_trim_trees()
/linux-6.3-rc2/fs/
A Dnamespace.c3875 struct mount *new_mnt, *root_mnt, *old_mnt, *root_parent, *ex_parent; in SYSCALL_DEFINE2() local
3904 root_mnt = real_mount(root.mnt); in SYSCALL_DEFINE2()
3907 root_parent = root_mnt->mnt_parent; in SYSCALL_DEFINE2()
3912 if (!check_mnt(root_mnt) || !check_mnt(new_mnt)) in SYSCALL_DEFINE2()
3920 if (new_mnt == root_mnt || old_mnt == root_mnt) in SYSCALL_DEFINE2()
3925 if (!mnt_has_parent(root_mnt)) in SYSCALL_DEFINE2()
3939 root_mp = unhash_mnt(root_mnt); /* we'll need its mountpoint */ in SYSCALL_DEFINE2()
3940 if (root_mnt->mnt.mnt_flags & MNT_LOCKED) { in SYSCALL_DEFINE2()
3942 root_mnt->mnt.mnt_flags &= ~MNT_LOCKED; in SYSCALL_DEFINE2()
3945 attach_mnt(root_mnt, old_mnt, old_mp); in SYSCALL_DEFINE2()

Completed in 15 milliseconds