Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/oprofile/
Doprofilefs.c234 struct dentry *root_dentry; in oprofilefs_fill_super() local
247 root_dentry = d_alloc_root(root_inode); in oprofilefs_fill_super()
248 if (!root_dentry) { in oprofilefs_fill_super()
253 sb->s_root = root_dentry; in oprofilefs_fill_super()
255 oprofile_create_files(sb, root_dentry); in oprofilefs_fill_super()
/linux-2.6.39/fs/nilfs2/
Dsuper.c771 struct dentry **root_dentry) in nilfs_get_root_dentry() argument
809 *root_dentry = dentry; in nilfs_get_root_dentry()
819 struct dentry **root_dentry) in nilfs_attach_snapshot() argument
846 ret = nilfs_get_root_dentry(s, root, root_dentry); in nilfs_attach_snapshot()
852 static int nilfs_tree_was_touched(struct dentry *root_dentry) in nilfs_tree_was_touched() argument
854 return root_dentry->d_count > 1; in nilfs_tree_was_touched()
863 static int nilfs_try_to_shrink_tree(struct dentry *root_dentry) in nilfs_try_to_shrink_tree() argument
865 if (have_submounts(root_dentry)) in nilfs_try_to_shrink_tree()
867 shrink_dcache_parent(root_dentry); in nilfs_try_to_shrink_tree()
868 return nilfs_tree_was_touched(root_dentry); in nilfs_try_to_shrink_tree()
[all …]
/linux-2.6.39/arch/s390/hypfs/
Dinode.c276 struct dentry *root_dentry; in hypfs_fill_super() local
298 sb->s_root = root_dentry = d_alloc_root(root_inode); in hypfs_fill_super()
299 if (!root_dentry) { in hypfs_fill_super()
304 rc = hypfs_vm_create_files(sb, root_dentry); in hypfs_fill_super()
306 rc = hypfs_diag_create_files(sb, root_dentry); in hypfs_fill_super()
309 sbi->update_file = hypfs_create_update_file(sb, root_dentry); in hypfs_fill_super()
/linux-2.6.39/drivers/misc/ibmasm/
Dibmasmfs.c117 struct dentry *root_dentry; in ibmasmfs_fill_super() local
132 root_dentry = d_alloc_root(root); in ibmasmfs_fill_super()
133 if (!root_dentry) { in ibmasmfs_fill_super()
137 sb->s_root = root_dentry; in ibmasmfs_fill_super()
139 ibmasmfs_create_files(sb, root_dentry); in ibmasmfs_fill_super()
/linux-2.6.39/fs/fuse/
Dinode.c915 struct dentry *root_dentry; in fuse_fill_super() local
984 root_dentry = d_alloc_root(root); in fuse_fill_super()
985 if (!root_dentry) { in fuse_fill_super()
1012 sb->s_root = root_dentry; in fuse_fill_super()
1032 dput(root_dentry); in fuse_fill_super()
/linux-2.6.39/fs/btrfs/
Dsuper.c584 struct dentry *root_dentry; in btrfs_fill_super() local
617 root_dentry = d_alloc_root(inode); in btrfs_fill_super()
618 if (!root_dentry) { in btrfs_fill_super()
624 sb->s_root = root_dentry; in btrfs_fill_super()