Home
last modified time | relevance | path

Searched refs:root_dentry (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/fs/overlayfs/
Dsuper.c292 struct dentry *root_dentry = dentry->d_sb->s_root; in ovl_statfs() local
296 ovl_path_real(root_dentry, &path); in ovl_statfs()
1374 struct dentry *root_dentry; in ovl_fill_super() local
1481 root_dentry = d_make_root(ovl_new_inode(sb, S_IFDIR, 0)); in ovl_fill_super()
1482 if (!root_dentry) in ovl_fill_super()
1485 root_dentry->d_fsdata = oe; in ovl_fill_super()
1489 ovl_dentry_set_upper_alias(root_dentry); in ovl_fill_super()
1491 ovl_set_flag(OVL_IMPURE, d_inode(root_dentry)); in ovl_fill_super()
1495 ovl_set_flag(OVL_WHITEOUTS, d_inode(root_dentry)); in ovl_fill_super()
1496 ovl_dentry_set_flag(OVL_E_CONNECTED, root_dentry); in ovl_fill_super()
[all …]
/Linux-v4.19/arch/s390/hypfs/
Dinode.c272 struct dentry *root_dentry; in hypfs_fill_super() local
294 sb->s_root = root_dentry = d_make_root(root_inode); in hypfs_fill_super()
295 if (!root_dentry) in hypfs_fill_super()
298 rc = hypfs_vm_create_files(root_dentry); in hypfs_fill_super()
300 rc = hypfs_diag_create_files(root_dentry); in hypfs_fill_super()
303 sbi->update_file = hypfs_create_update_file(root_dentry); in hypfs_fill_super()
/Linux-v4.19/fs/nilfs2/
Dsuper.c902 struct dentry **root_dentry) in nilfs_get_root_dentry() argument
939 *root_dentry = dentry; in nilfs_get_root_dentry()
949 struct dentry **root_dentry) in nilfs_attach_snapshot() argument
978 ret = nilfs_get_root_dentry(s, root, root_dentry); in nilfs_attach_snapshot()
991 static bool nilfs_tree_is_busy(struct dentry *root_dentry) in nilfs_tree_is_busy() argument
993 shrink_dcache_parent(root_dentry); in nilfs_tree_is_busy()
994 return d_count(root_dentry) > 1; in nilfs_tree_is_busy()
1277 struct dentry *root_dentry; in nilfs_mount() local
1347 err = nilfs_attach_snapshot(s, sd.cno, &root_dentry); in nilfs_mount()
1351 root_dentry = dget(s->s_root); in nilfs_mount()
[all …]
/Linux-v4.19/fs/orangefs/
Dsuper.c402 struct dentry *root_dentry = NULL; in orangefs_fill_sb() local
448 root_dentry = d_make_root(root); in orangefs_fill_sb()
449 if (!root_dentry) in orangefs_fill_sb()
453 sb->s_root = root_dentry; in orangefs_fill_sb()
/Linux-v4.19/fs/fuse/
Dinode.c1062 struct dentry *root_dentry; in fuse_fill_super() local
1151 root_dentry = d_make_root(root); in fuse_fill_super()
1152 if (!root_dentry) in fuse_fill_super()
1178 sb->s_root = root_dentry; in fuse_fill_super()
1197 dput(root_dentry); in fuse_fill_super()