Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c402 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 Dpnode.c41 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 Dd_path.c110 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 Dinternal.h348 return path->mnt->mnt_root == path->dentry; in path_mounted()
H A Dfsopen.c191 if (target.mnt->mnt_root != target.dentry) in SYSCALL_DEFINE3()
H A Dnsfs.c663 nsfs_root_path.dentry = nsfs_mnt->mnt_root; in nsfs_init()
/linux/security/landlock/
H A Dfs.c900 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 Dmount.h173 __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 Dmount.h59 struct dentry *mnt_root; /* root of the mounted tree */ member
/linux/include/uapi/linux/
H A Dmount.h173 __u32 mnt_root; /* [str] Root of mount relative to root of fs */ member
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h173 __u32 mnt_root; /* [str] Root of mount relative to root of fs */ member
/linux/fs/configfs/
H A Dmount.c127 return err ? ERR_PTR(err) : configfs_mount->mnt_root; in configfs_pin_fs()
/linux/fs/devpts/
H A Dinode.c126 (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 Dmountinfo.c149 &buf->str[buf->mnt_root], in dump_mountinfo()
/linux/security/
H A Dinode.c129 parent = mount->mnt_root; in securityfs_create_dentry()
/linux/fs/autofs/
H A Ddev-ioctl.c200 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 Dinode.c353 parent = debugfs_mount->mnt_root; in debugfs_lookup()
392 parent = debugfs_mount->mnt_root; in debugfs_start_creating()
/linux/ipc/
H A Dmqueue.c897 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 Dcache.c195 .dentry = cache->mnt->mnt_root, in cachefiles_has_space()
/linux/security/tomoyo/
H A Dtomoyo.c428 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in tomoyo_sb_umount()
/linux/fs/overlayfs/
H A Dsuper.c553 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 Ddevtmpfs.c453 fc = fs_context_for_reconfigure(mnt->mnt_root, mnt->mnt_sb->s_flags, in devtmpfs_configure_context()
/linux/kernel/
H A Dacct.c240 internal.dentry = dget(mnt->mnt_root); in acct_on()
/linux/fs/tracefs/
H A Dinode.c563 parent = tracefs_mount->mnt_root; in tracefs_start_creating()
/linux/security/apparmor/
H A Dmount.c641 struct path path = { .mnt = mnt, .dentry = mnt->mnt_root }; in aa_umount()

12