Lines Matching defs:root
85 * By default use root quota for stats; fallback to overall filesystem
86 * usage if using 'noquotadf' mount option or if the root dir doesn't
526 * @root: root of that (sub)tree
528 static int ceph_show_options(struct seq_file *m, struct dentry *root)
530 struct ceph_fs_client *fsc = ceph_sb_to_client(root->d_sb);
566 if (root->d_sb->s_flags & SB_POSIXACL)
866 * Bootstrap mount by opening the root directory. Note the mount
876 struct dentry *root;
885 root = ERR_PTR(-ENOMEM);
900 root = d_make_root(inode);
901 if (!root) {
902 root = ERR_PTR(-ENOMEM);
905 dout("open_root_inode success, root dentry is %p\n", root);
907 root = ERR_PTR(err);
911 return root;
915 * mount: join the ceph cluster, and open root directory.
922 struct dentry *root;
946 root = open_root_dentry(fsc, path, started);
947 if (IS_ERR(root)) {
948 err = PTR_ERR(root);
951 fsc->sb->s_root = dget(root);
953 root = dget(fsc->sb->s_root);
959 return root;
1110 dout("root %p inode %p ino %llx.%llx\n", res,
1112 fc->root = fsc->sb->s_root;
1147 struct ceph_fs_client *fsc = ceph_sb_to_client(fc->root->d_sb);
1154 sync_filesystem(fc->root->d_sb);