Lines Matching refs:bc_ptrs
426 new->bc_ptrs[i] = cur->bc_ptrs[i]; in xfs_btree_dup_cursor()
769 cur->bc_ptrs[level] = 1; in xfs_btree_firstrec()
799 cur->bc_ptrs[level] = be16_to_cpu(block->bb_numrecs); in xfs_btree_lastrec()
1613 if (++cur->bc_ptrs[level] <= xfs_btree_get_numrecs(block)) in xfs_btree_increment()
1636 if (++cur->bc_ptrs[lev] <= xfs_btree_get_numrecs(block)) in xfs_btree_increment()
1663 ptrp = xfs_btree_ptr_addr(cur, cur->bc_ptrs[lev], block); in xfs_btree_increment()
1670 cur->bc_ptrs[lev] = 1; in xfs_btree_increment()
1706 if (--cur->bc_ptrs[level] > 0) in xfs_btree_decrement()
1730 if (--cur->bc_ptrs[lev] > 0) in xfs_btree_decrement()
1756 ptrp = xfs_btree_ptr_addr(cur, cur->bc_ptrs[lev], block); in xfs_btree_decrement()
1762 cur->bc_ptrs[lev] = xfs_btree_get_numrecs(block); in xfs_btree_decrement()
1928 cur->bc_ptrs[0] = dir != XFS_LOOKUP_LE; in xfs_btree_lookup()
1980 cur->bc_ptrs[level] = keyno; in xfs_btree_lookup()
1997 cur->bc_ptrs[0] = keyno; in xfs_btree_lookup()
2007 cur->bc_ptrs[0] = keyno; in xfs_btree_lookup()
2167 ptr = cur->bc_ptrs[level]; in __xfs_btree_updkeys()
2234 ptr = cur->bc_ptrs[level]; in xfs_btree_update_keys()
2268 ptr = cur->bc_ptrs[0]; in xfs_btree_update()
2343 if (cur->bc_ptrs[level] <= 1) in xfs_btree_lshift()
2476 cur->bc_ptrs[level]--; in xfs_btree_lshift()
2538 if (cur->bc_ptrs[level] >= lrecs) in xfs_btree_rshift()
2723 if ((lrecs & 1) && cur->bc_ptrs[level] <= rrecs + 1) in __xfs_btree_split()
2819 if (cur->bc_ptrs[level] > lrecs + 1) { in __xfs_btree_split()
2821 cur->bc_ptrs[level] -= lrecs; in __xfs_btree_split()
2831 (*curp)->bc_ptrs[level + 1]++; in __xfs_btree_split()
2983 cur->bc_ptrs[level + 1] = 1; in xfs_btree_new_iroot()
3144 cur->bc_ptrs[cur->bc_nlevels] = nptr; in xfs_btree_new_root()
3202 *oindex = *index = cur->bc_ptrs[level]; in xfs_btree_make_block_unfull()
3217 *index = cur->bc_ptrs[level]; in xfs_btree_make_block_unfull()
3264 ptr = cur->bc_ptrs[level]; in xfs_btree_insrec()
3697 ptr = cur->bc_ptrs[level]; in xfs_btree_delrec()
3986 cur->bc_ptrs[0]++; in xfs_btree_delrec()
4124 cur->bc_ptrs[level] += lrecs; in xfs_btree_delrec()
4145 cur->bc_ptrs[level]--; in xfs_btree_delrec()
4208 if (cur->bc_ptrs[level] == 0) { in xfs_btree_delete()
4239 ptr = cur->bc_ptrs[0]; in xfs_btree_get_rec()
4683 cur->bc_ptrs[level] = 1; in xfs_btree_overlapped_query_range()
4689 if (cur->bc_ptrs[level] > be16_to_cpu(block->bb_numrecs)) { in xfs_btree_overlapped_query_range()
4692 cur->bc_ptrs[level + 1]++; in xfs_btree_overlapped_query_range()
4699 recp = xfs_btree_rec_addr(cur, cur->bc_ptrs[0], block); in xfs_btree_overlapped_query_range()
4723 cur->bc_ptrs[level]++; in xfs_btree_overlapped_query_range()
4728 lkp = xfs_btree_key_addr(cur, cur->bc_ptrs[level], block); in xfs_btree_overlapped_query_range()
4729 hkp = xfs_btree_high_key_addr(cur, cur->bc_ptrs[level], block); in xfs_btree_overlapped_query_range()
4730 pp = xfs_btree_ptr_addr(cur, cur->bc_ptrs[level], block); in xfs_btree_overlapped_query_range()
4753 cur->bc_ptrs[level] = 1; in xfs_btree_overlapped_query_range()
4759 cur->bc_ptrs[level]++; in xfs_btree_overlapped_query_range()
4775 cur->bc_ptrs[i] = 0; in xfs_btree_overlapped_query_range()
4939 if (cur->bc_ptrs[0] < xfs_btree_get_numrecs(block)) in xfs_btree_has_more_records()