/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | os.h | 23 db_pgno_t pgno; /* Page number. */ member in struct:__io
|
H A D | db_auto.h | 13 db_pgno_t pgno; member in struct:_db_addrem_args 30 db_pgno_t pgno; member in struct:_db_split_args 44 db_pgno_t pgno; member in struct:_db_big_args 61 db_pgno_t pgno; member in struct:_db_ovref_args 75 db_pgno_t pgno; member in struct:_db_relink_args 91 db_pgno_t pgno; member in struct:_db_addpage_args
|
H A D | btree_auto.h | 22 db_pgno_t pgno; member in struct:_bam_pg_alloc_args 35 db_pgno_t pgno; member in struct:_bam_pg_free_args 67 db_pgno_t pgno; member in struct:_bam_rsplit_args 82 db_pgno_t pgno; member in struct:_bam_adj_args 97 db_pgno_t pgno; member in struct:_bam_cadjust_args 112 db_pgno_t pgno; member in struct:_bam_cdel_args 125 db_pgno_t pgno; member in struct:_bam_repl_args
|
H A D | hash_auto.h | 21 db_pgno_t pgno; member in struct:_ham_insdel_args 68 db_pgno_t pgno; member in struct:_ham_splitdata_args 81 db_pgno_t pgno; member in struct:_ham_replace_args 99 db_pgno_t pgno; member in struct:_ham_newpgno_args 131 db_pgno_t pgno; member in struct:_ham_copypage_args
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_page.c | 80 db_pgno_t pgno; local 88 pgno = PGNO_METADATA; 89 if ((ret = __bam_lget(dbc, 0, pgno, DB_LOCK_WRITE, &metalock)) != 0) 91 if ((ret = memp_fget(dbp->mpf, &pgno, 0, (PAGE **)&meta)) != 0) 95 if ((ret = memp_fget(dbp->mpf, &pgno, DB_MPOOL_NEW, &h)) != 0) 98 h->pgno = pgno; 100 pgno = meta->free; 101 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0) 110 h->pgno, (u_int32_ 160 db_pgno_t pgno; local [all...] |
H A D | bt_curadj.c | 46 (u_int)dbc, (u_int)cp, (u_long)cp->pgno, (u_long)cp->indx, 66 __bam_ca_delete(dbp, pgno, indx, delete) 68 db_pgno_t pgno; 96 if ((cp->pgno == pgno && cp->indx == indx) || 97 (cp->dpgno == pgno && cp->dindx == indx)) { 117 __bam_ca_di(dbp, pgno, indx, adjust) 119 db_pgno_t pgno; 137 if (cp->pgno == pgno [all...] |
H A D | bt_stat.c | 44 db_pgno_t lastpgno, pgno; local 70 pgno = PGNO_ROOT; 71 if ((ret = __bam_lget(dbc, 0, pgno, DB_LOCK_READ, &lock)) != 0) 73 if ((ret = memp_fget(dbp->mpf, &pgno, 0, (PAGE **)&h)) != 0) 84 pgno = PGNO_METADATA; 85 if ((ret = __bam_lget(dbc, 0, pgno, DB_LOCK_READ, &lock)) != 0) 87 if ((ret = memp_fget(dbp->mpf, &pgno, 0, (PAGE **)&meta)) != 0) 112 for (sp->bt_free = 0, pgno = meta->free; pgno != PGNO_INVALID;) { 115 if ((ret = memp_fget(dbp->mpf, &pgno, [all...] |
H A D | bt_delete.c | 168 return (__db_pgfmt(dbp, h->pgno)); 216 __db_ddup(dbc, bo->pgno, __bam_free)) != 0) 220 __db_doff(dbc, bo->pgno, __bam_free)) != 0) 227 return (__db_pgfmt(dbp, h->pgno)); 231 return (__db_pgfmt(dbp, h->pgno)); 286 __bam_ca_di(dbp, h->pgno, indx, is_insert ? 1 : -1); 305 db_pgno_t pgno; local 335 if (h->pgno == PGNO_ROOT || NUM_ENT(h) != 1) 373 pgno = TYPE(h) == P_IBTREE ? 374 GET_BINTERNAL(h, 0)->pgno 416 db_pgno_t pgno; local [all...] |
H A D | bt_cursor.c | 87 ((cursor)->pgno == (saved_copy).pgno && \ 105 cp->pgno = PGNO_INVALID; 239 db_pgno_t pgno; local 251 F_ISSET(dbp, DB_AM_RDONLY), cp->pgno != PGNO_INVALID)) != 0) 276 0, cp->pgno, DB_LOCK_WRITE, &lock)) != 0) 290 pgno = cp->pgno; 293 pgno = cp->dpgno; 297 if ((ret = memp_fget(dbp->mpf, &pgno, 764 db_pgno_t pgno; local 1075 db_pgno_t pgno; local 1122 db_pgno_t pgno; local 1172 db_pgno_t pgno; local 1285 db_pgno_t pgno; local 1585 db_pgno_t pgno; local 1640 db_pgno_t pgno, next_pgno, prev_pgno; local 1885 db_pgno_t pgno; local [all...] |
H A D | bt_split.c | 138 ret = cp->csp[0].page->pgno == PGNO_ROOT ? 197 P_INIT(lp, dbp->pgsize, lp->pgno, 198 PGNO_INVALID, ISINTERNAL(cp->page) ? PGNO_INVALID : rp->pgno, 200 P_INIT(rp, dbp->pgsize, rp->pgno, 201 ISINTERNAL(cp->page) ? PGNO_INVALID : lp->pgno, PGNO_INVALID, 231 __bam_ca_split(dbp, cp->page->pgno, lp->pgno, rp->pgno, split, 1); 272 P_INIT(rp, dbp->pgsize, rp->pgno, 273 ISINTERNAL(cp->page) ? PGNO_INVALID : cp->page->pgno, [all...] |
H A D | btree_auto.c | 24 fileid, meta_lsn, page_lsn, pgno, ptype, next) 32 db_pgno_t pgno; 53 + sizeof(pgno) 78 memcpy(bp, &pgno, sizeof(pgno)); 79 bp += sizeof(pgno); 132 printf("\tpgno: %lu\n", (u_long)argp->pgno); 170 memcpy(&argp->pgno, bp, sizeof(argp->pgno)); 171 bp += sizeof(argp->pgno); [all...] |
H A D | bt_rec.c | 50 db_pgno_t pgno; local 67 pgno = PGNO_METADATA; 68 if ((ret = memp_fget(mpf, &pgno, 0, &meta)) != 0) { 70 (void)__db_pgerr(file_dbp, pgno); 73 if ((ret = memp_fget(mpf, &argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0) { 80 (void)__db_pgerr(file_dbp, argp->pgno); 92 argp->pgno, PGNO_INVALID, PGNO_INVALID, 0, argp->ptype); 99 argp->pgno, PGNO_INVALID, meta->free, 0, P_INVALID); 121 meta->free = argp->pgno; 154 db_pgno_t pgno; local 253 db_pgno_t pgno; local 525 db_pgno_t pgno; local [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_overflow.c | 82 __db_goff(dbp, dbt, tlen, pgno, bpp, bpsz) 86 db_pgno_t pgno; 133 for (curoff = 0, p = dbt->data; pgno != P_INVALID && needed > 0;) { 134 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0) { 135 (void)__db_pgerr(dbp, pgno); 153 pgno = h->next_pgno; 256 __db_ovref(dbc, pgno, adjust) 258 db_pgno_t pgno; 266 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0) { 267 (void)__db_pgerr(dbp, pgno); [all...] |
H A D | db_err.c | 150 __db_pgerr(dbp, pgno) 152 db_pgno_t pgno; 160 "unable to create/retrieve page %lu", (u_long)pgno); 171 __db_pgfmt(dbp, pgno) 173 db_pgno_t pgno; 176 "page %lu: illegal page type or format", (u_long)pgno);
|
H A D | db_conv.c | 117 M_32_SWAP(h->pgno); 153 SWAP32(p); /* pgno */ 157 SWAP32(p); /* pgno */ 189 M_32_SWAP(bo->pgno); 205 M_32_SWAP(bi->pgno); 214 M_32_SWAP(bo->pgno); 229 M_32_SWAP(ri->pgno); 248 M_32_SWAP(h->pgno);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_search.c | 133 next: BT_PUSH(t, h->pgno, idx); 134 pg = GETBINTERNAL(h, idx)->pgno; 163 db_pgno_t pgno; local 188 if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL) 194 BT_PUSH(t, h->pgno, idx); 204 pgno = bi->pgno; 205 BT_PUSH(t, pgno, 0); 211 if ((h = mpool_get(t->bt_mp, pgno, 0)) == NULL) 243 db_pgno_t pgno; local [all...] |
H A D | bt_split.c | 110 h = sp->pgno == P_ROOT ? 128 if (sp->pgno == P_ROOT && 161 if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL) 222 h = h->pgno == P_ROOT ? 242 ((BINTERNAL *)dest)->pgno = rchild->pgno; 248 rchild->pgno, bl->flags & P_BIGKEY); 264 ((RINTERNAL *)dest)->pgno = lchild->pgno; 270 ((RINTERNAL *)dest)->pgno [all...] |
H A D | bt_seq.c | 150 __bt_setcur(t, e.page->pgno, e.index); 225 pg = GETBINTERNAL(h, 0)->pgno; 246 pg = GETBINTERNAL(h, NEXTINDEX(h) - 1)->pgno; 325 c->pg.pgno = ep->page->pgno; 331 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL) 438 if (save.page->pgno != ep->page->pgno) { 452 if (h->pgno != save.page->pgno) [all...] |
H A D | bt_delete.c | 102 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL) 156 db_pgno_t pgno; local 171 if (h->pgno == c->pg.pgno) 180 while (h->pgno != c->pg.pgno) { 188 if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL) 194 BT_PUSH(t, h->pgno, idx); 204 pgno = bi->pgno; [all...] |
H A D | bt_put.c | 163 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL) 232 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx) 240 t->bt_last.pgno = h->pgno; 246 t->bt_last.pgno = h->pgno; 255 __bt_setcur(t, e->page->pgno, e->index); 285 if ((h = mpool_get(t->bt_mp, t->bt_last.pgno, 0)) == NULL) {
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/ |
H A D | mpool.c | 139 bp->pgno = *pgnoaddr; 141 bp->pgno = *pgnoaddr = mp->npages++; 145 head = &mp->hqh[HASHKEY(bp->pgno)]; 164 "mpool_delete: page %d not pinned\n", bp->pgno); 170 head = &mp->hqh[HASHKEY(bp->pgno)]; 183 mpool_get(mp, pgno, flags) 185 db_pgno_t pgno; 198 if ((bp = mpool_look(mp, pgno)) != NULL) { 202 "mpool_get: page %d already pinned\n", bp->pgno); 210 head = &mp->hqh[HASHKEY(bp->pgno)]; [all...] |
H A D | mpool.h | 60 #define HASHKEY(pgno) ((pgno - 1) % HASHSIZE) 67 db_pgno_t pgno; /* page number */ member in struct:_bkt
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | pager.c | 111 Pgno pgno; /* The page number for this page */ member in struct:PgHdr 112 PgHdr *pNextHash, *pPrevHash; /* Hash collision chain for PgHdr.pgno */ 122 PgHdr *pDirty; /* Dirty pages sorted by PgHdr.pgno */ 223 Pgno pgno; /* The page number */ member in struct:PageRecord 224 char aData[SQLITE_PAGE_SIZE]; /* Original data for page pgno */ 304 p->pgno, (int)PGHDR_TO_DATA(p), p->nRef 434 static PgHdr *pager_lookup(Pager *pPager, Pgno pgno){ argument 435 PgHdr *p = pPager->aHash[pager_hash(pgno)]; 436 while( p && p->pgno!=pgno ){ 523 pager_cksum(Pager *pPager, Pgno pgno, const char *aData) argument 1320 sqlitepager_get(Pager *pPager, Pgno pgno, void **ppPage) argument 1566 sqlitepager_lookup(Pager *pPager, Pgno pgno) argument 1897 sqlitepager_overwrite(Pager *pPager, Pgno pgno, void *pData) argument 1936 sqlitepager_dont_write(Pager *pPager, Pgno pgno) argument [all...] |
H A D | pager.h | 81 int sqlitepager_get(Pager *pPager, Pgno pgno, void **ppPage); 82 void *sqlitepager_lookup(Pager *pPager, Pgno pgno); 88 int sqlitepager_overwrite(Pager *pPager, Pgno pgno, void*);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash_page.c | 101 if (cursorp->pgno == INVALID_PGNO) { 104 cursorp->pgno = ADDR(cursorp->pagep); 109 __get_page(hashp, cursorp->pgno, A_RAW); 117 item_info->seek_found_page = cursorp->pgno; 133 cursorp->pgno = next_pgno; 153 item_info->pgno = cursorp->pgno; 175 cursorp->pgno = INVALID_PGNO; 316 pagep = __get_page(hashp, cursorp->pgno, A_RAW); 327 assert(ADDR(pagep) == cursorp->pgno); 775 page_init(HTAB * hashp, PAGE16 * pagep, db_pgno_t pgno, u_int8_t type) argument 1362 db_pgno_t pgno; member in struct:__anon2567 [all...] |