Home
last modified time | relevance | path

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

/freebsd-14.2/lib/libc/db/btree/
H A Dbt_page.c60 h->prevpg = P_INVALID; in __bt_free()
85 if (t->bt_free != P_INVALID && in __bt_new()
H A Dbt_overflow.c89 if (pg == P_INVALID || sz == 0) in __ovfl_get()
150 h->nextpg = h->prevpg = P_INVALID; in __ovfl_put()
193 if (pg == P_INVALID || sz == 0) in __ovfl_delete()
H A Dbt_put.c223 if (h->nextpg == P_INVALID) { in __bt_put()
229 } else if (h->prevpg == P_INVALID) { in __bt_put()
285 if (t->bt_cur.page->nextpg != P_INVALID) in bt_fast()
293 if (t->bt_cur.page->prevpg != P_INVALID) in bt_fast()
H A Dbt_seq.c276 if (pg == P_INVALID) in __bt_seqadv()
299 if (pg == P_INVALID) in __bt_seqadv()
371 if (h->prevpg == P_INVALID) in __bt_first()
405 if (pg == P_INVALID) in __bt_first()
H A Dbt_delete.c170 if ((nextpg = h->nextpg) == P_INVALID) in __bt_stkacq()
225 if ((prevpg = h->prevpg) == P_INVALID) in __bt_stkacq()
571 if (idx == 0 && h->prevpg != P_INVALID) { in __bt_curdel()
583 if (idx == NEXTINDEX(h) - 1 && h->nextpg != P_INVALID) { in __bt_curdel()
621 if (h->nextpg != P_INVALID) { in __bt_relink()
627 if (h->prevpg != P_INVALID) { in __bt_relink()
H A Dbt_search.c103 h->prevpg != P_INVALID && in __bt_search()
107 h->nextpg != P_INVALID && in __bt_search()
H A Dbt_split.c180 (h->prevpg != P_INVALID || skip > 1)) { in __bt_split()
364 if (h->nextpg == P_INVALID && *skip == NEXTINDEX(h)) { in bt_page()
389 if (h->nextpg != P_INVALID) { in bt_page()
451 l->prevpg = r->nextpg = P_INVALID; in bt_root()
H A Dbt_open.c265 t->bt_free = P_INVALID; in __bt_open()
376 root->prevpg = root->nextpg = P_INVALID; in nroot()
H A Dbt_utils.c159 if (e->index == 0 && h->prevpg == P_INVALID && !(h->flags & P_BLEAF)) in __bt_cmp()
H A Dbtree.h53 #define P_INVALID 0 /* Invalid tree page number. */ macro
/freebsd-14.2/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()