Lines Matching refs:B_NR_ITEMS

208 	RFALSE(first_p < 0 || first_p + del_num > B_NR_ITEMS(cur) + 1  in internal_delete_pointers_items()
213 B_NR_ITEMS(cur) + 1, first_i); in internal_delete_pointers_items()
227 RFALSE(first_i + del_num > B_NR_ITEMS(cur), in internal_delete_pointers_items()
296 nr_src = B_NR_ITEMS(src); in internal_copy_pointers_items()
305 RFALSE(cpy_num - 1 + B_NR_ITEMS(dest) > (int)MAX_NR_KEY(dest), in internal_copy_pointers_items()
307 cpy_num, B_NR_ITEMS(dest), MAX_NR_KEY(dest)); in internal_copy_pointers_items()
397 B_NR_ITEMS(src_bi->bi_bh)) + 1) ? 0 : j - cpy_num + in internal_move_pointers_items()
420 RFALSE(dest_position_before > B_NR_ITEMS(dest) || in internal_insert_key()
421 src_position >= B_NR_ITEMS(src), in internal_insert_key()
423 dest_position_before, B_NR_ITEMS(dest), in internal_insert_key()
424 src_position, B_NR_ITEMS(src)); in internal_insert_key()
477 internal_insert_key(&dest_bi, B_NR_ITEMS(dest_bi.bi_bh), cf, in internal_shift_left()
480 if (B_NR_ITEMS(src_bi.bi_bh) == pointer_amount - 1) { in internal_shift_left()
511 internal_insert_key(&dest_bi, B_NR_ITEMS(dest_bi.bi_bh), cf, in internal_shift1_left()
538 nr = B_NR_ITEMS(src_bi.bi_bh); in internal_shift_right()
610 n = B_NR_ITEMS(tbSh); in balance_internal_when_delete()
625 if (!tb->L[h - 1] || !B_NR_ITEMS(tb->L[h - 1])) in balance_internal_when_delete()
651 if (tb->L[h] && tb->lnum[h] == -B_NR_ITEMS(tb->L[h]) - 1) { /* join S[h] with L[h] */ in balance_internal_when_delete()
663 if (tb->R[h] && tb->rnum[h] == -B_NR_ITEMS(tb->R[h]) - 1) { /* join S[h] with R[h] */ in balance_internal_when_delete()
717 if (B_NR_ITEMS(PATH_H_PBUFFER(tb->tb_path, h)) == 0) in replace_lkey()
731 RFALSE(B_NR_ITEMS(tb->R[h]) == 0, in replace_rkey()
733 B_NR_ITEMS(tb->R[h])); in replace_rkey()
800 n = B_NR_ITEMS(tb->L[h]); /* number of items in L[h] */ in balance_internal()
864 n = B_NR_ITEMS(tbSh); /* number of items in S[h] */ in balance_internal()
994 n = B_NR_ITEMS(tbSh); /* number of items in S[h] */ in balance_internal()
1072 n = B_NR_ITEMS(tbSh); /*number of items in S[h] */ in balance_internal()