| /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/fs/ |
| 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 | 348 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()
|
| H A D | nsfs.c | 663 nsfs_root_path.dentry = nsfs_mnt->mnt_root; in nsfs_init()
|
| /linux/security/landlock/ |
| H A D | fs.c | 900 if (walker_path.dentry == walker_path.mnt->mnt_root) { in is_access_to_paths_allowed() 930 walker_path.dentry = walker_path.mnt->mnt_root; in is_access_to_paths_allowed() 1049 const struct dentry *const mnt_root, struct dentry *dir, in collect_domain_accesses() argument 1055 if (WARN_ON_ONCE(!domain || !mnt_root || !dir || !layer_masks_dom)) in collect_domain_accesses() 1084 if (dir == mnt_root || unlikely(IS_ROOT(dir))) in collect_domain_accesses() 1208 mnt_dir.dentry = new_dir->mnt->mnt_root; in current_check_refer_path() 1484 log_fs_change_topology_dentry(subject, handle_layer, mnt->mnt_root); in hook_sb_umount()
|
| /linux/tools/include/uapi/linux/ |
| H A D | mount.h | 173 __u32 mnt_root; /* [str] Root of mount relative to root of fs */ member 216 #define STATMOUNT_MNT_ROOT 0x00000008U /* Want/got mnt_root */
|
| /linux/include/linux/ |
| H A D | mount.h | 59 struct dentry *mnt_root; /* root of the mounted tree */ 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/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/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/samples/vfs/ |
| H A D | mountinfo.c | 149 &buf->str[buf->mnt_root], in dump_mountinfo()
|
| /linux/security/ |
| H A D | inode.c | 129 parent = mount->mnt_root; in securityfs_create_dentry()
|
| /linux/fs/autofs/ |
| H A D | dev-ioctl.c | 200 while (path.dentry == path.mnt->mnt_root) { in find_autofs_mount() 602 if (path.mnt->mnt_root == path.dentry) { in autofs_dev_ioctl_ismountpoint()
|
| /linux/fs/debugfs/ |
| H A D | inode.c | 353 parent = debugfs_mount->mnt_root; in debugfs_lookup() 392 parent = debugfs_mount->mnt_root; in debugfs_start_creating()
|
| /linux/ipc/ |
| H A D | mqueue.c | 897 dentry = start_creating_noperm(mnt->mnt_root, &QSTR(name->name)); in mqueue_file_open() 955 audit_inode_parent_hidden(name, mnt->mnt_root); in SYSCALL_DEFINE1() 959 dentry = start_removing_noperm(mnt->mnt_root, &QSTR(name->name)); in SYSCALL_DEFINE1() 967 err = vfs_unlink(&nop_mnt_idmap, d_inode(mnt->mnt_root), in SYSCALL_DEFINE1()
|
| /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()
|
| /linux/fs/overlayfs/ |
| H A D | super.c | 553 if (ovl_inuse_trylock(ovl_upper_mnt(ofs)->mnt_root)) { in ovl_get_upper() 1279 err = ovl_check_layer(sb, ofs, ovl_upper_mnt(ofs)->mnt_root, in ovl_check_overlapping_layers() 1299 ofs->layers[i].mnt->mnt_root, in ovl_check_overlapping_layers()
|
| /linux/drivers/base/ |
| H A D | devtmpfs.c | 453 fc = fs_context_for_reconfigure(mnt->mnt_root, mnt->mnt_sb->s_flags, in devtmpfs_configure_context()
|
| /linux/kernel/ |
| H A D | acct.c | 240 internal.dentry = dget(mnt->mnt_root); in acct_on()
|
| /linux/fs/tracefs/ |
| H A D | inode.c | 563 parent = tracefs_mount->mnt_root; in tracefs_start_creating()
|
| /linux/security/apparmor/ |
| H A D | mount.c | 641 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in aa_umount()
|