Lines Matching refs:root
410 static int ceph_show_options(struct seq_file *m, struct dentry *root) in ceph_show_options() argument
412 struct ceph_fs_client *fsc = ceph_sb_to_client(root->d_sb); in ceph_show_options()
716 struct dentry *root; in open_root_dentry() local
725 root = ERR_PTR(-ENOMEM); in open_root_dentry()
742 root = d_make_root(inode); in open_root_dentry()
743 if (!root) { in open_root_dentry()
744 root = ERR_PTR(-ENOMEM); in open_root_dentry()
748 root = d_obtain_root(inode); in open_root_dentry()
750 ceph_init_dentry(root); in open_root_dentry()
751 dout("open_root_inode success, root dentry is %p\n", root); in open_root_dentry()
753 root = ERR_PTR(err); in open_root_dentry()
757 return root; in open_root_dentry()
771 struct dentry *root; in ceph_real_mount() local
782 root = open_root_dentry(fsc, "", started); in ceph_real_mount()
783 if (IS_ERR(root)) { in ceph_real_mount()
784 err = PTR_ERR(root); in ceph_real_mount()
788 dput(root); in ceph_real_mount()
790 fsc->sb->s_root = root; in ceph_real_mount()
799 dget(root); in ceph_real_mount()
802 root = open_root_dentry(fsc, path, started); in ceph_real_mount()
803 if (IS_ERR(root)) { in ceph_real_mount()
804 err = PTR_ERR(root); in ceph_real_mount()
812 return root; in ceph_real_mount()