Home
last modified time | relevance | path

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

/freebsd/lib/libc/db/btree/
H A Dbt_open.c267 t->bt_psize = b.psize; in __bt_open()
276 ncache = howmany(b.cachesize, t->bt_psize); in __bt_open()
289 t->bt_ovflsize = (t->bt_psize - BTDATAOFF) / b.minkeypage - in __bt_open()
297 mpool_open(NULL, t->bt_fd, t->bt_psize, ncache)) == NULL) in __bt_open()
375 root->upper = t->bt_psize; in nroot()
377 memset(meta, 0, t->bt_psize); in nroot()
H A Dbt_overflow.c101 plen = t->bt_psize - BTDATAOFF; in __ovfl_get()
140 plen = t->bt_psize - BTDATAOFF; in __ovfl_put()
203 for (plen = t->bt_psize - BTDATAOFF;; sz -= plen) { in __ovfl_delete()
H A Dbt_split.c346 r->upper = t->bt_psize; in bt_page()
374 if ((l = (PAGE *)calloc(1, t->bt_psize)) == NULL) { in bt_page()
382 l->upper = t->bt_psize; in bt_page()
406 memmove(h, l, t->bt_psize); in bt_page()
450 l->upper = r->upper = t->bt_psize; in bt_root()
479 h->linp[0] = h->upper = t->bt_psize - NRINTERNAL; in bt_rroot()
528 h->linp[0] = h->upper = t->bt_psize - nbytes; in bt_broot()
610 full = t->bt_psize - BTDATAOFF; in bt_psplit()
H A Dbt_debug.c61 F_ISSET(t, B_INMEM) ? "memory" : "disk", t->bt_psize); in __bt_dump()
296 pleaf *= t->bt_psize - BTDATAOFF; in __bt_stat()
302 pinternal *= t->bt_psize - BTDATAOFF; in __bt_stat()
H A Dbt_close.c167 m.psize = t->bt_psize; in bt_meta()
H A Dbtree.h326 u_int32_t bt_psize; /* page size */ member
H A Dbt_delete.c408 pg->upper = t->bt_psize; in __bt_pdelete()