Lines Matching refs:if_height
135 if (ifp->if_height == 1) in xfs_iext_max_recs()
164 if (!ifp->if_height) in xfs_iext_find_first_leaf()
167 for (height = ifp->if_height; height > 1; height--) { in xfs_iext_find_first_leaf()
182 if (!ifp->if_height) in xfs_iext_find_last_leaf()
185 for (height = ifp->if_height; height > 1; height--) { in xfs_iext_find_last_leaf()
240 if (ifp->if_height > 1 && !xfs_iext_valid(ifp, cur) && in xfs_iext_next()
268 if (ifp->if_height > 1 && cur->leaf->prev) { in xfs_iext_prev()
312 if (!ifp->if_height) in xfs_iext_find_level()
315 for (height = ifp->if_height; height > level; height--) { in xfs_iext_find_level()
411 if (ifp->if_height == 1) { in xfs_iext_grow()
419 ASSERT(ifp->if_height > 1); in xfs_iext_grow()
429 ifp->if_height++; in xfs_iext_grow()
443 for (height = ifp->if_height; height > level; height--) { in xfs_iext_update_node()
510 if (ifp->if_height < level) in xfs_iext_insert_node()
594 ifp->if_height = 1; in xfs_iext_alloc_root()
644 if (ifp->if_height == 0) in xfs_iext_insert_raw()
646 else if (ifp->if_height == 1) in xfs_iext_insert_raw()
748 ASSERT(level <= ifp->if_height); in xfs_iext_remove_node()
773 if (level < ifp->if_height) { in xfs_iext_remove_node()
799 ifp->if_height--; in xfs_iext_remove_node()
873 ifp->if_height--; in xfs_iext_free_last_leaf()
891 ASSERT(ifp->if_height > 0); in xfs_iext_remove()
908 if (ifp->if_height > 1 && leaf->next) in xfs_iext_remove()
918 if (ifp->if_height > 1) in xfs_iext_remove()
961 if (ifp->if_height == 1 || !cur->leaf->next) in xfs_iext_lookup_extent()
1062 xfs_iext_destroy_node(ifp->if_data, ifp->if_height); in xfs_iext_destroy()
1065 ifp->if_height = 0; in xfs_iext_destroy()