Lines Matching defs:root
21 struct dentry *graveyard, *cachedir, *root;
38 /* look up the directory at the root of the cache */
44 root = path.dentry;
61 if (d_is_negative(root) ||
62 !d_backing_inode(root)->i_op->lookup ||
63 !d_backing_inode(root)->i_op->mkdir ||
64 !d_backing_inode(root)->i_op->tmpfile ||
65 !(d_backing_inode(root)->i_opflags & IOP_XATTR) ||
66 !root->d_sb->s_op->statfs ||
67 !root->d_sb->s_op->sync_fs ||
68 root->d_sb->s_blocksize > PAGE_SIZE)
72 if (sb_rdonly(root->d_sb))
77 ret = cachefiles_determine_cache_security(cache, root, &saved_cred);
126 cachedir = cachefiles_get_directory(cache, root, "cache", NULL);
135 graveyard = cachefiles_get_directory(cache, root, "graveyard", NULL);
150 dput(root);
168 dput(root);