| /linux/fs/ |
| H 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()
|
| H A D | namespace.c | 1009 mnt->mnt_mountpoint = mnt->mnt.mnt_root; in __umount_mnt() 1042 if (unlikely(mnt->mnt_mountpoint == parent->mnt.mnt_root)) in make_visible() 1169 m->mnt.mnt_root = dget(root); in setup_mnt() 1170 m->mnt_mountpoint = m->mnt.mnt_root; in setup_mnt() 1326 dput(mnt->mnt.mnt_root); in cleanup_mnt() 2192 is_mnt_ns_file(src_mnt->mnt.mnt_root)) { in copy_tree() 2203 dst_mnt = clone_mnt(src_mnt, src_mnt->mnt.mnt_root, flag); in copy_tree() 2269 res[n].dentry = m->mnt.mnt_root; in collect_paths() 2353 if (mnt_ns_loop(p->mnt.mnt_root)) in check_for_nsfs_mounts() 2579 if (!shorter && is_mnt_ns_file(top->mnt.mnt_root)) in attach_recursive_mnt() [all …]
|
| H A D | pnode.c | 41 if (m->mnt_ns == ns && is_path_reachable(m, m->mnt.mnt_root, root)) in get_peer_under_root() 266 if (!is_subdir(dest_mp->m_dentry, m->mnt.mnt_root)) in need_secondary() 340 this = copy_tree(copy, copy->mnt.mnt_root, type); in propagate_mnt() 402 if (to->mnt.mnt_root != mp->m_dentry) in propagation_would_overmount()
|
| H 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()
|
| H A D | internal.h | 346 return path->mnt->mnt_root == path->dentry; in path_mounted()
|
| H A D | fsopen.c | 191 if (target.mnt->mnt_root != target.dentry) in SYSCALL_DEFINE3()
|
| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 402 const char *mnt_root, *last_dir, *last_root; in test_statmount_mnt_root() local 418 mnt_root = sm->str + sm->mnt_root; in test_statmount_mnt_root() 419 last_root = strrchr(mnt_root, '/'); in test_statmount_mnt_root() 423 last_root = mnt_root; in test_statmount_mnt_root() 688 test_statmount_string(STATMOUNT_MNT_ROOT, str_off(mnt_root), "mount root"); in main() 691 test_statmount_string(all_mask, str_off(mnt_root), "mount root & all"); in main()
|
| /linux/security/landlock/ |
| H A D | fs.c | 900 if (walker_path.dentry == walker_path.mnt->mnt_root) { in is_access_to_paths_allowed() 1034 const struct dentry *const mnt_root, struct dentry *dir, in collect_domain_accesses() argument 1040 if (WARN_ON_ONCE(!domain || !mnt_root || !dir || !layer_masks_dom)) in collect_domain_accesses() 1066 if (dir == mnt_root || WARN_ON_ONCE(IS_ROOT(dir))) in collect_domain_accesses() 1190 mnt_dir.dentry = new_dir->mnt->mnt_root; in current_check_refer_path() 1467 log_fs_change_topology_dentry(subject, handle_layer, mnt->mnt_root); in hook_sb_umount()
|
| /linux/include/linux/ |
| H A D | mount.h | 59 struct dentry *mnt_root; /* root of the mounted tree */ member
|
| /linux/tools/include/uapi/linux/ |
| H A D | mount.h | 173 __u32 mnt_root; /* [str] Root of mount relative to root of fs */ member
|
| /linux/samples/vfs/ |
| H A D | samples-vfs.h | 36 __u32 mnt_root; /* [str] Root of mount relative to root of fs */ member
|
| H A D | test-list-all-mounts.c | 144 (stmnt->mask & STATMOUNT_MNT_ROOT) ? stmnt->str + stmnt->mnt_root : "", in main()
|
| H A D | mountinfo.c | 149 &buf->str[buf->mnt_root], in dump_mountinfo()
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | mount.h | 173 __u32 mnt_root; /* [str] Root of mount relative to root of fs */ member
|
| /linux/include/uapi/linux/ |
| H A D | mount.h | 173 __u32 mnt_root; /* [str] Root of mount relative to root of fs */ member
|
| /linux/fs/overlayfs/ |
| H A D | export.c | 496 if (real == layer->mnt->mnt_root) in ovl_lookup_real_ancestor() 512 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real_ancestor() 578 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real()
|
| H A D | super.c | 549 if (ovl_inuse_trylock(ovl_upper_mnt(ofs)->mnt_root)) { in ovl_get_upper() 1276 err = ovl_check_layer(sb, ofs, ovl_upper_mnt(ofs)->mnt_root, in ovl_check_overlapping_layers() 1296 ofs->layers[i].mnt->mnt_root, in ovl_check_overlapping_layers()
|
| /linux/fs/configfs/ |
| H A D | mount.c | 127 return err ? ERR_PTR(err) : configfs_mount->mnt_root; in configfs_pin_fs()
|
| /linux/fs/devpts/ |
| H A D | inode.c | 126 (path->mnt->mnt_root != sb->s_root)) in devpts_ptmx_path() 161 while (path.mnt->mnt_root == path.dentry) in devpts_mntget()
|
| /linux/security/ |
| H A D | inode.c | 127 parent = mount->mnt_root; in securityfs_create_dentry()
|
| /linux/ipc/ |
| H A D | mqueue.c | 899 struct dentry *root = mnt->mnt_root; in do_mq_open() 968 audit_inode_parent_hidden(name, mnt->mnt_root); in SYSCALL_DEFINE1() 972 inode_lock_nested(d_inode(mnt->mnt_root), I_MUTEX_PARENT); in SYSCALL_DEFINE1() 973 dentry = lookup_noperm(&QSTR(name->name), mnt->mnt_root); in SYSCALL_DEFINE1() 990 inode_unlock(d_inode(mnt->mnt_root)); in SYSCALL_DEFINE1()
|
| /linux/fs/autofs/ |
| H A D | dev-ioctl.c | 200 while (path.dentry == path.mnt->mnt_root) { in find_autofs_mount() 617 if (path.mnt->mnt_root == path.dentry) { in autofs_dev_ioctl_ismountpoint()
|
| /linux/fs/debugfs/ |
| H A D | inode.c | 356 parent = debugfs_mount->mnt_root; in debugfs_lookup() 395 parent = debugfs_mount->mnt_root; in debugfs_start_creating()
|
| /linux/fs/cachefiles/ |
| H A D | cache.c | 195 .dentry = cache->mnt->mnt_root, in cachefiles_has_space()
|
| /linux/security/tomoyo/ |
| H A D | tomoyo.c | 428 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in tomoyo_sb_umount()
|