Lines Matching refs:root
89 struct dentry *graveyard, *cachedir, *root; in cachefiles_daemon_add_cache() local
122 root = path.dentry; in cachefiles_daemon_add_cache()
126 if (d_is_negative(root) || in cachefiles_daemon_add_cache()
127 !d_backing_inode(root)->i_op->lookup || in cachefiles_daemon_add_cache()
128 !d_backing_inode(root)->i_op->mkdir || in cachefiles_daemon_add_cache()
129 !d_backing_inode(root)->i_op->setxattr || in cachefiles_daemon_add_cache()
130 !d_backing_inode(root)->i_op->getxattr || in cachefiles_daemon_add_cache()
131 !root->d_sb->s_op->statfs || in cachefiles_daemon_add_cache()
132 !root->d_sb->s_op->sync_fs) in cachefiles_daemon_add_cache()
136 if (root->d_sb->s_flags & MS_RDONLY) in cachefiles_daemon_add_cache()
141 ret = cachefiles_determine_cache_security(cache, root, &saved_cred); in cachefiles_daemon_add_cache()
193 cachedir = cachefiles_get_directory(cache, root, "cache"); in cachefiles_daemon_add_cache()
207 graveyard = cachefiles_get_directory(cache, root, "graveyard"); in cachefiles_daemon_add_cache()
229 dput(root); in cachefiles_daemon_add_cache()
246 dput(root); in cachefiles_daemon_add_cache()