Lines Matching refs:top
342 * stack and we need the top of the stack.
603 db_indx_t indx, top;
612 * Called with the top-level cursor that may reference an off-page
633 top = NUM_ENT(cp->page) - P_INDX;; indx += P_INDX) {
636 if (indx == top ||
660 top = NUM_ENT(cp->page) - O_INDX;; indx += O_INDX) {
663 if (indx == top)
1685 db_indx_t base, lim, top;
1726 * Find the top and bottom of the duplicate set. Binary search
1729 for (base = top = cp->indx; top < NUM_ENT(cp->page); top += P_INDX)
1730 if (!IS_DUPLICATE(dbc, cp->indx, top))
1732 if (base == (top - P_INDX)) {
1740 for (lim = (top - base) / (db_indx_t)P_INDX; lim != 0; lim >>= 1) {
1771 while (cp->indx < top && IS_CUR_DELETED(dbc))
1773 return (cp->indx < top ? 0 : DB_NOTFOUND);