Lines Matching refs:rnum

285 	tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE);  in check_right()
293 tb->rnum[h] = 0; in check_right()
308 tb->rnum[h] = vn->vn_nr_item; in check_right()
319 tb->rnum[0] = 0; in check_right()
325 tb->rnum[0] ++; in check_right()
341 tb->rnum[0] ++; in check_right()
558 int rnum, int blk_num, short * s012, int lb, int rb) in set_parameters() argument
562 tb->rnum[h] = rnum; in set_parameters()
579 PROC_INFO_ADD( tb -> tb_sb, rnum[ h ], rnum ); in set_parameters()
599 to_right = tb->rnum[0] - ((tb->rbytes != -1) ? 1 : 0); in is_leaf_removable()
1290 if (h && (tb->rnum[h] + tb->lnum[h] >= vn->vn_nr_item + 1)) { in ip_check_balance()
1299 to_r = ((MAX_NR_KEY(Sh)<<1)+2-tb->lnum[h]-tb->rnum[h]+vn->vn_nr_item+1)/2 - in ip_check_balance()
1300 (MAX_NR_KEY(Sh) + 1 - tb->rnum[h]); in ip_check_balance()
1308 tb->rnum[h] >= vn->vn_nr_item + 1), in ip_check_balance()
1311 (tb->rnum[h] >= vn->vn_nr_item && (tb->rbytes == -1)) ), in ip_check_balance()
1357 rpar = tb->rnum[h]; in ip_check_balance()
1459 tb->rnum[h] != 1 || in ip_check_balance()
1463 set_parameters (tb, h, tb->lnum[h], tb->rnum[h], lrnver, snum012 + lrset, in ip_check_balance()
1467 tb->rnum[h] - ((tb->rbytes == -1) ? 0 : 1), lrnver, snum012 + lrset, -1, -1); in ip_check_balance()
1595 if ( tb->rnum[h] >= vn->vn_nr_item + 1 ) in dc_check_balance_internal()
1608 if (tb->rnum[h] + tb->lnum[h] >= vn->vn_nr_item + 1) in dc_check_balance_internal()
1613 to_r = ((MAX_NR_KEY(Sh)<<1)+2-tb->lnum[h]-tb->rnum[h]+vn->vn_nr_item+1)/2 - in dc_check_balance_internal()
1614 (MAX_NR_KEY(Sh) + 1 - tb->rnum[h]); in dc_check_balance_internal()
1627 if (is_left_neighbor_in_cache (tb,h) || tb->rnum[h] < vn->vn_nr_item + 1 || !tb->FR[h]) in dc_check_balance_internal()
1639 if (tb->rnum[h] >= vn->vn_nr_item + 1) in dc_check_balance_internal()
1651 if (tb->rnum[h] + tb->lnum[h] >= vn->vn_nr_item + 1) in dc_check_balance_internal()
1655 to_r = ((MAX_NR_KEY(Sh)<<1)+2-tb->lnum[h]-tb->rnum[h]+vn->vn_nr_item+1)/2 - in dc_check_balance_internal()
1656 (MAX_NR_KEY(Sh) + 1 - tb->rnum[h]); in dc_check_balance_internal()
1674 …set_parameters (tb, h, 0, -((MAX_NR_KEY(Sh)+1-tb->rnum[h]+vn->vn_nr_item+1)/2-(vn->vn_nr_item+1)),… in dc_check_balance_internal()
1750 ((tb->rnum[0] - ((tb->rbytes == -1) ? 0 : 1)) < vn->vn_nr_item) || /* S can not be merged with R */ in dc_check_balance_leaf()
1761 if (tb->rnum[0] >= vn->vn_nr_item && tb->rbytes == -1) { in dc_check_balance_leaf()
1952 if ( p_s_tb->rnum[n_h] ) { /* We need right neighbor to balance S[n_path_offset]. */ in get_neighbors()
2188 if ( !locked && (p_s_tb->rnum[i]) ) { in wait_tb_buffers_until_unlocked()