Home
last modified time | relevance | path

Searched refs:P_INVALID (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/lib/libc/db/btree/
H A Dbt_page.c63 h->prevpg = P_INVALID; in __bt_free()
88 if (t->bt_free != P_INVALID && in __bt_new()
H A Dbt_overflow.c92 if (pg == P_INVALID || sz == 0) in __ovfl_get()
153 h->nextpg = h->prevpg = P_INVALID; in __ovfl_put()
196 if (pg == P_INVALID || sz == 0) in __ovfl_delete()
H A Dbt_put.c226 if (h->nextpg == P_INVALID) { in __bt_put()
232 } else if (h->prevpg == P_INVALID) { in __bt_put()
288 if (t->bt_cur.page->nextpg != P_INVALID) in bt_fast()
296 if (t->bt_cur.page->prevpg != P_INVALID) in bt_fast()
H A Dbt_seq.c279 if (pg == P_INVALID) in __bt_seqadv()
302 if (pg == P_INVALID) in __bt_seqadv()
374 if (h->prevpg == P_INVALID) in __bt_first()
408 if (pg == P_INVALID) in __bt_first()
H A Dbt_delete.c173 if ((nextpg = h->nextpg) == P_INVALID) in __bt_stkacq()
228 if ((prevpg = h->prevpg) == P_INVALID) in __bt_stkacq()
574 if (idx == 0 && h->prevpg != P_INVALID) { in __bt_curdel()
586 if (idx == NEXTINDEX(h) - 1 && h->nextpg != P_INVALID) { in __bt_curdel()
624 if (h->nextpg != P_INVALID) { in __bt_relink()
630 if (h->prevpg != P_INVALID) { in __bt_relink()
H A Dbt_search.c106 h->prevpg != P_INVALID && in __bt_search()
110 h->nextpg != P_INVALID && in __bt_search()
H A Dbt_split.c183 (h->prevpg != P_INVALID || skip > 1)) { in __bt_split()
367 if (h->nextpg == P_INVALID && *skip == NEXTINDEX(h)) { in bt_page()
392 if (h->nextpg != P_INVALID) { in bt_page()
454 l->prevpg = r->nextpg = P_INVALID; in bt_root()
H A Dbt_open.c268 t->bt_free = P_INVALID; in __bt_open()
379 root->prevpg = root->nextpg = P_INVALID; in nroot()
H A Dbt_utils.c162 if (e->index == 0 && h->prevpg == P_INVALID && !(h->flags & P_BLEAF)) in __bt_cmp()
H A Dbtree.h54 #define P_INVALID 0 /* Invalid tree page number. */ macro
/freebsd-12.1/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c551 if (h->prevpg == P_INVALID || h->nextpg == P_INVALID) in unlinkpg()
566 h->prevpg = P_INVALID; in unlinkpg()
567 h->nextpg = P_INVALID; in unlinkpg()