Lines Matching refs:lnum

206 	tb->lnum[h] = cur_free / (DC_SIZE + KEY_SIZE);  in check_left()
214 tb->lnum[h] = 0; in check_left()
229 tb->lnum[0] = vn->vn_nr_item; in check_left()
241 tb->lnum[0] = 0; in check_left()
247 tb->lnum[0] ++; in check_left()
263 tb->lnum[0] ++; in check_left()
557 static void set_parameters (struct tree_balance * tb, int h, int lnum, in set_parameters() argument
561 tb->lnum[h] = lnum; in set_parameters()
578 PROC_INFO_ADD( tb -> tb_sb, lnum[ h ], lnum ); in set_parameters()
598 to_left = tb->lnum[0] - ((tb->lbytes != -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()
1307 ( tb->lnum[h] >= vn->vn_nr_item + 1 || in ip_check_balance()
1310 RFALSE( ! h && ((tb->lnum[h] >= vn->vn_nr_item && (tb->lbytes == -1)) || in ip_check_balance()
1356 lpar = tb->lnum[h]; in ip_check_balance()
1458 (tb->lnum[h] != 1 || in ip_check_balance()
1463 set_parameters (tb, h, tb->lnum[h], tb->rnum[h], lrnver, snum012 + lrset, in ip_check_balance()
1466 set_parameters (tb, h, tb->lnum[h] - ((tb->lbytes == -1) ? 0 : 1), in ip_check_balance()
1583 if ( tb->lnum[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()
1626 if (tb->lnum[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()
1669 from_l = (MAX_NR_KEY(Sh) + 1 - tb->lnum[h] + vn->vn_nr_item + 1) / 2 - (vn->vn_nr_item + 1); in dc_check_balance_internal()
1748 if (tb->lnum[0] >= vn->vn_nr_item && tb->lbytes == -1) in dc_check_balance_leaf()
1918 if ( p_s_tb->lnum[n_h] ) { in get_neighbors()
2163 if (p_s_tb->lnum[i] ) { in wait_tb_buffers_until_unlocked()