Lines Matching defs:stack
55 * it in the stack.
60 __bam_get_root(dbc, pg, slevel, flags, stack)
65 int *stack;
90 *stack = LF_ISSET(SR_STACK) &&
93 if (*stack ||
129 if (!*stack &&
133 *stack = 1;
255 int adjust, cmp, deloffset, ret, set_stack, stack, t_ret;
290 retry: if ((ret = __bam_get_root(dbc, root_pgno, slevel, flags, &stack)) != 0)
297 set_stack = stack;
302 * a stack of nodes. SR_NEXT will eventually get a stack and
311 (stack || LF_ISSET(SR_NEXT | SR_DEL)));
440 * page, push the key page on the stack
448 set_stack = stack = 1;
516 set_stack = stack = 1;
533 } else if (stack) {
550 set_stack = stack = 0;
565 * page in the return stack. If so, latch it and don't
566 * unlatch it. We will want to stack things on the
567 * next iteration. The stack variable cannot be
587 * point if so save the parent and set stack.
600 * We are pushing the things on the stack,
601 * set the stack variable now to indicate this
604 stack = set_stack = 1;
667 * have an extra level saved in the stack,
670 if (LF_ISSET(SR_DEL | SR_NEXT) && !stack)
750 skip_lock: stack = set_stack;
880 * Release all pages currently held in the stack.
932 /* Clear the stack, all pages have been released. */
941 * Grow the stack.
959 if (cp->sp != cp->stack)