Lines Matching refs:bc_nlevels
375 for (i = 0; i < cur->bc_nlevels; i++) { in xfs_btree_del_cursor()
425 for (i = 0; i < new->bc_nlevels; i++) { in xfs_btree_dup_cursor()
677 (level == cur->bc_nlevels - 1)) { in xfs_btree_get_block()
978 (lev == cur->bc_nlevels - 1)) in xfs_btree_readahead()
1598 ASSERT(level < cur->bc_nlevels); in xfs_btree_increment()
1627 for (lev = level + 1; lev < cur->bc_nlevels; lev++) { in xfs_btree_increment()
1647 if (lev == cur->bc_nlevels) { in xfs_btree_increment()
1654 ASSERT(lev < cur->bc_nlevels); in xfs_btree_increment()
1700 ASSERT(level < cur->bc_nlevels); in xfs_btree_decrement()
1729 for (lev = level + 1; lev < cur->bc_nlevels; lev++) { in xfs_btree_decrement()
1740 if (lev == cur->bc_nlevels) { in xfs_btree_decrement()
1747 ASSERT(lev < cur->bc_nlevels); in xfs_btree_decrement()
1789 (level == cur->bc_nlevels - 1)) { in xfs_btree_lookup_get_block()
1881 if (cur->bc_nlevels == 0) in xfs_btree_lookup()
1897 for (level = cur->bc_nlevels - 1, diff = 1; level >= 0; level--) { in xfs_btree_lookup()
1920 if (level != 0 || cur->bc_nlevels != 1) { in xfs_btree_lookup()
2148 if (level + 1 >= cur->bc_nlevels) in __xfs_btree_updkeys()
2156 for (level++; level < cur->bc_nlevels; level++) { in __xfs_btree_updkeys()
2176 if (level + 1 >= cur->bc_nlevels) in __xfs_btree_updkeys()
2224 for (level++, ptr = 1; ptr == 1 && level < cur->bc_nlevels; level++) { in xfs_btree_update_keys()
2322 level == cur->bc_nlevels - 1) in xfs_btree_lshift()
2516 (level == cur->bc_nlevels - 1)) in xfs_btree_rshift()
2827 if (level + 1 < cur->bc_nlevels) { in __xfs_btree_split()
2949 level = cur->bc_nlevels - 1; in xfs_btree_new_iroot()
2982 cur->bc_nlevels++; in xfs_btree_new_iroot()
3074 block = xfs_btree_get_block(cur, cur->bc_nlevels - 1, &bp); in xfs_btree_new_root()
3077 error = xfs_btree_check_block(cur, block, cur->bc_nlevels - 1, bp); in xfs_btree_new_root()
3107 xfs_btree_init_block_cur(cur, nbp, cur->bc_nlevels, 2); in xfs_btree_new_root()
3143 xfs_btree_setbuf(cur, cur->bc_nlevels, nbp); in xfs_btree_new_root()
3144 cur->bc_ptrs[cur->bc_nlevels] = nptr; in xfs_btree_new_root()
3145 cur->bc_nlevels++; in xfs_btree_new_root()
3170 level == cur->bc_nlevels - 1) { in xfs_btree_make_block_unfull()
3256 (level >= cur->bc_nlevels)) { in xfs_btree_insrec()
3490 cur->bc_nlevels = pcur->bc_nlevels; in xfs_btree_insert()
3538 ASSERT(cur->bc_nlevels > 1); in xfs_btree_kill_iroot()
3544 level = cur->bc_nlevels - 1; in xfs_btree_kill_iroot()
3608 cur->bc_nlevels--; in xfs_btree_kill_iroot()
3639 cur->bc_nlevels--; in xfs_btree_kill_root()
3773 if (level == cur->bc_nlevels - 1) { in xfs_btree_delrec()
3850 level == cur->bc_nlevels - 2) { in xfs_btree_delrec()
4132 (level + 1 < cur->bc_nlevels)) { in xfs_btree_delrec()
4207 for (level = 1; level < cur->bc_nlevels; level++) { in xfs_btree_delete()
4310 for (level = cur->bc_nlevels - 1; level >= 0; level--) { in xfs_btree_visit_blocks()
4399 ASSERT(level == cur->bc_nlevels - 1); in xfs_btree_block_change_owner()
4671 level = cur->bc_nlevels - 1; in xfs_btree_overlapped_query_range()
4685 while (level < cur->bc_nlevels) { in xfs_btree_overlapped_query_range()
4691 if (level < cur->bc_nlevels - 1) in xfs_btree_overlapped_query_range()
4771 for (i = 0; i < cur->bc_nlevels; i++) { in xfs_btree_overlapped_query_range()