Lines Matching refs:root
421 static int ceph_show_options(struct seq_file *m, struct dentry *root) in ceph_show_options() argument
423 struct ceph_fs_client *fsc = ceph_sb_to_client(root->d_sb); in ceph_show_options()
738 struct dentry *root; in open_root_dentry() local
747 root = ERR_PTR(-ENOMEM); in open_root_dentry()
764 root = d_make_root(inode); in open_root_dentry()
765 if (!root) { in open_root_dentry()
766 root = ERR_PTR(-ENOMEM); in open_root_dentry()
770 root = d_obtain_root(inode); in open_root_dentry()
772 ceph_init_dentry(root); in open_root_dentry()
773 dout("open_root_inode success, root dentry is %p\n", root); in open_root_dentry()
775 root = ERR_PTR(err); in open_root_dentry()
779 return root; in open_root_dentry()
793 struct dentry *root; in ceph_real_mount() local
804 root = open_root_dentry(fsc, "", started); in ceph_real_mount()
805 if (IS_ERR(root)) { in ceph_real_mount()
806 err = PTR_ERR(root); in ceph_real_mount()
810 dput(root); in ceph_real_mount()
812 fsc->sb->s_root = root; in ceph_real_mount()
821 dget(root); in ceph_real_mount()
824 root = open_root_dentry(fsc, path, started); in ceph_real_mount()
825 if (IS_ERR(root)) { in ceph_real_mount()
826 err = PTR_ERR(root); in ceph_real_mount()
834 return root; in ceph_real_mount()