• Home
  • Raw
  • Download

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()
632 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_insert_right()
639 if (tb->item_pos == n - tb->rnum[0] + 1 && tb->rbytes != -1) { in balance_leaf_insert_right()
658 offset = le_ih_k_offset(ih) + ((old_len - tb->rbytes) << shift); in balance_leaf_insert_right()
660 put_ih_item_len(ih, tb->rbytes); in balance_leaf_insert_right()
664 if ((old_len - tb->rbytes) > tb->zeroes_num) { in balance_leaf_insert_right()
666 r_body = body + (old_len - tb->rbytes) - tb->zeroes_num; in balance_leaf_insert_right()
670 (old_len - tb->rbytes); in balance_leaf_insert_right()
684 put_ih_item_len(ih, old_len - tb->rbytes); in balance_leaf_insert_right()
686 tb->insert_size[0] -= tb->rbytes; in balance_leaf_insert_right()
692 leaf_shift_right(tb, tb->rnum[0] - 1, tb->rbytes); in balance_leaf_insert_right()
720 if (entry_count - tb->rbytes < tb->pos_in_item) { in balance_leaf_paste_right_shift_dirent()
723 RFALSE(tb->rbytes - 1 >= entry_count || !tb->insert_size[0], in balance_leaf_paste_right_shift_dirent()
725 "rbytes=%d, entry_count=%d", tb->rbytes, entry_count); in balance_leaf_paste_right_shift_dirent()
732 leaf_shift_right(tb, tb->rnum[0], tb->rbytes - 1); in balance_leaf_paste_right_shift_dirent()
736 tb->rbytes - 1; in balance_leaf_paste_right_shift_dirent()
754 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_paste_right_shift_dirent()
780 n_shift = tb->rbytes - tb->insert_size[0]; in balance_leaf_paste_right_shift()
795 n_rem = tb->insert_size[0] - tb->rbytes; in balance_leaf_paste_right_shift()
846 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_paste_right_whole()
889 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_paste_right()
895 if (tb->item_pos == n - tb->rnum[0] && tb->rbytes != -1) in balance_leaf_paste_right()