Lines Matching refs:lrecs

2323 	int			lrecs;		/* left record count */  in xfs_btree_lshift()  local
2366 lrecs = xfs_btree_get_numrecs(left); in xfs_btree_lshift()
2367 if (lrecs == cur->bc_ops->get_maxrecs(cur, level)) in xfs_btree_lshift()
2377 lrecs++; in xfs_btree_lshift()
2392 lkp = xfs_btree_key_addr(cur, lrecs, left); in xfs_btree_lshift()
2395 lpp = xfs_btree_ptr_addr(cur, lrecs, left); in xfs_btree_lshift()
2405 xfs_btree_log_keys(cur, lbp, lrecs, lrecs); in xfs_btree_lshift()
2406 xfs_btree_log_ptrs(cur, lbp, lrecs, lrecs); in xfs_btree_lshift()
2409 xfs_btree_key_addr(cur, lrecs - 1, left), lkp)); in xfs_btree_lshift()
2414 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_lshift()
2418 xfs_btree_log_recs(cur, lbp, lrecs, lrecs); in xfs_btree_lshift()
2421 xfs_btree_rec_addr(cur, lrecs - 1, left), lrp)); in xfs_btree_lshift()
2424 xfs_btree_set_numrecs(left, lrecs); in xfs_btree_lshift()
2526 int lrecs; /* left record count */ in xfs_btree_rshift() local
2552 lrecs = xfs_btree_get_numrecs(left); in xfs_btree_rshift()
2553 if (cur->bc_levels[level].ptr >= lrecs) in xfs_btree_rshift()
2579 lkp = xfs_btree_key_addr(cur, lrecs, left); in xfs_btree_rshift()
2580 lpp = xfs_btree_ptr_addr(cur, lrecs, left); in xfs_btree_rshift()
2611 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_rshift()
2624 xfs_btree_set_numrecs(left, --lrecs); in xfs_btree_rshift()
2699 int lrecs; in __xfs_btree_split() local
2739 lrecs = xfs_btree_get_numrecs(left); in __xfs_btree_split()
2740 rrecs = lrecs / 2; in __xfs_btree_split()
2741 if ((lrecs & 1) && cur->bc_levels[level].ptr <= rrecs + 1) in __xfs_btree_split()
2743 src_index = (lrecs - rrecs + 1); in __xfs_btree_split()
2748 lrecs -= rrecs; in __xfs_btree_split()
2749 xfs_btree_set_numrecs(left, lrecs); in __xfs_btree_split()
2837 if (cur->bc_levels[level].ptr > lrecs + 1) { in __xfs_btree_split()
2839 cur->bc_levels[level].ptr -= lrecs; in __xfs_btree_split()
3735 int lrecs = 0; /* left record count */ in xfs_btree_delrec() local
4070 lrecs = xfs_btree_get_numrecs(left); in xfs_btree_delrec()
4081 lrecs + xfs_btree_get_numrecs(block) <= in xfs_btree_delrec()
4123 lrecs = xfs_btree_get_numrecs(left); in xfs_btree_delrec()
4137 lkp = xfs_btree_key_addr(cur, lrecs + 1, left); in xfs_btree_delrec()
4138 lpp = xfs_btree_ptr_addr(cur, lrecs + 1, left); in xfs_btree_delrec()
4151 xfs_btree_log_keys(cur, lbp, lrecs + 1, lrecs + rrecs); in xfs_btree_delrec()
4152 xfs_btree_log_ptrs(cur, lbp, lrecs + 1, lrecs + rrecs); in xfs_btree_delrec()
4158 lrp = xfs_btree_rec_addr(cur, lrecs + 1, left); in xfs_btree_delrec()
4162 xfs_btree_log_recs(cur, lbp, lrecs + 1, lrecs + rrecs); in xfs_btree_delrec()
4171 xfs_btree_set_numrecs(left, lrecs + rrecs); in xfs_btree_delrec()
4197 cur->bc_levels[level].ptr += lrecs; in xfs_btree_delrec()