Lines Matching refs:pg
146 pgno_t pg;
168 for (pg = P_ROOT;;) {
169 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
180 pg = GETBINTERNAL(h, 0)->pgno;
189 for (pg = P_ROOT;;) {
190 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
201 pg = GETBINTERNAL(h, NEXTINDEX(h) - 1)->pgno;
232 pgno_t pg;
253 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
269 idx = c->pg.index;
271 pg = h->nextpg;
273 if (pg == P_INVALID)
275 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
289 ep->index = c->pg.index;
292 idx = c->pg.index;
294 pg = h->prevpg;
296 if (pg == P_INVALID)
298 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
330 pgno_t pg;
400 pg = h->nextpg;
402 if (pg == P_INVALID)
404 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
434 t->bt_cursor.pg.pgno = pgno;
435 t->bt_cursor.pg.index = idx;