Home
last modified time | relevance | path

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

/dragonfly/lib/libc/db/btree/
HDbt_overflow.c87 if (pg == P_INVALID || sz == 0) in __ovfl_get()
148 h->nextpg = h->prevpg = P_INVALID; in __ovfl_put()
191 if (pg == P_INVALID || sz == 0) in __ovfl_delete()
HDbt_page.c58 h->prevpg = P_INVALID; in __bt_free()
83 if (t->bt_free != P_INVALID && in __bt_new()
HDbt_seq.c274 if (pg == P_INVALID) in __bt_seqadv()
297 if (pg == P_INVALID) in __bt_seqadv()
369 if (h->prevpg == P_INVALID) in __bt_first()
403 if (pg == P_INVALID) in __bt_first()
HDbt_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()
HDbt_delete.c168 if ((nextpg = h->nextpg) == P_INVALID) in __bt_stkacq()
223 if ((prevpg = h->prevpg) == P_INVALID) in __bt_stkacq()
569 if (idx == 0 && h->prevpg != P_INVALID) { in __bt_curdel()
581 if (idx == NEXTINDEX(h) - 1 && h->nextpg != P_INVALID) { in __bt_curdel()
619 if (h->nextpg != P_INVALID) { in __bt_relink()
625 if (h->prevpg != P_INVALID) { in __bt_relink()
HDbt_search.c101 h->prevpg != P_INVALID && in __bt_search()
105 h->nextpg != P_INVALID && in __bt_search()
HDbt_split.c179 (h->prevpg != P_INVALID || skip > 1)) { in __bt_split()
360 if (h->nextpg == P_INVALID && *skip == NEXTINDEX(h)) { in bt_page()
385 if (h->nextpg != P_INVALID) { in bt_page()
447 l->prevpg = r->nextpg = P_INVALID; in bt_root()
HDbt_open.c271 t->bt_free = P_INVALID; in __bt_open()
382 root->prevpg = root->nextpg = P_INVALID; in nroot()
HDbt_utils.c157 if (e->index == 0 && h->prevpg == P_INVALID && !(h->flags & P_BLEAF)) in __bt_cmp()
HDbtree.h53 #define P_INVALID 0 /* Invalid tree page number. */ macro