Lines Matching refs:bc_ptrs
421 new->bc_ptrs[i] = cur->bc_ptrs[i]; in xfs_btree_dup_cursor()
717 cur->bc_ptrs[level] = 1; in xfs_btree_firstrec()
747 cur->bc_ptrs[level] = be16_to_cpu(block->bb_numrecs); in xfs_btree_lastrec()
1554 if (++cur->bc_ptrs[level] <= xfs_btree_get_numrecs(block)) in xfs_btree_increment()
1577 if (++cur->bc_ptrs[lev] <= xfs_btree_get_numrecs(block)) in xfs_btree_increment()
1604 ptrp = xfs_btree_ptr_addr(cur, cur->bc_ptrs[lev], block); in xfs_btree_increment()
1611 cur->bc_ptrs[lev] = 1; in xfs_btree_increment()
1647 if (--cur->bc_ptrs[level] > 0) in xfs_btree_decrement()
1671 if (--cur->bc_ptrs[lev] > 0) in xfs_btree_decrement()
1697 ptrp = xfs_btree_ptr_addr(cur, cur->bc_ptrs[lev], block); in xfs_btree_decrement()
1703 cur->bc_ptrs[lev] = xfs_btree_get_numrecs(block); in xfs_btree_decrement()
1870 cur->bc_ptrs[0] = dir != XFS_LOOKUP_LE; in xfs_btree_lookup()
1922 cur->bc_ptrs[level] = keyno; in xfs_btree_lookup()
1939 cur->bc_ptrs[0] = keyno; in xfs_btree_lookup()
1950 cur->bc_ptrs[0] = keyno; in xfs_btree_lookup()
2110 ptr = cur->bc_ptrs[level]; in __xfs_btree_updkeys()
2177 ptr = cur->bc_ptrs[level]; in xfs_btree_update_keys()
2211 ptr = cur->bc_ptrs[0]; in xfs_btree_update()
2286 if (cur->bc_ptrs[level] <= 1) in xfs_btree_lshift()
2420 cur->bc_ptrs[level]--; in xfs_btree_lshift()
2482 if (cur->bc_ptrs[level] >= lrecs) in xfs_btree_rshift()
2670 if ((lrecs & 1) && cur->bc_ptrs[level] <= rrecs + 1) in __xfs_btree_split()
2766 if (cur->bc_ptrs[level] > lrecs + 1) { in __xfs_btree_split()
2768 cur->bc_ptrs[level] -= lrecs; in __xfs_btree_split()
2778 (*curp)->bc_ptrs[level + 1]++; in __xfs_btree_split()
2938 cur->bc_ptrs[level + 1] = 1; in xfs_btree_new_iroot()
3099 cur->bc_ptrs[cur->bc_nlevels] = nptr; in xfs_btree_new_root()
3157 *oindex = *index = cur->bc_ptrs[level]; in xfs_btree_make_block_unfull()
3172 *index = cur->bc_ptrs[level]; in xfs_btree_make_block_unfull()
3219 ptr = cur->bc_ptrs[level]; in xfs_btree_insrec()
3657 ptr = cur->bc_ptrs[level]; in xfs_btree_delrec()
3967 cur->bc_ptrs[0]++; in xfs_btree_delrec()
4105 cur->bc_ptrs[level] += lrecs; in xfs_btree_delrec()
4126 cur->bc_ptrs[level]--; in xfs_btree_delrec()
4189 if (cur->bc_ptrs[level] == 0) { in xfs_btree_delete()
4220 ptr = cur->bc_ptrs[0]; in xfs_btree_get_rec()
4668 cur->bc_ptrs[level] = 1; in xfs_btree_overlapped_query_range()
4674 if (cur->bc_ptrs[level] > be16_to_cpu(block->bb_numrecs)) { in xfs_btree_overlapped_query_range()
4677 cur->bc_ptrs[level + 1]++; in xfs_btree_overlapped_query_range()
4684 recp = xfs_btree_rec_addr(cur, cur->bc_ptrs[0], block); in xfs_btree_overlapped_query_range()
4707 cur->bc_ptrs[level]++; in xfs_btree_overlapped_query_range()
4712 lkp = xfs_btree_key_addr(cur, cur->bc_ptrs[level], block); in xfs_btree_overlapped_query_range()
4713 hkp = xfs_btree_high_key_addr(cur, cur->bc_ptrs[level], block); in xfs_btree_overlapped_query_range()
4714 pp = xfs_btree_ptr_addr(cur, cur->bc_ptrs[level], block); in xfs_btree_overlapped_query_range()
4737 cur->bc_ptrs[level] = 1; in xfs_btree_overlapped_query_range()
4743 cur->bc_ptrs[level]++; in xfs_btree_overlapped_query_range()
4759 cur->bc_ptrs[i] = 0; in xfs_btree_overlapped_query_range()
4922 if (cur->bc_ptrs[0] < xfs_btree_get_numrecs(block)) in xfs_btree_has_more_records()