Lines Matching refs:tree
118 unsigned int tree, to_purge, purged; in ocfs2_metadata_cache_purge() local
123 tree = !(oi->ip_flags & OCFS2_INODE_CACHE_INLINE); in ocfs2_metadata_cache_purge()
127 tree ? "array" : "tree", (unsigned long long)oi->ip_blkno); in ocfs2_metadata_cache_purge()
132 if (tree) in ocfs2_metadata_cache_purge()
142 if (tree && purged != to_purge) in ocfs2_metadata_cache_purge()
308 struct ocfs2_meta_cache_item **tree) in ocfs2_expand_cache() argument
325 tree[i]->c_block = ci->ci_cache.ci_array[i]; in ocfs2_expand_cache()
333 __ocfs2_insert_cache_tree(ci, tree[i]); in ocfs2_expand_cache()
334 tree[i] = NULL; in ocfs2_expand_cache()
350 struct ocfs2_meta_cache_item *tree[OCFS2_INODE_MAX_CACHE_ARRAY] = in __ocfs2_set_buffer_uptodate() local
368 tree[i] = kmem_cache_alloc(ocfs2_uptodate_cachep, in __ocfs2_set_buffer_uptodate()
370 if (!tree[i]) { in __ocfs2_set_buffer_uptodate()
390 ocfs2_expand_cache(oi, tree); in __ocfs2_set_buffer_uptodate()
402 if (tree[0]) { in __ocfs2_set_buffer_uptodate()
404 if (tree[i]) in __ocfs2_set_buffer_uptodate()
406 tree[i]); in __ocfs2_set_buffer_uptodate()