Lines Matching refs:rnum

154 		if (tb->rnum[0] == -1) {  in balance_leaf_when_delete_left()
191 RFALSE(tb->rnum[0] != 0, in balance_leaf_when_delete_left()
192 "PAP-12045: rnum must be 0 (%d)", tb->rnum[0]); in balance_leaf_when_delete_left()
206 RFALSE((tb->lnum[0] + tb->rnum[0] < n) || in balance_leaf_when_delete_left()
207 (tb->lnum[0] + tb->rnum[0] > n + 1), in balance_leaf_when_delete_left()
210 tb->rnum[0], tb->lnum[0], n); in balance_leaf_when_delete_left()
211 RFALSE((tb->lnum[0] + tb->rnum[0] == n) && in balance_leaf_when_delete_left()
216 RFALSE((tb->lnum[0] + tb->rnum[0] == n + 1) && in balance_leaf_when_delete_left()
223 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_when_delete_left()
274 if (tb->rnum[0] == -1) { in balance_leaf_when_delete()
281 RFALSE(tb->rnum[0], in balance_leaf_when_delete()
282 "PAP-12065: bad rnum parameter must be 0 (%d)", tb->rnum[0]); in balance_leaf_when_delete()
631 if (n - tb->rnum[0] >= tb->item_pos) { in balance_leaf_insert_right()
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()
645 leaf_shift_right(tb, tb->rnum[0] - 1, -1); in balance_leaf_insert_right()
692 leaf_shift_right(tb, tb->rnum[0] - 1, tb->rbytes); in balance_leaf_insert_right()
696 leaf_insert_into_buf(&bi, tb->item_pos - n + tb->rnum[0] - 1, in balance_leaf_insert_right()
699 if (tb->item_pos - n + tb->rnum[0] - 1 == 0) in balance_leaf_insert_right()
732 leaf_shift_right(tb, tb->rnum[0], 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()
789 leaf_shift_right(tb, tb->rnum[0], n_shift); in balance_leaf_paste_right_shift()
846 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_paste_right_whole()
851 leaf_paste_in_buffer(&bi, tb->item_pos - n + tb->rnum[0], in balance_leaf_paste_right_whole()
857 pasted = item_head(tb->R[0], tb->item_pos - n + tb->rnum[0]); in balance_leaf_paste_right_whole()
859 leaf_paste_entries(&bi, tb->item_pos - n + tb->rnum[0], in balance_leaf_paste_right_whole()
866 RFALSE(tb->item_pos - n + tb->rnum[0], in balance_leaf_paste_right_whole()
888 if (n - tb->rnum[0] > tb->item_pos) { in balance_leaf_paste_right()
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()
908 if (tb->rnum[0] <= 0) in balance_leaf_right()
1430 RFALSE(!tb->lnum[0] || !tb->rnum[0], in balance_leaf()
1669 if (tb->rnum[0]) { in check_before_balancing()
1694 if (tb->rnum[0]) { in check_after_balance_leaf()
1747 if (tb->rnum[h]) in check_internal_levels()