/kernel/linux/linux-5.10/fs/ |
D | proc_namespace.c | 102 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_vfsmnt() 137 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_mountinfo() 143 err = sb->s_op->show_path(m, mnt->mnt_root); in show_mountinfo() 147 seq_dentry(m, mnt->mnt_root, " \t\n\\"); in show_mountinfo() 177 err = sb->s_op->show_devname(m, mnt->mnt_root); in show_mountinfo() 188 err = sb->s_op->show_options(m, mnt->mnt_root); in show_mountinfo() 198 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 | 825 mnt->mnt_mountpoint = mnt->mnt.mnt_root; in unhash_mnt() 966 mnt->mnt.mnt_root = dget(fc->root); in vfs_create_mount() 967 mnt->mnt_mountpoint = mnt->mnt.mnt_root; in vfs_create_mount() 1060 mnt->mnt.mnt_root = dget(root); in clone_mnt() 1061 mnt->mnt_mountpoint = mnt->mnt.mnt_root; in clone_mnt() 1118 dput(mnt->mnt.mnt_root); in cleanup_mnt() 1723 if (path->dentry != path->mnt->mnt_root) in can_umount() 1851 is_mnt_ns_file(s->mnt.mnt_root)) { in copy_tree() 1861 q = clone_mnt(p, p->mnt.mnt_root, flag); in copy_tree() 2152 smp = get_mountpoint(source_mnt->mnt.mnt_root); in attach_recursive_mnt() [all …]
|
D | d_path.c | 103 if (dentry == vfsmnt->mnt_root || IS_ROOT(dentry)) { in prepend_path() 108 if (dentry != vfsmnt->mnt_root) { in prepend_path() 280 (!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 | 577 if (mnt->mnt_root == sb->s_root) in path_connected() 580 return is_subdir(dentry, mnt->mnt_root); in path_connected() 1141 if (mountpoint != m->mnt.mnt_root) { in choose_mountpoint_rcu() 1237 path->dentry = dget(mounted->mnt_root); in __traverse_mounts() 1290 path->dentry = dget(mounted->mnt_root); in follow_down_one() 1346 dentry = path->dentry = mounted->mnt.mnt_root; in __follow_mount_rcu() 1729 if (unlikely(nd->path.dentry == nd->path.mnt->mnt_root)) { in follow_dotdot_rcu() 1769 if (unlikely(nd->path.dentry == nd->path.mnt->mnt_root)) { in follow_dotdot()
|
D | stat.c | 200 if (path.mnt->mnt_root == path.dentry) in vfs_statx()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | super.c | 1718 struct vfsmount *mnt_root; in btrfs_mount() local 1732 mnt_root = vfs_kern_mount(&btrfs_root_fs_type, flags, device_name, data); in btrfs_mount() 1733 if (PTR_ERR_OR_ZERO(mnt_root) == -EBUSY) { in btrfs_mount() 1735 mnt_root = vfs_kern_mount(&btrfs_root_fs_type, in btrfs_mount() 1738 mnt_root = vfs_kern_mount(&btrfs_root_fs_type, in btrfs_mount() 1740 if (IS_ERR(mnt_root)) { in btrfs_mount() 1741 root = ERR_CAST(mnt_root); in btrfs_mount() 1746 down_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount() 1747 error = btrfs_remount(mnt_root->mnt_sb, &flags, NULL); in btrfs_mount() 1748 up_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | mount.h | 72 struct dentry *mnt_root; /* root of the mounted tree */ member
|
/kernel/linux/linux-5.10/fs/configfs/ |
D | mount.c | 128 return err ? ERR_PTR(err) : configfs_mount->mnt_root; in configfs_pin_fs()
|
/kernel/linux/linux-5.10/fs/overlayfs/ |
D | export.c | 498 if (real == layer->mnt->mnt_root) in ovl_lookup_real_ancestor() 514 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real_ancestor() 580 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real()
|
D | super.c | 230 ovl_inuse_unlock(ovl_upper_mnt(ofs)->mnt_root); in ovl_free_fs() 1166 if (ovl_inuse_trylock(ovl_upper_mnt(ofs)->mnt_root)) { in ovl_get_upper() 1804 err = ovl_check_layer(sb, ofs, ovl_upper_mnt(ofs)->mnt_root, in ovl_check_overlapping_layers() 1824 ofs->layers[i].mnt->mnt_root, in ovl_check_overlapping_layers()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | nfs4file.c | 331 server = NFS_SERVER(ss_mnt->mnt_root->d_inode); in __nfs42_ssc_open() 348 r_ino = nfs_fhget(ss_mnt->mnt_root->d_inode->i_sb, src_fh, &fattr, in __nfs42_ssc_open()
|
/kernel/linux/linux-5.10/fs/tracefs/ |
D | inode.c | 265 set_gid(tracefs_mount->mnt_root, gid); in tracefs_parse_options() 402 parent = tracefs_mount->mnt_root; in start_creating()
|
/kernel/linux/linux-5.10/security/ |
D | inode.c | 126 parent = mount->mnt_root; in securityfs_create_dentry()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/ipc/ |
D | mqueue.c | 883 struct dentry *root = mnt->mnt_root; in do_mq_open() 951 audit_inode_parent_hidden(name, mnt->mnt_root); in SYSCALL_DEFINE1() 955 inode_lock_nested(d_inode(mnt->mnt_root), I_MUTEX_PARENT); in SYSCALL_DEFINE1() 956 dentry = lookup_one_len(name->name, mnt->mnt_root, in SYSCALL_DEFINE1() 973 inode_unlock(d_inode(mnt->mnt_root)); in SYSCALL_DEFINE1()
|
/kernel/linux/linux-5.10/fs/autofs/ |
D | dev-ioctl.c | 194 while (path.dentry == path.mnt->mnt_root) { in find_autofs_mount() 532 if (path.mnt->mnt_root == path.dentry) { in autofs_dev_ioctl_ismountpoint()
|
/kernel/linux/linux-5.10/fs/debugfs/ |
D | inode.c | 307 parent = debugfs_mount->mnt_root; in debugfs_lookup() 345 parent = debugfs_mount->mnt_root; in start_creating()
|
/kernel/linux/linux-5.10/security/tomoyo/ |
D | tomoyo.c | 407 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in tomoyo_sb_umount()
|
/kernel/linux/linux-5.10/fs/cachefiles/ |
D | daemon.c | 677 .dentry = cache->mnt->mnt_root, in cachefiles_has_space()
|
/kernel/linux/linux-5.10/security/apparmor/ |
D | mount.c | 618 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in aa_umount()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | file.c | 815 path.dentry = mnt->mnt_root; in ext4_sample_last_mounted()
|