Home
last modified time | relevance | path

Searched refs:nextpg (Results 1 – 12 of 12) sorted by relevance

/freebsd/lib/libc/db/btree/
H A Dbt_delete.c143 recno_t nextpg, prevpg; in __bt_stkacq() local
167 if ((nextpg = h->nextpg) == P_INVALID) in __bt_stkacq()
202 if ((h = mpool_get(t->bt_mp, nextpg, 0)) == NULL) in __bt_stkacq()
580 if (idx == NEXTINDEX(h) - 1 && h->nextpg != P_INVALID) { in __bt_curdel()
581 if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) in __bt_curdel()
618 if (h->nextpg != P_INVALID) { in __bt_relink()
619 if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) in __bt_relink()
627 pg->nextpg = h->nextpg; in __bt_relink()
H A Dbt_overflow.c102 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) { in __ovfl_get()
147 h->nextpg = h->prevpg = P_INVALID; in __ovfl_put()
155 last->nextpg = h->pgno; in __ovfl_put()
204 pg = h->nextpg; in __ovfl_delete()
H A Dbt_split.c347 r->nextpg = h->nextpg; in bt_page()
361 if (h->nextpg == P_INVALID && *skip == NEXTINDEX(h)) { in bt_page()
365 h->nextpg = r->pgno; in bt_page()
379 l->nextpg = r->pgno; in bt_page()
386 if (h->nextpg != P_INVALID) { in bt_page()
387 if ((tp = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) { in bt_page()
446 l->nextpg = r->pgno; in bt_root()
448 l->prevpg = r->nextpg = P_INVALID; in bt_root()
H A Dbt_page.c58 h->nextpg = t->bt_free; in __bt_free()
85 t->bt_free = h->nextpg; in __bt_new()
H A Dbt_search.c104 h->nextpg != P_INVALID && in __bt_search()
150 if ((e.page = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) in __bt_snext()
H A Dbt_conv.c72 M_32_SWAP(h->nextpg); in __bt_pgin()
178 M_32_SWAP(h->nextpg); in __bt_pgout()
H A Dbt_put.c220 if (h->nextpg == P_INVALID) { in __bt_put()
282 if (t->bt_cur.page->nextpg != P_INVALID) in bt_fast()
H A Dbt_seq.c271 pg = h->nextpg; in __bt_seqadv()
400 pg = h->nextpg; in __bt_first()
H A Dbtree.h66 pgno_t nextpg; /* right sibling */ member
H A Dbt_debug.c170 (void)fprintf(stderr, "\tprev %2u next %2u", h->prevpg, h->nextpg); in __bt_dpage()
H A Dbt_open.c373 root->prevpg = root->nextpg = P_INVALID; in nroot()
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c551 if (h->prevpg == P_INVALID || h->nextpg == P_INVALID) in unlinkpg()
567 h->nextpg = P_INVALID; in unlinkpg()