Lines Matching refs:cur_free
194 static void check_left(struct tree_balance *tb, int h, int cur_free)
201 RFALSE(cur_free < 0, "vs-8050: cur_free (%d) < 0", cur_free);
205 tb->lnum[h] = cur_free / (DC_SIZE + KEY_SIZE);
211 if (!cur_free || !vn->vn_nr_item) {
222 if ((unsigned int)cur_free >=
245 if (cur_free >= d_size) {
247 cur_free -= d_size;
259 if (cur_free <= ih_size) {
263 cur_free -= ih_size;
265 tb->lbytes = op_check_left(vi, cur_free, 0, 0);
280 static void check_right(struct tree_balance *tb, int h, int cur_free)
287 RFALSE(cur_free < 0, "vs-8070: cur_free < 0");
291 tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE);
297 if (!cur_free || !vn->vn_nr_item) {
308 if ((unsigned int)cur_free >=
331 if (cur_free >= d_size) {
333 cur_free -= d_size;
344 if (cur_free <= ih_size) {
353 cur_free -= ih_size; /* cur_free is still > 0 */
355 tb->rbytes = op_check_right(vi, cur_free);