Home
last modified time | relevance | path

Searched refs:mnt_root (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.3-rc2/fs/
A Dproc_namespace.c105 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()
A Dpnode.c45 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()
A Dnamespace.c1022 mnt->mnt.mnt_root = dget(fc->root); in vfs_create_mount()
1118 mnt->mnt.mnt_root = dget(root); in clone_mnt()
1176 dput(mnt->mnt.mnt_root); in cleanup_mnt()
2336 d_is_dir(mnt->mnt.mnt_root)) in graft_tree()
2743 if (mnt_ns_loop(p->mnt.mnt_root)) in check_for_nsfs_mounts()
2788 if (!is_subdir(to->mnt.mnt_root, from->mnt.mnt_root)) in do_set_group()
3069 m->mnt_root == dentry) { in finish_automount()
3521 while (p->mnt.mnt_root != q->mnt.mnt_root) in copy_mnt_ns()
3552 err = vfs_path_lookup(m->mnt_root, m, in mount_subtree()
3927 if (new.mnt->mnt_root != new.dentry) in SYSCALL_DEFINE2()
[all …]
A Dd_path.c109 if (dentry == mnt->mnt.mnt_root) { in __prepend_path()
281 (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root)) in d_path()
A Dfsopen.c186 if (target.mnt->mnt_root != target.dentry) in SYSCALL_DEFINE3()
A Dnamei.c653 if (mnt->mnt_root == sb->s_root) in path_connected()
656 return is_subdir(dentry, mnt->mnt_root); in path_connected()
1301 if (mountpoint != m->mnt.mnt_root) { in choose_mountpoint_rcu()
1397 path->dentry = dget(mounted->mnt_root); in __traverse_mounts()
1450 path->dentry = dget(mounted->mnt_root); in follow_down_one()
1505 dentry = path->dentry = mounted->mnt.mnt_root; in __follow_mount_rcu()
1873 if (unlikely(nd->path.dentry == nd->path.mnt->mnt_root)) { in follow_dotdot_rcu()
1913 if (unlikely(nd->path.dentry == nd->path.mnt->mnt_root)) { in follow_dotdot()
A Dstat.c247 if (path.mnt->mnt_root == path.dentry) in vfs_statx()
/linux-6.3-rc2/kernel/
A Dusermode_driver.c72 info->wd.dentry = mnt->mnt_root; in umd_load_blob()
86 info->wd.mnt->mnt_root != info->wd.dentry)) in umd_unload_blob()
A Daudit_tree.c673 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.3-rc2/fs/btrfs/
A Dsuper.c1567 struct vfsmount *mnt_root; in btrfs_mount() local
1582 if (PTR_ERR_OR_ZERO(mnt_root) == -EBUSY) { in btrfs_mount()
1584 mnt_root = vfs_kern_mount(&btrfs_root_fs_type, in btrfs_mount()
1587 mnt_root = vfs_kern_mount(&btrfs_root_fs_type, in btrfs_mount()
1589 if (IS_ERR(mnt_root)) { in btrfs_mount()
1590 root = ERR_CAST(mnt_root); in btrfs_mount()
1595 down_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
1597 up_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
1600 mntput(mnt_root); in btrfs_mount()
1606 if (IS_ERR(mnt_root)) { in btrfs_mount()
[all …]
/linux-6.3-rc2/security/landlock/
A Dfs.c607 if (walker_path.dentry == walker_path.mnt->mnt_root) { in is_access_to_paths_allowed()
719 const struct dentry *const mnt_root, struct dentry *dir, in collect_domain_accesses() argument
725 if (WARN_ON_ONCE(!domain || !mnt_root || !dir || !layer_masks_dom)) in collect_domain_accesses()
749 if (dir == mnt_root || WARN_ON_ONCE(IS_ROOT(dir))) in collect_domain_accesses()
868 mnt_dir.dentry = new_dir->mnt->mnt_root; in current_check_refer_path()
/linux-6.3-rc2/include/linux/
A Dmount.h71 struct dentry *mnt_root; /* root of the mounted tree */ member
/linux-6.3-rc2/fs/overlayfs/
A Dexport.c505 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()
A Dsuper.c237 ovl_inuse_unlock(ovl_upper_mnt(ofs)->mnt_root); in ovl_free_fs()
1165 if (ovl_inuse_trylock(ovl_upper_mnt(ofs)->mnt_root)) { in ovl_get_upper()
1826 err = ovl_check_layer(sb, ofs, ovl_upper_mnt(ofs)->mnt_root, in ovl_check_overlapping_layers()
1846 ofs->layers[i].mnt->mnt_root, in ovl_check_overlapping_layers()
/linux-6.3-rc2/fs/configfs/
A Dmount.c126 return err ? ERR_PTR(err) : configfs_mount->mnt_root; in configfs_pin_fs()
/linux-6.3-rc2/security/
A Dinode.c126 parent = mount->mnt_root; in securityfs_create_dentry()
/linux-6.3-rc2/fs/devpts/
A Dinode.c144 (path->mnt->mnt_root != sb->s_root)) in devpts_ptmx_path()
179 while (path.mnt->mnt_root == path.dentry) in devpts_mntget()
/linux-6.3-rc2/ipc/
A Dmqueue.c897 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.3-rc2/fs/autofs/
A Ddev-ioctl.c195 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.3-rc2/fs/debugfs/
A Dinode.c331 parent = debugfs_mount->mnt_root; in debugfs_lookup()
369 parent = debugfs_mount->mnt_root; in start_creating()
/linux-6.3-rc2/fs/cachefiles/
A Dcache.c192 .dentry = cache->mnt->mnt_root, in cachefiles_has_space()
/linux-6.3-rc2/security/tomoyo/
A Dtomoyo.c426 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in tomoyo_sb_umount()
/linux-6.3-rc2/fs/tracefs/
A Dinode.c420 parent = tracefs_mount->mnt_root; in start_creating()
/linux-6.3-rc2/security/apparmor/
A Dmount.c607 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in aa_umount()
/linux-6.3-rc2/fs/ext4/
A Dfile.c845 path.dentry = mnt->mnt_root; in ext4_sample_last_mounted()

Completed in 66 milliseconds

12