Lines Matching refs:bc_ptrs
355 new->bc_ptrs[i] = cur->bc_ptrs[i]; in xfs_btree_dup_cursor()
628 cur->bc_ptrs[level] = 1; in xfs_btree_firstrec()
657 cur->bc_ptrs[level] = be16_to_cpu(block->bb_numrecs); in xfs_btree_lastrec()
1463 if (++cur->bc_ptrs[level] <= xfs_btree_get_numrecs(block)) in xfs_btree_increment()
1486 if (++cur->bc_ptrs[lev] <= xfs_btree_get_numrecs(block)) in xfs_btree_increment()
1513 ptrp = xfs_btree_ptr_addr(cur, cur->bc_ptrs[lev], block); in xfs_btree_increment()
1520 cur->bc_ptrs[lev] = 1; in xfs_btree_increment()
1562 if (--cur->bc_ptrs[level] > 0) in xfs_btree_decrement()
1586 if (--cur->bc_ptrs[lev] > 0) in xfs_btree_decrement()
1612 ptrp = xfs_btree_ptr_addr(cur, cur->bc_ptrs[lev], block); in xfs_btree_decrement()
1618 cur->bc_ptrs[lev] = xfs_btree_get_numrecs(block); in xfs_btree_decrement()
1755 cur->bc_ptrs[0] = dir != XFS_LOOKUP_LE; in xfs_btree_lookup()
1809 cur->bc_ptrs[level] = keyno; in xfs_btree_lookup()
1826 cur->bc_ptrs[0] = keyno; in xfs_btree_lookup()
1837 cur->bc_ptrs[0] = keyno; in xfs_btree_lookup()
1891 ptr = cur->bc_ptrs[level]; in xfs_btree_updkey()
1929 ptr = cur->bc_ptrs[0]; in xfs_btree_update()
2011 if (cur->bc_ptrs[level] <= 1) in xfs_btree_lshift()
2130 cur->bc_ptrs[level]--; in xfs_btree_lshift()
2195 if (cur->bc_ptrs[level] >= lrecs) in xfs_btree_rshift()
2391 if ((lrecs & 1) && cur->bc_ptrs[level] <= rrecs + 1) in __xfs_btree_split()
2479 if (cur->bc_ptrs[level] > lrecs + 1) { in __xfs_btree_split()
2481 cur->bc_ptrs[level] -= lrecs; in __xfs_btree_split()
2491 (*curp)->bc_ptrs[level + 1]++; in __xfs_btree_split()
2650 cur->bc_ptrs[level + 1] = 1; in xfs_btree_new_iroot()
2810 cur->bc_ptrs[cur->bc_nlevels] = nptr; in xfs_btree_new_root()
2871 *oindex = *index = cur->bc_ptrs[level]; in xfs_btree_make_block_unfull()
2886 *index = cur->bc_ptrs[level]; in xfs_btree_make_block_unfull()
2937 ptr = cur->bc_ptrs[level]; in xfs_btree_insrec()
3382 ptr = cur->bc_ptrs[level]; in xfs_btree_delrec()
3692 cur->bc_ptrs[0]++; in xfs_btree_delrec()
3831 cur->bc_ptrs[level] += lrecs; in xfs_btree_delrec()
3852 cur->bc_ptrs[level]--; in xfs_btree_delrec()
3896 if (cur->bc_ptrs[level] == 0) { in xfs_btree_delete()
3929 ptr = cur->bc_ptrs[0]; in xfs_btree_get_rec()