Searched refs:bt_psize (Results 1 – 7 of 7) sorted by relevance
| /dragonfly/lib/libc/db/btree/ |
| HD | bt_open.c | 276 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()
|
| HD | bt_overflow.c | 102 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()
|
| HD | bt_split.c | 345 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()
|
| HD | bt_debug.c | 62 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()
|
| HD | bt_close.c | 167 m.psize = t->bt_psize; in bt_meta()
|
| HD | btree.h | 329 uint32_t bt_psize; /* page size */ member
|
| HD | bt_delete.c | 409 pg->upper = t->bt_psize; in __bt_pdelete()
|