Searched refs:pgno_t (Results 1 - 20 of 20) sorted by relevance

/freebsd-10-stable/include/
H A Dmpool.h53 pgno_t pgno; /* page number */
65 pgno_t curcache; /* current number of cached pages */
66 pgno_t maxcache; /* max number of cached pages */
67 pgno_t npages; /* number of pages in the file */
71 void (*pgin)(void *, pgno_t, void *);
73 void (*pgout)(void *, pgno_t, void *);
95 MPOOL *mpool_open(void *, int, pgno_t, pgno_t);
96 void mpool_filter(MPOOL *, void (*)(void *, pgno_t, void *),
97 void (*)(void *, pgno_t, voi
[all...]
H A Ddb.h46 typedef uint32_t pgno_t; typedef
/freebsd-10-stable/lib/libc/db/mpool/
H A Dmpool-compat.c34 void *__mpool_new__44bsd(MPOOL *, pgno_t *);
37 __mpool_new__44bsd(MPOOL *mp, pgno_t *pgnoaddr)
H A Dmpool.c54 static BKT *mpool_look(MPOOL *, pgno_t);
63 mpool_open(void *key, int fd, pgno_t pagesize, pgno_t maxcache)
100 mpool_filter(MPOOL *mp, void (*pgin) (void *, pgno_t, void *),
101 void (*pgout) (void *, pgno_t, void *), void *pgcookie)
113 mpool_new(MPOOL *mp, pgno_t *pgnoaddr, u_int flags)
178 mpool_get(MPOOL *mp, pgno_t pgno,
428 mpool_look(MPOOL *mp, pgno_t pgno)
/freebsd-10-stable/lib/libc/db/btree/
H A Dextern.h43 PAGE *__bt_new(BTREE *, pgno_t *);
44 void __bt_pgin(void *, pgno_t, void *);
45 void __bt_pgout(void *, pgno_t, void *);
46 int __bt_push(BTREE *, pgno_t, int);
51 void __bt_setcur(BTREE *, pgno_t, u_int);
58 int __ovfl_put(BTREE *, const DBT *, pgno_t *);
61 void __bt_dnpage(DB *, pgno_t);
H A Dbtree.h65 pgno_t pgno; /* this page's page number */
66 pgno_t prevpg; /* left sibling */
67 pgno_t nextpg; /* right sibling */
85 (sizeof(pgno_t) + sizeof(pgno_t) + sizeof(pgno_t) + \
101 * The page number and size fields in the items are pgno_t-aligned so they can
105 #define LALIGN(n) (((n) + sizeof(pgno_t) - 1) & ~(sizeof(pgno_t) - 1))
106 #define NOVFLSIZE (sizeof(pgno_t)
[all...]
H A Dbt_conv.c59 __bt_pgin(void *t, pgno_t pg, void *pp)
89 p += sizeof(pgno_t);
93 p += sizeof(pgno_t);
110 p += sizeof(pgno_t);
116 p += sizeof(pgno_t);
124 __bt_pgout(void *t, pgno_t pg, void *pp)
146 p += sizeof(pgno_t);
150 p += sizeof(pgno_t);
167 p += sizeof(pgno_t);
173 p += sizeof(pgno_t);
[all...]
H A Dbt_overflow.c70 * p: pointer to { pgno_t, u_int32_t }
81 pgno_t pg;
85 memmove(&pg, p, sizeof(pgno_t));
86 memmove(&sz, (char *)p + sizeof(pgno_t), sizeof(u_int32_t));
132 __ovfl_put(BTREE *t, const DBT *dbt, pgno_t *pg)
136 pgno_t npg;
177 * p: pointer to { pgno_t, u_int32_t }
186 pgno_t pg;
190 memmove(&pg, p, sizeof(pgno_t));
191 memmove(&sz, (char *)p + sizeof(pgno_t), sizeo
[all...]
H A Dbt_debug.c60 pgno_t i;
131 __bt_dnpage(DB *dbp, pgno_t pgno)
204 *(pgno_t *)bl->bytes,
205 *(u_int32_t *)(bl->bytes + sizeof(pgno_t)));
212 *(pgno_t *)(bl->bytes + bl->ksize),
214 sizeof(pgno_t)));
224 *(pgno_t *)rl->bytes,
225 *(u_int32_t *)(rl->bytes + sizeof(pgno_t)));
250 pgno_t i, pcont, pinternal, pleaf;
H A Dbt_page.c82 __bt_new(BTREE *t, pgno_t *npg)
H A Dbt_put.c72 pgno_t pg;
125 memmove(kb, &pg, sizeof(pgno_t));
127 memmove(kb + sizeof(pgno_t),
137 memmove(db, &pg, sizeof(pgno_t));
139 memmove(db + sizeof(pgno_t),
H A Dbt_seq.c150 pgno_t pg;
236 pgno_t pg;
334 pgno_t pg;
427 __bt_setcur(BTREE *t, pgno_t pgno, u_int idx)
H A Dbt_split.c52 static int bt_preserve(BTREE *, pgno_t);
240 bt_preserve(t, *(pgno_t *)bl->bytes) == RET_ERROR)
338 pgno_t npg;
436 pgno_t lnpg, rnpg;
548 bt_preserve(t, *(pgno_t *)bl->bytes) == RET_ERROR)
763 bt_preserve(BTREE *t, pgno_t pg)
H A Dbt_search.c68 pgno_t pg;
H A Dbt_open.c98 pgno_t ncache;
351 pgno_t npg;
H A Dbt_delete.c146 pgno_t pgno;
/freebsd-10-stable/lib/libc/db/recno/
H A Drec_search.c68 pgno_t pg;
H A Drec_put.c195 pgno_t pg;
211 *(pgno_t *)db = pg;
212 *(u_int32_t *)(db + sizeof(pgno_t)) = data->size;
/freebsd-10-stable/lib/libc/db/test/btree.tests/
H A Dmain.c712 pgno_t pg;
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c543 pgno_t pg;

Completed in 105 milliseconds