Home
last modified time | relevance | path

Searched refs:bt_psize (Results 1 – 7 of 7) sorted by relevance

/dragonfly/lib/libc/db/btree/
HDbt_open.c276 t->bt_psize = b.psize; in __bt_open()
285 ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize; in __bt_open()
298 t->bt_ovflsize = (t->bt_psize - BTDATAOFF) / b.minkeypage - in __bt_open()
306 mpool_open(NULL, t->bt_fd, t->bt_psize, ncache)) == NULL) in __bt_open()
384 root->upper = t->bt_psize; in nroot()
386 memset(meta, 0, t->bt_psize); in nroot()
HDbt_overflow.c102 plen = t->bt_psize - BTDATAOFF; in __ovfl_get()
141 plen = t->bt_psize - BTDATAOFF; in __ovfl_put()
204 for (plen = t->bt_psize - BTDATAOFF;; sz -= plen) { in __ovfl_delete()
HDbt_split.c345 r->upper = t->bt_psize; in bt_page()
373 if ((l = (PAGE *)calloc(1, t->bt_psize)) == NULL) { in bt_page()
381 l->upper = t->bt_psize; in bt_page()
405 memmove(h, l, t->bt_psize); in bt_page()
449 l->upper = r->upper = t->bt_psize; in bt_root()
478 h->linp[0] = h->upper = t->bt_psize - NRINTERNAL; in bt_rroot()
527 h->linp[0] = h->upper = t->bt_psize - nbytes; in bt_broot()
606 full = t->bt_psize - BTDATAOFF; in bt_psplit()
HDbt_debug.c62 F_ISSET(t, B_INMEM) ? "memory" : "disk", t->bt_psize); in __bt_dump()
298 pleaf *= t->bt_psize - BTDATAOFF; in __bt_stat()
304 pinternal *= t->bt_psize - BTDATAOFF; in __bt_stat()
HDbt_close.c167 m.psize = t->bt_psize; in bt_meta()
HDbtree.h329 uint32_t bt_psize; /* page size */ member
HDbt_delete.c409 pg->upper = t->bt_psize; in __bt_pdelete()