Lines Matching refs:tree
58 struct hfs_btree *tree;
65 tree = HFSPLUS_SB(sb).ext_tree;
68 tree = HFSPLUS_SB(sb).cat_tree;
71 tree = HFSPLUS_SB(sb).attr_tree;
77 if (!tree)
79 if (tree->node_size >= PAGE_CACHE_SIZE) {
80 nidx = page->index >> (tree->node_size_shift - PAGE_CACHE_SHIFT);
81 spin_lock(&tree->hash_lock);
82 node = hfs_bnode_findhash(tree, nidx);
91 spin_unlock(&tree->hash_lock);
93 nidx = page->index << (PAGE_CACHE_SHIFT - tree->node_size_shift);
94 i = 1 << (PAGE_CACHE_SHIFT - tree->node_size_shift);
95 spin_lock(&tree->hash_lock);
97 node = hfs_bnode_findhash(tree, nidx++);
106 } while (--i && nidx < tree->node_count);
107 spin_unlock(&tree->hash_lock);