| /src/include/ |
| 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 *); 99 MPOOL *mpool_open(void *, int, pgno_t, pgno_t); 100 void mpool_filter(MPOOL *, void (*)(void *, pgno_t, void *), 101 void (*)(void *, pgno_t, void *), void *) [all...] |
| db.h | 47 typedef uint32_t pgno_t; typedef
|
| /src/lib/libc/db/btree/ |
| extern.h | 46 PAGE *__bt_new(BTREE *, pgno_t *); 47 void __bt_pgin(void *, pgno_t, void *); 48 void __bt_pgout(void *, pgno_t, void *); 49 int __bt_push(BTREE *, pgno_t, int); 55 void __bt_setcur(BTREE *, pgno_t, unsigned int); 62 int __ovfl_put(BTREE *, const DBT *, pgno_t *); 66 void __bt_dnpage(DB *, pgno_t);
|
| bt_conv.c | 62 __bt_pgin(void *t, pgno_t pg, void *pp) 93 p += sizeof(pgno_t); 97 p += sizeof(pgno_t); 115 p += sizeof(pgno_t); 121 p += sizeof(pgno_t); 129 __bt_pgout(void *t, pgno_t pg, void *pp) 152 p += sizeof(pgno_t); 156 p += sizeof(pgno_t); 174 p += sizeof(pgno_t); 180 p += sizeof(pgno_t); [all...] |
| btree.h | 70 pgno_t pgno; /* this page's page number */ 71 pgno_t prevpg; /* left sibling */ 72 pgno_t nextpg; /* right sibling */ 90 (sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \ 117 * The page number and size fields in the items are pgno_t-aligned so they can 121 #define BTLALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1)) 122 #define NOVFLSIZE (sizeof(pgno_t) + sizeof(uint32_t) [all...] |
| bt_overflow.c | 75 * p: pointer to { pgno_t, uint32_t } 86 pgno_t pg; 91 memmove(&sz, (char *)p + sizeof(pgno_t), sizeof(uint32_t)); 140 __ovfl_put(BTREE *t, const DBT *dbt, pgno_t *pg) 144 pgno_t npg; 191 * p: pointer to { pgno_t, uint32_t } 200 pgno_t pg; 205 (void)memmove(&sz, (char *)p + sizeof(pgno_t), sizeof(uint32_t));
|
| bt_page.c | 87 __bt_new(BTREE *t, pgno_t *npg)
|
| bt_debug.c | 85 pgno_t i; 155 static pgno_t 158 pgno_t r; 178 __bt_dnpage(DB *dbp, pgno_t pgno) 259 __bt_uint32_t(bl->bytes + sizeof(pgno_t))); 268 sizeof(pgno_t))); 279 __bt_uint32_t(rl->bytes + sizeof(pgno_t))); 305 pgno_t i, pcont, pinternal, pleaf;
|
| bt_seq.c | 159 pgno_t pg; 251 pgno_t pg; 380 pgno_t pg; 419 pgno_t pg; 468 pgno_t pg; 561 __bt_setcur(BTREE *t, pgno_t pgno, u_int idx)
|
| bt_put.c | 77 pgno_t pg; 131 memmove(kb + sizeof(pgno_t), 144 (void)memmove(db + sizeof(pgno_t),
|
| bt_search.c | 73 pgno_t pg; 157 pgno_t pgno; 234 pgno_t pgno;
|
| bt_open.c | 101 pgno_t ncache; 356 pgno_t npg;
|
| bt_split.c | 56 static int bt_preserve(BTREE *, pgno_t); 249 pgno_t pgno; 350 pgno_t npg; 451 pgno_t lnpg, rnpg; 570 pgno_t pgno; 798 bt_preserve(BTREE *t, pgno_t pg)
|
| bt_delete.c | 151 pgno_t pgno;
|
| /src/lib/libc/db/mpool/ |
| mpool.c | 66 static BKT *mpool_look(MPOOL *, pgno_t); 75 mpool_open(void *key, int fd, pgno_t pagesize, pgno_t maxcache) 101 mp->npages = (pgno_t)(sb.st_size / pagesize); 112 mpool_filter(MPOOL *mp, void (*pgin)(void *, pgno_t, void *), 113 void (*pgout)(void *, pgno_t, void *), void *pgcookie) 125 mpool_newf(MPOOL *mp, pgno_t *pgnoaddr, unsigned int flags) 160 mpool_new(MPOOL *mp, pgno_t *pgnoaddr) 196 mpool_get(MPOOL *mp, pgno_t pgno, unsigned int flags) 460 mpool_look(MPOOL *mp, pgno_t pgno [all...] |
| /src/lib/libc/db/recno/ |
| rec_search.c | 73 pgno_t pg;
|
| rec_put.c | 199 pgno_t pg; 217 *(uint32_t *)(void *)(db + sizeof(pgno_t)) =
|
| /src/tests/lib/libc/db/ |
| h_db.c | 528 pgno_t pg;
|