Lines Matching refs:tree
59 struct hfs_btree *tree;
66 tree = HFSPLUS_SB(sb).ext_tree;
69 tree = HFSPLUS_SB(sb).cat_tree;
72 tree = HFSPLUS_SB(sb).attr_tree;
78 if (!tree)
80 if (tree->node_size >= PAGE_CACHE_SIZE) {
81 nidx = page->index >> (tree->node_size_shift - PAGE_CACHE_SHIFT);
82 spin_lock(&tree->hash_lock);
83 node = hfs_bnode_findhash(tree, nidx);
92 spin_unlock(&tree->hash_lock);
94 nidx = page->index << (PAGE_CACHE_SHIFT - tree->node_size_shift);
95 i = 1 << (PAGE_CACHE_SHIFT - tree->node_size_shift);
96 spin_lock(&tree->hash_lock);
98 node = hfs_bnode_findhash(tree, nidx++);
107 } while (--i && nidx < tree->node_count);
108 spin_unlock(&tree->hash_lock);