| /linux/fs/ |
| A D | pnode.c | 45 if (m->mnt_ns == ns && is_path_reachable(m, m->mnt.mnt_root, root)) in get_peer_under_root() 101 if (m->mnt.mnt_root == mnt->mnt.mnt_root) { in do_make_slave() 232 if (!is_subdir(dest_mp->m_dentry, m->mnt.mnt_root)) in propagate_one() 260 child = copy_tree(last_source, last_source->mnt.mnt_root, type); in propagate_one() 343 if (child->mnt_mountpoint != mnt->mnt.mnt_root) in find_topper() 386 if (to->mnt.mnt_root != mp->m_dentry) in propagation_would_overmount() 496 if (child->mnt_mountpoint == mnt->mnt.mnt_root) in __propagate_umount() 526 if (child->mnt_mountpoint == mnt->mnt.mnt_root) in umount_list()
|
| A D | proc_namespace.c | 105 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_vfsmnt() 140 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_mountinfo() 145 err = show_path(m, mnt->mnt_root); in show_mountinfo() 176 err = sb->s_op->show_devname(m, mnt->mnt_root); in show_mountinfo() 187 err = sb->s_op->show_options(m, mnt->mnt_root); in show_mountinfo() 197 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_vfsstat()
|
| A D | namespace.c | 1218 mnt->mnt.mnt_root = dget(fc->root); in vfs_create_mount() 1314 mnt->mnt.mnt_root = dget(root); in clone_mnt() 1372 dput(mnt->mnt.mnt_root); in cleanup_mnt() 2670 d_is_dir(mnt->mnt.mnt_root)) in graft_tree() 3086 if (mnt_ns_loop(p->mnt.mnt_root)) in check_for_nsfs_mounts() 3131 if (!is_subdir(to->mnt.mnt_root, from->mnt.mnt_root)) in do_set_group() 3534 m->mnt_root == dentry) { in finish_automount() 3984 while (p->mnt.mnt_root != q->mnt.mnt_root) in copy_mnt_ns() 5056 sm->mnt_root = seq->count; in statmount_string() 5387 orig.dentry = orig.mnt->mnt_root; in do_listmount() [all …]
|
| A D | d_path.c | 110 if (dentry == mnt->mnt.mnt_root) { in __prepend_path() 282 (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root)) in d_path()
|
| A D | internal.h | 338 return path->mnt->mnt_root == path->dentry; in path_mounted()
|
| A D | fsopen.c | 185 if (target.mnt->mnt_root != target.dentry) in SYSCALL_DEFINE3()
|
| A D | namei.c | 664 if (mnt->mnt_root == sb->s_root) in path_connected() 667 return is_subdir(dentry, mnt->mnt_root); in path_connected() 1331 if (mountpoint != m->mnt.mnt_root) { in choose_mountpoint_rcu() 1427 path->dentry = dget(mounted->mnt_root); in __traverse_mounts() 1480 path->dentry = dget(mounted->mnt_root); in follow_down_one() 1535 dentry = path->dentry = mounted->mnt.mnt_root; in __follow_mount_rcu() 1932 if (unlikely(nd->path.dentry == nd->path.mnt->mnt_root)) { in follow_dotdot_rcu() 1972 if (unlikely(nd->path.dentry == nd->path.mnt->mnt_root)) { in follow_dotdot()
|
| /linux/tools/testing/selftests/filesystems/statmount/ |
| A D | statmount_test.c | 399 const char *mnt_root, *last_dir, *last_root; in test_statmount_mnt_root() local 411 mnt_root = sm->str + sm->mnt_root; in test_statmount_mnt_root() 412 last_root = strrchr(mnt_root, '/'); in test_statmount_mnt_root() 416 last_root = mnt_root; in test_statmount_mnt_root() 669 test_statmount_string(STATMOUNT_MNT_ROOT, str_off(mnt_root), "mount root"); in main() 672 test_statmount_string(all_mask, str_off(mnt_root), "mount root & all"); in main()
|
| /linux/kernel/ |
| A D | usermode_driver.c | 72 info->wd.dentry = mnt->mnt_root; in umd_load_blob() 86 info->wd.mnt->mnt_root != info->wd.dentry)) in umd_unload_blob()
|
| A D | audit_tree.c | 673 return inode_to_key(d_backing_inode(mnt->mnt_root)) == in compare_root() 747 return tag_chunk(d_backing_inode(mnt->mnt_root), arg); in tag_mount()
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| A D | mount.h | 173 __u32 mnt_root; /* [str] Root of mount relative to root of fs */ member
|
| /linux/include/uapi/linux/ |
| A D | mount.h | 173 __u32 mnt_root; /* [str] Root of mount relative to root of fs */ member
|
| /linux/security/landlock/ |
| A D | fs.c | 880 if (walker_path.dentry == walker_path.mnt->mnt_root) { in is_access_to_paths_allowed() 992 const struct dentry *const mnt_root, struct dentry *dir, in collect_domain_accesses() argument 998 if (WARN_ON_ONCE(!domain || !mnt_root || !dir || !layer_masks_dom)) in collect_domain_accesses() 1024 if (dir == mnt_root || WARN_ON_ONCE(IS_ROOT(dir))) in collect_domain_accesses() 1143 mnt_dir.dentry = new_dir->mnt->mnt_root; in current_check_refer_path()
|
| /linux/include/linux/ |
| A D | mount.h | 70 struct dentry *mnt_root; /* root of the mounted tree */ member
|
| /linux/fs/overlayfs/ |
| A D | export.c | 493 if (real == layer->mnt->mnt_root) in ovl_lookup_real_ancestor() 509 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real_ancestor() 575 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real()
|
| A D | super.c | 521 if (ovl_inuse_trylock(ovl_upper_mnt(ofs)->mnt_root)) { in ovl_get_upper() 1204 err = ovl_check_layer(sb, ofs, ovl_upper_mnt(ofs)->mnt_root, in ovl_check_overlapping_layers() 1224 ofs->layers[i].mnt->mnt_root, in ovl_check_overlapping_layers()
|
| A D | namei.c | 86 return is_subdir(dentry, ((struct vfsmount *)ctx)->mnt_root); in ovl_acceptable() 371 err = vfs_path_lookup(layer->mnt->mnt_root, layer->mnt, redirect, in ovl_lookup_data_layer()
|
| /linux/fs/configfs/ |
| A D | mount.c | 126 return err ? ERR_PTR(err) : configfs_mount->mnt_root; in configfs_pin_fs()
|
| /linux/fs/devpts/ |
| A D | inode.c | 125 (path->mnt->mnt_root != sb->s_root)) in devpts_ptmx_path() 160 while (path.mnt->mnt_root == path.dentry) in devpts_mntget()
|
| /linux/ipc/ |
| A D | mqueue.c | 898 struct dentry *root = mnt->mnt_root; in do_mq_open() 967 audit_inode_parent_hidden(name, mnt->mnt_root); in SYSCALL_DEFINE1() 971 inode_lock_nested(d_inode(mnt->mnt_root), I_MUTEX_PARENT); in SYSCALL_DEFINE1() 972 dentry = lookup_one_len(name->name, mnt->mnt_root, in SYSCALL_DEFINE1() 990 inode_unlock(d_inode(mnt->mnt_root)); in SYSCALL_DEFINE1()
|
| /linux/security/ |
| A D | inode.c | 126 parent = mount->mnt_root; in securityfs_create_dentry()
|
| /linux/fs/autofs/ |
| A D | dev-ioctl.c | 200 while (path.dentry == path.mnt->mnt_root) { in find_autofs_mount() 619 if (path.mnt->mnt_root == path.dentry) { in autofs_dev_ioctl_ismountpoint()
|
| /linux/fs/debugfs/ |
| A D | inode.c | 334 parent = debugfs_mount->mnt_root; in debugfs_lookup() 372 parent = debugfs_mount->mnt_root; in start_creating()
|
| /linux/security/tomoyo/ |
| A D | tomoyo.c | 428 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in tomoyo_sb_umount()
|
| /linux/fs/cachefiles/ |
| A D | cache.c | 195 .dentry = cache->mnt->mnt_root, in cachefiles_has_space()
|