Home
last modified time | relevance | path

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

/freebsd-14-stable/lib/libc/db/btree/
HDbt_delete.c146 recno_t nextpg, prevpg; in __bt_stkacq() local
170 if ((nextpg = h->nextpg) == P_INVALID) in __bt_stkacq()
205 if ((h = mpool_get(t->bt_mp, nextpg, 0)) == NULL) in __bt_stkacq()
583 if (idx == NEXTINDEX(h) - 1 && h->nextpg != P_INVALID) { in __bt_curdel()
584 if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) in __bt_curdel()
621 if (h->nextpg != P_INVALID) { in __bt_relink()
622 if ((pg = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) in __bt_relink()
630 pg->nextpg = h->nextpg; in __bt_relink()
HDbt_overflow.c105 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) { in __ovfl_get()
150 h->nextpg = h->prevpg = P_INVALID; in __ovfl_put()
158 last->nextpg = h->pgno; in __ovfl_put()
207 pg = h->nextpg; in __ovfl_delete()
HDbt_page.c61 h->nextpg = t->bt_free; in __bt_free()
88 t->bt_free = h->nextpg; in __bt_new()
HDbt_split.c350 r->nextpg = h->nextpg; in bt_page()
364 if (h->nextpg == P_INVALID && *skip == NEXTINDEX(h)) { in bt_page()
368 h->nextpg = r->pgno; in bt_page()
382 l->nextpg = r->pgno; in bt_page()
389 if (h->nextpg != P_INVALID) { in bt_page()
390 if ((tp = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) { in bt_page()
449 l->nextpg = r->pgno; in bt_root()
451 l->prevpg = r->nextpg = P_INVALID; in bt_root()
HDbt_search.c107 h->nextpg != P_INVALID && in __bt_search()
153 if ((e.page = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) in __bt_snext()
HDbt_conv.c75 M_32_SWAP(h->nextpg); in __bt_pgin()
181 M_32_SWAP(h->nextpg); in __bt_pgout()
HDbt_put.c223 if (h->nextpg == P_INVALID) { in __bt_put()
285 if (t->bt_cur.page->nextpg != P_INVALID) in bt_fast()
HDbt_seq.c274 pg = h->nextpg; in __bt_seqadv()
403 pg = h->nextpg; in __bt_first()
HDbtree.h68 pgno_t nextpg; /* right sibling */ member
HDbt_debug.c173 (void)fprintf(stderr, "\tprev %2u next %2u", h->prevpg, h->nextpg); in __bt_dpage()
HDbt_open.c376 root->prevpg = root->nextpg = P_INVALID; in nroot()
/freebsd-14-stable/contrib/netbsd-tests/lib/libc/db/
HDh_db.c551 if (h->prevpg == P_INVALID || h->nextpg == P_INVALID) in unlinkpg()
567 h->nextpg = P_INVALID; in unlinkpg()