Lines Matching refs:tree
66 struct hfs_btree *tree; in hfsplus_release_folio() local
74 tree = HFSPLUS_SB(sb)->ext_tree; in hfsplus_release_folio()
77 tree = HFSPLUS_SB(sb)->cat_tree; in hfsplus_release_folio()
80 tree = HFSPLUS_SB(sb)->attr_tree; in hfsplus_release_folio()
86 if (!tree) in hfsplus_release_folio()
88 if (tree->node_size >= PAGE_SIZE) { in hfsplus_release_folio()
90 (tree->node_size_shift - PAGE_SHIFT); in hfsplus_release_folio()
91 spin_lock(&tree->hash_lock); in hfsplus_release_folio()
92 node = hfs_bnode_findhash(tree, nidx); in hfsplus_release_folio()
101 spin_unlock(&tree->hash_lock); in hfsplus_release_folio()
104 (PAGE_SHIFT - tree->node_size_shift); in hfsplus_release_folio()
105 i = 1 << (PAGE_SHIFT - tree->node_size_shift); in hfsplus_release_folio()
106 spin_lock(&tree->hash_lock); in hfsplus_release_folio()
108 node = hfs_bnode_findhash(tree, nidx++); in hfsplus_release_folio()
117 } while (--i && nidx < tree->node_count); in hfsplus_release_folio()
118 spin_unlock(&tree->hash_lock); in hfsplus_release_folio()