/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/mpool/ |
H A D | mpool.h | 53 db_pgno_t pgno; /* page number */ 65 db_pgno_t curcache; /* current number of cached pages */ 66 db_pgno_t maxcache; /* max number of cached pages */ 67 db_pgno_t npages; /* number of pages in the file */ 71 void (*pgin) __P((void *, db_pgno_t, void *)); 73 void (*pgout) __P((void *, db_pgno_t, void *)); 105 MPOOL *mpool_open __P((void *, int, db_pgno_t, db_pgno_t)); 106 void mpool_filter __P((MPOOL *, void (*)(void *, db_pgno_t, void *), 107 void (*)(void *, db_pgno_t, void *), void *)); 108 void *mpool_new __P((MPOOL *, db_pgno_t *, u_int)); [all …]
|
H A D | mpool.c | 51 static BKT *mpool_look __P((MPOOL *, db_pgno_t)); 59 mpool_open(void *key, int fd, db_pgno_t pagesize, db_pgno_t maxcache) in mpool_open() 96 mpool_filter(MPOOL *mp, void (*pgin) __P((void *, db_pgno_t, void *)), in mpool_filter() argument 97 void (*pgout) __P((void *, db_pgno_t, void *)), void *pgcookie) in mpool_filter() 109 mpool_new(MPOOL *mp, db_pgno_t *pgnoaddr, u_int flags) in mpool_new() 172 mpool_get(MPOOL *mp, db_pgno_t pgno, u_int flags) in mpool_get() 432 mpool_look(MPOOL *mp, db_pgno_t pgno) in mpool_look()
|
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/ |
H A D | btree.h | 68 db_pgno_t pgno; /* this page's page number */ 69 db_pgno_t prevpg; /* left sibling */ 70 db_pgno_t nextpg; /* right sibling */ 88 (sizeof(db_pgno_t) + sizeof(db_pgno_t) + sizeof(db_pgno_t) + \ 108 #define LALIGN(n) (((n) + sizeof(db_pgno_t) - 1) & ~(sizeof(db_pgno_t) - 1)) 109 #define NOVFLSIZE (sizeof(db_pgno_t) + sizeof(u_int32_t)) 122 db_pgno_t pgno; /* page number stored on */ 135 LALIGN(sizeof(u_int32_t) + sizeof(db_pgno_t) + sizeof(u_char) + (len)) 141 *(db_pgno_t *)(void *)p = pgno; \ 142 p += sizeof(db_pgno_t); \ [all …]
|
H A D | bt_conv.c | 62 __bt_pgin(void *t, db_pgno_t pg, void *pp) in __bt_pgin() 93 p += sizeof(db_pgno_t); in __bt_pgin() 97 p += sizeof(db_pgno_t); in __bt_pgin() 115 P_32_SWAP(p + sizeof(db_pgno_t)); in __bt_pgin() 120 p += sizeof(db_pgno_t); in __bt_pgin() 128 __bt_pgout(void *t, db_pgno_t pg, void *pp) in __bt_pgout() 151 p += sizeof(db_pgno_t); in __bt_pgout() 155 p += sizeof(db_pgno_t); in __bt_pgout() 173 P_32_SWAP(p + sizeof(db_pgno_t)); in __bt_pgout() 178 p += sizeof(db_pgno_t); in __bt_pgout()
|
H A D | bt_overflow.c | 83 db_pgno_t pg; in __ovfl_get() 87 memmove(&pg, p, sizeof(db_pgno_t)); in __ovfl_get() 88 memmove(&sz, (char *)p + sizeof(db_pgno_t), sizeof(u_int32_t)); in __ovfl_get() 134 __ovfl_put(BTREE *t, const DBT *dbt, db_pgno_t *pg) in __ovfl_put() 138 db_pgno_t npg; in __ovfl_put() 188 db_pgno_t pg; in __ovfl_delete() 192 memmove(&pg, p, sizeof(db_pgno_t)); in __ovfl_delete() 193 memmove(&sz, (char *)p + sizeof(db_pgno_t), sizeof(u_int32_t)); in __ovfl_delete()
|
H A D | extern.h | 77 PAGE *__bt_new __P((BTREE *, db_pgno_t *)); 78 void __bt_pgin __P((void *, db_pgno_t, void *)); 79 void __bt_pgout __P((void *, db_pgno_t, void *)); 80 int __bt_push __P((BTREE *, db_pgno_t, int)); 85 void __bt_setcur __P((BTREE *, db_pgno_t, u_int)); 92 int __ovfl_put __P((BTREE *, const DBT *, db_pgno_t *)); 94 int __bt_dnpage __P((DB *, db_pgno_t));
|
H A D | bt_put.c | 74 db_pgno_t pg; in __bt_put() 128 memmove(kb, &pg, sizeof(db_pgno_t)); in __bt_put() 132 memmove(kb + sizeof(db_pgno_t), in __bt_put() 143 memmove(db, &pg, sizeof(db_pgno_t)); in __bt_put() 146 memmove(db + sizeof(db_pgno_t), in __bt_put()
|
H A D | bt_seq.c | 182 db_pgno_t pg; in __bt_seqset() 274 db_pgno_t pg; in __bt_seqadv() 404 db_pgno_t pg; in bt_rseq_next() 443 db_pgno_t pg; in bt_rseq_prev() 492 db_pgno_t pg; in __bt_first() 585 __bt_setcur(BTREE *t, db_pgno_t pgno, u_int idx) in __bt_setcur()
|
H A D | bt_debug.c | 89 db_pgno_t i; 171 db_pgno_t pgno; 203 db_pgno_t pgno; 310 __bt_dnpage(DB *dbp, db_pgno_t pgno) in __bt_dnpage() 337 db_pgno_t i, pcont, pinternal, pleaf;
|
H A D | bt_search.c | 70 db_pgno_t pg; in __bt_search() 154 db_pgno_t pgno; in __bt_snext() 230 db_pgno_t pgno; in __bt_sprev()
|
H A D | bt_split.c | 54 static int bt_preserve __P((BTREE *, db_pgno_t)); 245 db_pgno_t pgno; in __bt_split() 346 db_pgno_t npg; in bt_page() 447 db_pgno_t lnpg, rnpg; in bt_root() 559 db_pgno_t pgno; in bt_broot() 778 bt_preserve(BTREE *t, db_pgno_t pg) in bt_preserve()
|
H A D | bt_page.c | 84 __bt_new(BTREE *t, db_pgno_t *npg) in __bt_new()
|
H A D | bt_open.c | 100 db_pgno_t ncache; in __bt_open() 356 db_pgno_t npg; in nroot()
|
H A D | bt_delete.c | 147 db_pgno_t pgno; in __bt_stkacq()
|
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/hash/ |
H A D | hash_bigkey.c | 72 static int32_t collect_key __P((HTAB *, PAGE16 *, int32_t, db_pgno_t *)); 188 db_pgno_t next_pgno; in __find_bigpair() 257 db_pgno_t last_page; in __big_keydata() 311 db_pgno_t next_pgno; in __big_return() 355 collect_key(HTAB *hashp, PAGE16 *pagep, int32_t len, db_pgno_t *last_page) in collect_key() 359 db_pgno_t next_pgno; in collect_key() 361 db_pgno_t save_addr; in collect_key() 423 db_pgno_t next_pgno; in collect_data() 425 db_pgno_t save_addr; in collect_data()
|
H A D | hash.h | 53 db_pgno_t bucket; 54 db_pgno_t pgno; 172 db_pgno_t pgno; 173 db_pgno_t bucket; 178 db_pgno_t seek_found_page;
|
H A D | hash_page.c | 76 static void page_init __P((HTAB *, PAGE16 *, db_pgno_t, u_int8_t)); 83 static void account_page(HTAB *, db_pgno_t, int); 90 db_pgno_t next_pgno; in __get_item() 355 db_pgno_t to_find, next_pgno, link_page; in __delpair() 402 db_pgno_t next_pgno; in __split_page() 490 db_pgno_t next_pgno; 596 db_pgno_t next_pgno; 665 NEXT_PGNO(pagep) = (db_pgno_t)OADDR_TO_PAGE(ovfl_num); in __add_ovflpage() 725 page_init(HTAB * hashp, PAGE16 * pagep, db_pgno_t pgno, u_int8_t type) in page_init() 730 db_pgno_t pgno; [all …]
|
H A D | page.h | 97 #define PREV_PGNO(P) (REFERENCE((P), db_pgno_t, I_PREV_PGNO)) 98 #define NEXT_PGNO(P) (REFERENCE((P), db_pgno_t, I_NEXT_PGNO))
|
H A D | extern.h | 96 void __pgin_routine __P((void *, db_pgno_t, void *)); 97 void __pgout_routine __P((void *, db_pgno_t, void *));
|
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_put.c | 192 db_pgno_t pg; in __rec_iput() 209 *(u_int32_t *)(void *)(db + sizeof(db_pgno_t)) = data->size; in __rec_iput()
|
H A D | rec_search.c | 70 db_pgno_t pg; in __rec_search()
|
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/ |
H A D | main.c | 864 db_pgno_t pg; 924 db_pgno_t pg; in candidatepg() 952 db_pgno_t pg; in unlinkpg()
|
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/include/ |
H A D | db-int.h | 143 typedef u_int32_t db_pgno_t; typedef
|
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/test/ |
H A D | dbtest.c | 578 db_pgno_t pg; in unlinkpg()
|