Lines Matching refs:lrecs

2424 	int			lrecs;		/* left record count */  in xfs_btree_lshift()  local
2466 lrecs = xfs_btree_get_numrecs(left); in xfs_btree_lshift()
2467 if (lrecs == cur->bc_ops->get_maxrecs(cur, level)) in xfs_btree_lshift()
2477 lrecs++; in xfs_btree_lshift()
2492 lkp = xfs_btree_key_addr(cur, lrecs, left); in xfs_btree_lshift()
2495 lpp = xfs_btree_ptr_addr(cur, lrecs, left); in xfs_btree_lshift()
2505 xfs_btree_log_keys(cur, lbp, lrecs, lrecs); in xfs_btree_lshift()
2506 xfs_btree_log_ptrs(cur, lbp, lrecs, lrecs); in xfs_btree_lshift()
2509 xfs_btree_key_addr(cur, lrecs - 1, left), lkp)); in xfs_btree_lshift()
2514 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_lshift()
2518 xfs_btree_log_recs(cur, lbp, lrecs, lrecs); in xfs_btree_lshift()
2521 xfs_btree_rec_addr(cur, lrecs - 1, left), lrp)); in xfs_btree_lshift()
2524 xfs_btree_set_numrecs(left, lrecs); in xfs_btree_lshift()
2627 int lrecs; /* left record count */ in xfs_btree_rshift() local
2652 lrecs = xfs_btree_get_numrecs(left); in xfs_btree_rshift()
2653 if (cur->bc_levels[level].ptr >= lrecs) in xfs_btree_rshift()
2679 lkp = xfs_btree_key_addr(cur, lrecs, left); in xfs_btree_rshift()
2680 lpp = xfs_btree_ptr_addr(cur, lrecs, left); in xfs_btree_rshift()
2711 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_rshift()
2724 xfs_btree_set_numrecs(left, --lrecs); in xfs_btree_rshift()
2826 int lrecs; in __xfs_btree_split() local
2866 lrecs = xfs_btree_get_numrecs(left); in __xfs_btree_split()
2867 rrecs = lrecs / 2; in __xfs_btree_split()
2868 if ((lrecs & 1) && cur->bc_levels[level].ptr <= rrecs + 1) in __xfs_btree_split()
2870 src_index = (lrecs - rrecs + 1); in __xfs_btree_split()
2875 lrecs -= rrecs; in __xfs_btree_split()
2876 xfs_btree_set_numrecs(left, lrecs); in __xfs_btree_split()
2964 if (cur->bc_levels[level].ptr > lrecs + 1) { in __xfs_btree_split()
2966 cur->bc_levels[level].ptr -= lrecs; in __xfs_btree_split()
3868 int lrecs = 0; /* left record count */ in xfs_btree_delrec() local
4199 lrecs = xfs_btree_get_numrecs(left); in xfs_btree_delrec()
4210 lrecs + xfs_btree_get_numrecs(block) <= in xfs_btree_delrec()
4252 lrecs = xfs_btree_get_numrecs(left); in xfs_btree_delrec()
4266 lkp = xfs_btree_key_addr(cur, lrecs + 1, left); in xfs_btree_delrec()
4267 lpp = xfs_btree_ptr_addr(cur, lrecs + 1, left); in xfs_btree_delrec()
4280 xfs_btree_log_keys(cur, lbp, lrecs + 1, lrecs + rrecs); in xfs_btree_delrec()
4281 xfs_btree_log_ptrs(cur, lbp, lrecs + 1, lrecs + rrecs); in xfs_btree_delrec()
4287 lrp = xfs_btree_rec_addr(cur, lrecs + 1, left); in xfs_btree_delrec()
4291 xfs_btree_log_recs(cur, lbp, lrecs + 1, lrecs + rrecs); in xfs_btree_delrec()
4300 xfs_btree_set_numrecs(left, lrecs + rrecs); in xfs_btree_delrec()
4326 cur->bc_levels[level].ptr += lrecs; in xfs_btree_delrec()