| /freebsd-12-stable/include/ |
| D | mpool.h | 55 pgno_t pgno; /* page number */ 67 pgno_t curcache; /* current number of cached pages */ 68 pgno_t maxcache; /* max number of cached pages */ 69 pgno_t npages; /* number of pages in the file */ 73 void (*pgin)(void *, pgno_t, void *); 75 void (*pgout)(void *, pgno_t, void *); 97 MPOOL *mpool_open(void *, int, pgno_t, pgno_t); 98 void mpool_filter(MPOOL *, void (*)(void *, pgno_t, void *), 99 void (*)(void *, pgno_t, void *), void *); 100 void *mpool_new(MPOOL *, pgno_t *, unsigned int); [all …]
|
| D | db.h | 48 typedef uint32_t pgno_t; typedef
|
| /freebsd-12-stable/lib/libc/db/btree/ |
| D | btree.h | 67 pgno_t pgno; /* this page's page number */ 68 pgno_t prevpg; /* left sibling */ 69 pgno_t nextpg; /* right sibling */ 87 (sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ 107 #define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) 108 #define NOVFLSIZE (sizeof(pgno_t) + sizeof(u_int32_t)) 121 pgno_t pgno; /* page number stored on */ 134 LALIGN(sizeof(u_int32_t) + sizeof(pgno_t) + sizeof(u_char) + (len)) 140 *(pgno_t *)p = pgno; \ 141 p += sizeof(pgno_t); \ [all …]
|
| D | extern.h | 45 PAGE *__bt_new(BTREE *, pgno_t *); 46 void __bt_pgin(void *, pgno_t, void *); 47 void __bt_pgout(void *, pgno_t, void *); 48 int __bt_push(BTREE *, pgno_t, int); 53 void __bt_setcur(BTREE *, pgno_t, u_int); 60 int __ovfl_put(BTREE *, const DBT *, pgno_t *); 63 void __bt_dnpage(DB *, pgno_t);
|
| D | bt_conv.c | 61 __bt_pgin(void *t, pgno_t pg, void *pp) in __bt_pgin() 91 p += sizeof(pgno_t); in __bt_pgin() 95 p += sizeof(pgno_t); in __bt_pgin() 112 p += sizeof(pgno_t); in __bt_pgin() 118 p += sizeof(pgno_t); in __bt_pgin() 126 __bt_pgout(void *t, pgno_t pg, void *pp) in __bt_pgout() 148 p += sizeof(pgno_t); in __bt_pgout() 152 p += sizeof(pgno_t); in __bt_pgout() 169 p += sizeof(pgno_t); in __bt_pgout() 175 p += sizeof(pgno_t); in __bt_pgout()
|
| D | bt_overflow.c | 83 pgno_t pg; in __ovfl_get() 87 memmove(&pg, p, sizeof(pgno_t)); in __ovfl_get() 88 memmove(&sz, (char *)p + sizeof(pgno_t), sizeof(u_int32_t)); in __ovfl_get() 134 __ovfl_put(BTREE *t, const DBT *dbt, pgno_t *pg) in __ovfl_put() 138 pgno_t npg; in __ovfl_put() 188 pgno_t pg; in __ovfl_delete() 192 memmove(&pg, p, sizeof(pgno_t)); in __ovfl_delete() 193 memmove(&sz, (char *)p + sizeof(pgno_t), sizeof(u_int32_t)); in __ovfl_delete()
|
| D | bt_debug.c | 62 pgno_t i; in __bt_dump() 133 __bt_dnpage(DB *dbp, pgno_t pgno) in __bt_dnpage() 206 *(pgno_t *)bl->bytes, in __bt_dpage() 207 *(u_int32_t *)(bl->bytes + sizeof(pgno_t))); in __bt_dpage() 214 *(pgno_t *)(bl->bytes + bl->ksize), in __bt_dpage() 216 sizeof(pgno_t))); in __bt_dpage() 226 *(pgno_t *)rl->bytes, in __bt_dpage() 227 *(u_int32_t *)(rl->bytes + sizeof(pgno_t))); in __bt_dpage() 252 pgno_t i, pcont, pinternal, pleaf; in __bt_stat()
|
| D | bt_put.c | 74 pgno_t pg; in __bt_put() 128 memmove(kb, &pg, sizeof(pgno_t)); in __bt_put() 130 memmove(kb + sizeof(pgno_t), in __bt_put() 140 memmove(db, &pg, sizeof(pgno_t)); in __bt_put() 142 memmove(db + sizeof(pgno_t), in __bt_put()
|
| D | bt_seq.c | 152 pgno_t pg; in __bt_seqset() 238 pgno_t pg; in __bt_seqadv() 336 pgno_t pg; in __bt_first() 429 __bt_setcur(BTREE *t, pgno_t pgno, u_int idx) in __bt_setcur()
|
| D | bt_split.c | 53 static int bt_preserve(BTREE *, pgno_t); 241 pgno_t pgno; in __bt_split() 342 pgno_t npg; in bt_page() 440 pgno_t lnpg, rnpg; in bt_root() 552 pgno_t pgno; in bt_broot() 770 bt_preserve(BTREE *t, pgno_t pg) in bt_preserve()
|
| D | bt_page.c | 84 __bt_new(BTREE *t, pgno_t *npg) in __bt_new()
|
| D | bt_open.c | 100 pgno_t ncache; in __bt_open() 353 pgno_t npg; in nroot()
|
| D | bt_search.c | 70 pgno_t pg; in __bt_search()
|
| D | bt_delete.c | 148 pgno_t pgno; in __bt_stkacq()
|
| /freebsd-12-stable/lib/libc/db/mpool/ |
| D | mpool.c | 56 static BKT *mpool_look(MPOOL *, pgno_t); 65 mpool_open(void *key, int fd, pgno_t pagesize, pgno_t maxcache) in mpool_open() 102 mpool_filter(MPOOL *mp, void (*pgin) (void *, pgno_t, void *), in mpool_filter() argument 103 void (*pgout) (void *, pgno_t, void *), void *pgcookie) in mpool_filter() 115 mpool_new(MPOOL *mp, pgno_t *pgnoaddr, u_int flags) in mpool_new() 180 mpool_get(MPOOL *mp, pgno_t pgno, in mpool_get() 430 mpool_look(MPOOL *mp, pgno_t pgno) in mpool_look()
|
| D | mpool-compat.c | 35 void *__mpool_new__44bsd(MPOOL *, pgno_t *); 38 __mpool_new__44bsd(MPOOL *mp, pgno_t *pgnoaddr) in __mpool_new__44bsd()
|
| /freebsd-12-stable/lib/libc/db/recno/ |
| D | rec_put.c | 196 pgno_t pg; in __rec_iput() 213 *(u_int32_t *)(db + sizeof(pgno_t)) = data->size; in __rec_iput()
|
| D | rec_search.c | 70 pgno_t pg; in __rec_search()
|
| /freebsd-12-stable/lib/libc/db/test/btree.tests/ |
| D | main.c | 714 pgno_t pg;
|
| /freebsd-12-stable/contrib/netbsd-tests/lib/libc/db/ |
| D | h_db.c | 543 pgno_t pg; in unlinkpg()
|