Lines Matching refs:PAGE
90 /* Toss any page pinned across calls. */
99 * the page the cursor references if they're successful.
122 __bt_setcur(t, e.page->pgno, (u_int)e.index);
129 * key/data, toss the page.
132 mpool_put(t->bt_mp, e.page, 0);
134 t->bt_pinned = e.page;
150 * Pins the page the cursor references.
158 PAGE *h;
199 ep->page = h;
224 ep->page = h;
240 * Pins the page the new key/data record is on.
249 PAGE *h;
294 * Kluge -- get, release, get the page.
296 c->pg.pgno = ep->page->pgno;
298 mpool_put(t->bt_mp, ep->page, 0);
301 /* Get the page referenced by the cursor. */
322 ep->page = h;
344 ep->page = h;
351 ep->page = h;
367 ep->page = h;
372 * Get the first item on the next page, but by going up and down the tree.
377 PAGE *h;
382 h = ep->page;
405 ep->page = h;
411 * Get the last item on the previous page, but by going up and down the tree.
416 PAGE *h;
421 h = ep->page;
444 ep->page = h;
466 PAGE *h, *hprev;
471 * Find any matching record; __bt_search pins the page.
476 * page) and return it.
492 h = ep->page;
494 if (save.page->pgno != ep->page->pgno) {
495 mpool_put(t->bt_mp, save.page, 0);
501 * Don't unpin the page the last (or original) match
508 if (h->pgno != save.page->pgno)
512 if (h->pgno == save.page->pgno)
514 save.page, 0);
517 ep->page = h = hprev;
524 * Reach here with the last page that was looked at pinned,
526 * match page. If it's not useful, release it.
528 if (h->pgno != save.page->pgno)
535 /* If at the end of a page, find the next entry. */
536 if (ep->index == NEXTINDEX(ep->page)) {
537 h = ep->page;
545 ep->page = h;
557 * pgno: page number
558 * idx: page index