Lines Matching refs:rnum
294 tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_right()
302 tb->rnum[h] = 0; in check_right()
319 tb->rnum[h] = vn->vn_nr_item; in check_right()
330 tb->rnum[0] = 0; in check_right()
337 tb->rnum[0]++; in check_right()
353 tb->rnum[0]++; in check_right()
586 int rnum, int blk_num, short *s012, int lb, int rb) in set_parameters() argument
590 tb->rnum[h] = rnum; in set_parameters()
604 PROC_INFO_ADD(tb->tb_sb, rnum[h], rnum); in set_parameters()
622 to_right = tb->rnum[0] - ((tb->rbytes != -1) ? 1 : 0); in is_leaf_removable()
1313 if (h && (tb->rnum[h] + tb->lnum[h] >= vn->vn_nr_item + 1)) { in ip_check_balance()
1323 ((MAX_NR_KEY(Sh) << 1) + 2 - tb->lnum[h] - tb->rnum[h] + in ip_check_balance()
1325 tb->rnum[h]); in ip_check_balance()
1334 tb->rnum[h] >= vn->vn_nr_item + 1), in ip_check_balance()
1337 (tb->rnum[h] >= vn->vn_nr_item && (tb->rbytes == -1))), in ip_check_balance()
1380 rpar = tb->rnum[h]; in ip_check_balance()
1493 tb->rnum[h] != 1 || in ip_check_balance()
1497 set_parameters(tb, h, tb->lnum[h], tb->rnum[h], in ip_check_balance()
1504 tb->rnum[h] - in ip_check_balance()
1626 if (tb->rnum[h] >= vn->vn_nr_item + 1) { in dc_check_balance_internal()
1644 if (tb->rnum[h] + tb->lnum[h] >= vn->vn_nr_item + 1) { in dc_check_balance_internal()
1650 tb->rnum[h] + vn->vn_nr_item + 1) / 2 - in dc_check_balance_internal()
1651 (MAX_NR_KEY(Sh) + 1 - tb->rnum[h]); in dc_check_balance_internal()
1666 || tb->rnum[h] < vn->vn_nr_item + 1 || !tb->FR[h]) { in dc_check_balance_internal()
1682 if (tb->rnum[h] >= vn->vn_nr_item + 1) { in dc_check_balance_internal()
1697 if (tb->rnum[h] + tb->lnum[h] >= vn->vn_nr_item + 1) { in dc_check_balance_internal()
1701 ((MAX_NR_KEY(Sh) << 1) + 2 - tb->lnum[h] - tb->rnum[h] + in dc_check_balance_internal()
1703 tb->rnum[h]); in dc_check_balance_internal()
1724 -((MAX_NR_KEY(Sh) + 1 - tb->rnum[h] + vn->vn_nr_item + in dc_check_balance_internal()
1796 …if (is_left_neighbor_in_cache(tb, h) || ((tb->rnum[0] - ((tb->rbytes == -1) ? 0 : 1)) < vn->vn_nr_… in dc_check_balance_leaf()
1808 if (tb->rnum[0] >= vn->vn_nr_item && tb->rbytes == -1) { in dc_check_balance_leaf()
1999 if (tb->rnum[h]) { /* We need right neighbor to balance S[path_offset]. */ in get_neighbors()
2228 if (!locked && (tb->rnum[i])) { in wait_tb_buffers_until_unlocked()