/linux-6.1.9/fs/ |
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() 146 err = sb->s_op->show_path(m, mnt->mnt_root); in show_mountinfo() 150 seq_dentry(m, mnt->mnt_root, " \t\n\\"); in show_mountinfo() 180 err = sb->s_op->show_devname(m, mnt->mnt_root); in show_mountinfo() 191 err = sb->s_op->show_options(m, mnt->mnt_root); in show_mountinfo() 201 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_vfsstat()
|
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() 233 if (!is_subdir(mp->m_dentry, m->mnt.mnt_root)) in propagate_one() 261 child = copy_tree(last_source, last_source->mnt.mnt_root, type); in propagate_one() 345 if (child->mnt_mountpoint != mnt->mnt.mnt_root) in find_topper() 458 if (child->mnt_mountpoint == mnt->mnt.mnt_root) in __propagate_umount() 488 if (child->mnt_mountpoint == mnt->mnt.mnt_root) in umount_list()
|
D | namespace.c | 884 mnt->mnt_mountpoint = mnt->mnt.mnt_root; in unhash_mnt() 1026 mnt->mnt.mnt_root = dget(fc->root); in vfs_create_mount() 1027 mnt->mnt_mountpoint = mnt->mnt.mnt_root; in vfs_create_mount() 1127 mnt->mnt.mnt_root = dget(root); in clone_mnt() 1128 mnt->mnt_mountpoint = mnt->mnt.mnt_root; in clone_mnt() 1185 dput(mnt->mnt.mnt_root); in cleanup_mnt() 1783 if (path->dentry != path->mnt->mnt_root) in can_umount() 1911 is_mnt_ns_file(s->mnt.mnt_root)) { in copy_tree() 1921 q = clone_mnt(p, p->mnt.mnt_root, flag); in copy_tree() 2214 smp = get_mountpoint(source_mnt->mnt.mnt_root); in attach_recursive_mnt() [all …]
|
D | d_path.c | 109 if (dentry == mnt->mnt.mnt_root) { in __prepend_path() 281 (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root)) in d_path()
|
D | fsopen.c | 186 if (target.mnt->mnt_root != target.dentry) in SYSCALL_DEFINE3()
|
D | namei.c | 652 if (mnt->mnt_root == sb->s_root) in path_connected() 655 return is_subdir(dentry, mnt->mnt_root); in path_connected() 1300 if (mountpoint != m->mnt.mnt_root) { in choose_mountpoint_rcu() 1396 path->dentry = dget(mounted->mnt_root); in __traverse_mounts() 1449 path->dentry = dget(mounted->mnt_root); in follow_down_one() 1504 dentry = path->dentry = mounted->mnt.mnt_root; in __follow_mount_rcu() 1872 if (unlikely(nd->path.dentry == nd->path.mnt->mnt_root)) { in follow_dotdot_rcu() 1912 if (unlikely(nd->path.dentry == nd->path.mnt->mnt_root)) { in follow_dotdot()
|
D | stat.c | 238 if (path.mnt->mnt_root == path.dentry) in vfs_statx()
|
/linux-6.1.9/kernel/ |
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()
|
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-6.1.9/security/landlock/ |
D | fs.c | 597 if (walker_path.dentry == walker_path.mnt->mnt_root) { in check_access_path_dual() 723 const struct dentry *const mnt_root, struct dentry *dir, in collect_domain_accesses() argument 729 if (WARN_ON_ONCE(!domain || !mnt_root || !dir || !layer_masks_dom)) in collect_domain_accesses() 753 if (dir == mnt_root || WARN_ON_ONCE(IS_ROOT(dir))) in collect_domain_accesses() 871 mnt_dir.dentry = new_dir->mnt->mnt_root; in current_check_refer_path()
|
/linux-6.1.9/fs/btrfs/ |
D | super.c | 1875 struct vfsmount *mnt_root; in btrfs_mount() local 1889 mnt_root = vfs_kern_mount(&btrfs_root_fs_type, flags, device_name, data); in btrfs_mount() 1890 if (PTR_ERR_OR_ZERO(mnt_root) == -EBUSY) { in btrfs_mount() 1892 mnt_root = vfs_kern_mount(&btrfs_root_fs_type, in btrfs_mount() 1895 mnt_root = vfs_kern_mount(&btrfs_root_fs_type, in btrfs_mount() 1897 if (IS_ERR(mnt_root)) { in btrfs_mount() 1898 root = ERR_CAST(mnt_root); in btrfs_mount() 1903 down_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount() 1904 error = btrfs_remount(mnt_root->mnt_sb, &flags, NULL); in btrfs_mount() 1905 up_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount() [all …]
|
/linux-6.1.9/include/linux/ |
D | mount.h | 70 struct dentry *mnt_root; /* root of the mounted tree */ member
|
/linux-6.1.9/fs/configfs/ |
D | mount.c | 126 return err ? ERR_PTR(err) : configfs_mount->mnt_root; in configfs_pin_fs()
|
/linux-6.1.9/fs/overlayfs/ |
D | export.c | 505 if (real == layer->mnt->mnt_root) in ovl_lookup_real_ancestor() 521 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real_ancestor() 587 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real()
|
D | super.c | 237 ovl_inuse_unlock(ovl_upper_mnt(ofs)->mnt_root); in ovl_free_fs() 1260 if (ovl_inuse_trylock(ovl_upper_mnt(ofs)->mnt_root)) { in ovl_get_upper() 1921 err = ovl_check_layer(sb, ofs, ovl_upper_mnt(ofs)->mnt_root, in ovl_check_overlapping_layers() 1941 ofs->layers[i].mnt->mnt_root, in ovl_check_overlapping_layers()
|
/linux-6.1.9/security/ |
D | inode.c | 126 parent = mount->mnt_root; in securityfs_create_dentry()
|
/linux-6.1.9/fs/devpts/ |
D | inode.c | 144 (path->mnt->mnt_root != sb->s_root)) in devpts_ptmx_path() 179 while (path.mnt->mnt_root == path.dentry) in devpts_mntget()
|
/linux-6.1.9/fs/autofs/ |
D | dev-ioctl.c | 195 while (path.dentry == path.mnt->mnt_root) { in find_autofs_mount() 533 if (path.mnt->mnt_root == path.dentry) { in autofs_dev_ioctl_ismountpoint()
|
/linux-6.1.9/ipc/ |
D | mqueue.c | 897 struct dentry *root = mnt->mnt_root; in do_mq_open() 965 audit_inode_parent_hidden(name, mnt->mnt_root); in SYSCALL_DEFINE1() 969 inode_lock_nested(d_inode(mnt->mnt_root), I_MUTEX_PARENT); in SYSCALL_DEFINE1() 970 dentry = lookup_one_len(name->name, mnt->mnt_root, in SYSCALL_DEFINE1() 988 inode_unlock(d_inode(mnt->mnt_root)); in SYSCALL_DEFINE1()
|
/linux-6.1.9/fs/debugfs/ |
D | inode.c | 331 parent = debugfs_mount->mnt_root; in debugfs_lookup() 369 parent = debugfs_mount->mnt_root; in start_creating()
|
/linux-6.1.9/fs/cachefiles/ |
D | cache.c | 192 .dentry = cache->mnt->mnt_root, in cachefiles_has_space()
|
/linux-6.1.9/security/tomoyo/ |
D | tomoyo.c | 414 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in tomoyo_sb_umount()
|
/linux-6.1.9/fs/tracefs/ |
D | inode.c | 420 parent = tracefs_mount->mnt_root; in start_creating()
|
/linux-6.1.9/security/apparmor/ |
D | mount.c | 618 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in aa_umount()
|
/linux-6.1.9/fs/ext4/ |
D | file.c | 835 path.dentry = mnt->mnt_root; in ext4_sample_last_mounted()
|