Lines Matching refs:rnum
190 if (tb->rnum[0] == -1) { /* R[0] must be also joined with S[0] */ in balance_leaf_when_delete()
227 RFALSE(tb->rnum[0] != 0, in balance_leaf_when_delete()
228 "PAP-12045: rnum must be 0 (%d)", tb->rnum[0]); in balance_leaf_when_delete()
238 RFALSE((tb->lnum[0] + tb->rnum[0] < n) || in balance_leaf_when_delete()
239 (tb->lnum[0] + tb->rnum[0] > n + 1), in balance_leaf_when_delete()
241 tb->rnum[0], tb->lnum[0], n); in balance_leaf_when_delete()
242 RFALSE((tb->lnum[0] + tb->rnum[0] == n) && in balance_leaf_when_delete()
246 RFALSE((tb->lnum[0] + tb->rnum[0] == n + 1) && in balance_leaf_when_delete()
252 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_when_delete()
259 if (tb->rnum[0] == -1) { in balance_leaf_when_delete()
266 RFALSE(tb->rnum[0], in balance_leaf_when_delete()
267 "PAP-12065: bad rnum parameter must be 0 (%d)", tb->rnum[0]); in balance_leaf_when_delete()
743 if (tb->rnum[0] > 0) { in balance_leaf()
749 if (n - tb->rnum[0] < item_pos) { /* new item or its part falls to R[0] */ in balance_leaf()
750 … if (item_pos == n - tb->rnum[0] + 1 && tb->rbytes != -1) { /* part of new item falls into R[0] */ in balance_leaf()
757 leaf_shift_right(tb, tb->rnum[0] - 1, in balance_leaf()
811 tb->rnum[0] - 1, in balance_leaf()
817 tb->rnum[0] - 1, in balance_leaf()
821 if (item_pos - n + tb->rnum[0] - 1 == 0) { in balance_leaf()
831 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf()
837 if (n - tb->rnum[0] <= item_pos) { /* pasted item or part of it falls to R[0] */ in balance_leaf()
838 …if (item_pos == n - tb->rnum[0] && tb->rbytes != -1) { /* we must shift the part of the appended i… in balance_leaf()
864 rnum in balance_leaf()
919 rnum in balance_leaf()
947 tb->rnum[0], in balance_leaf()
1048 leaf_shift_right(tb, tb->rnum[0], in balance_leaf()
1057 rnum[0], in balance_leaf()
1069 tb->rnum[0]); in balance_leaf()
1075 tb->rnum[0], in balance_leaf()
1090 tb->rnum[0], in balance_leaf()
1108 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf()
1136 RFALSE(!tb->lnum[0] || !tb->rnum[0], in balance_leaf()
1851 if (tb->rnum[0]) { in check_before_balancing()
1876 if (tb->rnum[0]) { in check_after_balance_leaf()
1929 if (tb->rnum[h]) in check_internal_levels()