Lines Matching refs:tree
70 struct hfs_btree *tree; in hfs_release_folio() local
78 tree = HFS_SB(sb)->ext_tree; in hfs_release_folio()
81 tree = HFS_SB(sb)->cat_tree; in hfs_release_folio()
88 if (!tree) in hfs_release_folio()
91 if (tree->node_size >= PAGE_SIZE) { in hfs_release_folio()
92 nidx = folio->index >> (tree->node_size_shift - PAGE_SHIFT); in hfs_release_folio()
93 spin_lock(&tree->hash_lock); in hfs_release_folio()
94 node = hfs_bnode_findhash(tree, nidx); in hfs_release_folio()
103 spin_unlock(&tree->hash_lock); in hfs_release_folio()
105 nidx = folio->index << (PAGE_SHIFT - tree->node_size_shift); in hfs_release_folio()
106 i = 1 << (PAGE_SHIFT - tree->node_size_shift); in hfs_release_folio()
107 spin_lock(&tree->hash_lock); in hfs_release_folio()
109 node = hfs_bnode_findhash(tree, nidx++); in hfs_release_folio()
118 } while (--i && nidx < tree->node_count); in hfs_release_folio()
119 spin_unlock(&tree->hash_lock); in hfs_release_folio()