Lines Matching refs:rbytes

212 	       (tb->lbytes != -1 || tb->rbytes != -1),  in balance_leaf_when_delete_left()
215 tb->rbytes, tb->lbytes); in balance_leaf_when_delete_left()
217 (tb->lbytes < 1 || tb->rbytes != -1), in balance_leaf_when_delete_left()
220 tb->rbytes, tb->lbytes); in balance_leaf_when_delete_left()
223 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_when_delete_left()
639 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_insert_right()
646 if (tb->item_pos == n - tb->rnum[0] + 1 && tb->rbytes != -1) { in balance_leaf_insert_right()
667 offset = le_ih_k_offset(ih) + ((old_len - tb->rbytes) << shift); in balance_leaf_insert_right()
669 put_ih_item_len(ih, tb->rbytes); in balance_leaf_insert_right()
673 if ((old_len - tb->rbytes) > tb->zeroes_num) { in balance_leaf_insert_right()
675 r_body = body + (old_len - tb->rbytes) - tb->zeroes_num; in balance_leaf_insert_right()
679 (old_len - tb->rbytes); in balance_leaf_insert_right()
693 put_ih_item_len(ih, old_len - tb->rbytes); in balance_leaf_insert_right()
695 tb->insert_size[0] -= tb->rbytes; in balance_leaf_insert_right()
701 ret = leaf_shift_right(tb, tb->rnum[0] - 1, tb->rbytes); in balance_leaf_insert_right()
729 if (entry_count - tb->rbytes < tb->pos_in_item) { in balance_leaf_paste_right_shift_dirent()
732 RFALSE(tb->rbytes - 1 >= entry_count || !tb->insert_size[0], in balance_leaf_paste_right_shift_dirent()
734 "rbytes=%d, entry_count=%d", tb->rbytes, entry_count); in balance_leaf_paste_right_shift_dirent()
741 leaf_shift_right(tb, tb->rnum[0], tb->rbytes - 1); in balance_leaf_paste_right_shift_dirent()
745 tb->rbytes - 1; in balance_leaf_paste_right_shift_dirent()
763 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_paste_right_shift_dirent()
789 n_shift = tb->rbytes - tb->insert_size[0]; in balance_leaf_paste_right_shift()
804 n_rem = tb->insert_size[0] - tb->rbytes; in balance_leaf_paste_right_shift()
855 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_paste_right_whole()
898 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_paste_right()
904 if (tb->item_pos == n - tb->rnum[0] && tb->rbytes != -1) in balance_leaf_paste_right()