Lines Matching refs:rbytes

217 		(tb->lbytes != -1 || tb->rbytes != -1),  in balance_leaf_when_delete()
219 tb->rbytes, tb->lbytes); in balance_leaf_when_delete()
221 (tb->lbytes < 1 || tb->rbytes != -1), in balance_leaf_when_delete()
223 tb->rbytes, tb->lbytes); in balance_leaf_when_delete()
226 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_when_delete()
554 if ( item_pos == n - tb->rnum[0] + 1 && tb->rbytes != -1 ) in balance_leaf()
569 …offset = le_ih_k_offset( ih ) + ((old_len - tb->rbytes )<<(is_indirect_le_ih(ih)?tb->tb_sb->s_bloc… in balance_leaf()
571 put_ih_item_len( ih, tb->rbytes); in balance_leaf()
577 if ( (old_len - tb->rbytes) > zeros_num ) { in balance_leaf()
579 r_body = body + (old_len - tb->rbytes) - zeros_num; in balance_leaf()
583 r_zeros_number = zeros_num - (old_len - tb->rbytes); in balance_leaf()
594 put_ih_item_len( ih, old_len - tb->rbytes ); in balance_leaf()
596 tb->insert_size[0] -= tb->rbytes; in balance_leaf()
602 ret_val = leaf_shift_right(tb,tb->rnum[0]-1,tb->rbytes); in balance_leaf()
619 leaf_shift_right(tb,tb->rnum[0],tb->rbytes); in balance_leaf()
627 if ( item_pos == n - tb->rnum[0] && tb->rbytes != -1 ) in balance_leaf()
636 if ( entry_count - tb->rbytes < pos_in_item ) in balance_leaf()
641 RFALSE( tb->rbytes - 1 >= entry_count || in balance_leaf()
644 tb->rbytes, entry_count); in balance_leaf()
646 leaf_shift_right(tb,tb->rnum[0],tb->rbytes - 1); in balance_leaf()
648 paste_entry_position = pos_in_item - entry_count + tb->rbytes - 1; in balance_leaf()
671 leaf_shift_right(tb,tb->rnum[0],tb->rbytes); in balance_leaf()
680 if ( (n_shift = tb->rbytes - tb->insert_size[0]) < 0 ) in balance_leaf()
689 if ( (n_rem = tb->insert_size[0] - tb->rbytes) < 0 ) in balance_leaf()
743 ret_val = leaf_shift_right(tb,tb->rnum[0],tb->rbytes); in balance_leaf()
778 leaf_shift_right(tb,tb->rnum[0],tb->rbytes); in balance_leaf()