Home
last modified time | relevance | path

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

/freebsd/lib/libc/db/btree/
H A Dbt_overflow.c86 if (pg == P_INVALID || sz == 0) in __ovfl_get()
147 h->nextpg = h->prevpg = P_INVALID; in __ovfl_put()
190 if (pg == P_INVALID || sz == 0) in __ovfl_delete()
H A Dbt_page.c57 h->prevpg = P_INVALID; in __bt_free()
82 if (t->bt_free != P_INVALID && in __bt_new()
H A Dbt_put.c220 if (h->nextpg == P_INVALID) { in __bt_put()
226 } else if (h->prevpg == P_INVALID) { in __bt_put()
282 if (t->bt_cur.page->nextpg != P_INVALID) in bt_fast()
290 if (t->bt_cur.page->prevpg != P_INVALID) in bt_fast()
H A Dbt_seq.c273 if (pg == P_INVALID) in __bt_seqadv()
296 if (pg == P_INVALID) in __bt_seqadv()
368 if (h->prevpg == P_INVALID) in __bt_first()
402 if (pg == P_INVALID) in __bt_first()
H A Dbt_delete.c167 if ((nextpg = h->nextpg) == P_INVALID) in __bt_stkacq()
222 if ((prevpg = h->prevpg) == P_INVALID) in __bt_stkacq()
568 if (idx == 0 && h->prevpg != P_INVALID) { in __bt_curdel()
580 if (idx == NEXTINDEX(h) - 1 && h->nextpg != P_INVALID) { in __bt_curdel()
618 if (h->nextpg != P_INVALID) { in __bt_relink()
624 if (h->prevpg != P_INVALID) { in __bt_relink()
H A Dbt_search.c100 h->prevpg != P_INVALID && in __bt_search()
104 h->nextpg != P_INVALID && in __bt_search()
H A Dbt_split.c177 (h->prevpg != P_INVALID || skip > 1)) { in __bt_split()
361 if (h->nextpg == P_INVALID && *skip == NEXTINDEX(h)) { in bt_page()
386 if (h->nextpg != P_INVALID) { in bt_page()
448 l->prevpg = r->nextpg = P_INVALID; in bt_root()
H A Dbt_open.c262 t->bt_free = P_INVALID; in __bt_open()
373 root->prevpg = root->nextpg = P_INVALID; in nroot()
H A Dbt_utils.c156 if (e->index == 0 && h->prevpg == P_INVALID && !(h->flags & P_BLEAF)) in __bt_cmp()
H A Dbtree.h51 #define P_INVALID 0 /* Invalid tree page number. */ macro
/freebsd/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()