Searched defs:pgno (Results 1 - 25 of 35) sorted by relevance

12

/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_search.c131 next: BT_PUSH(t, h->pgno, idx);
132 pg = GETBINTERNAL(h, idx)->pgno;
161 db_pgno_t pgno; local
186 if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
192 BT_PUSH(t, h->pgno, idx);
202 pgno = bi->pgno;
203 BT_PUSH(t, pgno, 0);
209 if ((h = mpool_get(t->bt_mp, pgno, 0)) == NULL)
241 db_pgno_t pgno; local
[all...]
H A Dbt_delete.c100 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
154 db_pgno_t pgno; local
169 if (h->pgno == c->pg.pgno)
178 while (h->pgno != c->pg.pgno) {
186 if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
192 BT_PUSH(t, h->pgno, idx);
202 pgno = bi->pgno;
[all...]
/osnet-11/usr/src/cmd/sendmail/db/btree/
H A Dbt_open.c215 db_pgno_t pgno; local
226 pgno = PGNO_METADATA;
231 memp_fget(dbp->mpf, &pgno, DB_MPOOL_CREATE, (PAGE **)&meta)) != 0) {
253 meta->pgno = PGNO_METADATA;
273 pgno = PGNO_ROOT;
277 if ((ret = memp_fget(dbp->mpf, &pgno, DB_MPOOL_CREATE, &root)) != 0) {
H A Dbt_stat.c44 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 Dbt_page.c80 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 Dbt_rsearch.c210 pg = bi->pgno;
226 pg = ri->pgno;
229 return (__db_pgfmt(dbp, h->pgno));
335 db_pgno_t pgno; local
340 pgno = PGNO_ROOT;
341 if ((ret = __bam_lget(dbc, 0, pgno, DB_LOCK_READ, &lock)) != 0)
343 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0)
H A Dbt_delete.c168 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 Dbt_rec.c50 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...]
H A Dbt_cursor.c87 ((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...]
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dos.h23 db_pgno_t pgno; /* Page number. */ member in struct:__io
H A Dbtree_auto.h22 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 Ddb_auto.h13 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 Dhash.h64 db_pgno_t pgno; /* Current page number. */ member in struct:cursor_t
112 (I)->dbc->lock.pgno = BUCKET_INVALID; \
141 (I)->dbc->lock.pgno = BUCKET_INVALID; \
H A Dhash_auto.h21 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
H A Dbtree.h186 db_pgno_t pgno; /* Page. */ member in struct:__cursor
H A Dmp.h219 #define BUCKET(mp, mf_offset, pgno) \
220 (((pgno) ^ ((mf_offset) << 9)) % (mp)->htab_buckets)
286 db_pgno_t pgno; /* Underlying MPOOLFILE page number. */ member in struct:__bh
/osnet-11/usr/src/cmd/sendmail/db/hash/
H A Dhash_rec.c97 ret = memp_fget(mpf, &argp->pgno, 0, &pagep);
107 } else if ((ret = memp_fget(mpf, &argp->pgno,
394 ret = memp_fget(mpf, &argp->pgno, 0, &pagep);
404 } else if ((ret = memp_fget(mpf, &argp->pgno,
511 hcp->hdr->last_freed = argp->pgno;
516 hcp->hdr->last_freed = argp->pgno;
530 ret = memp_fget(mpf, &argp->pgno, 0, &pagep);
541 } else if ((ret = memp_fget(mpf, &argp->pgno,
551 P_INIT(pagep, file_dbp->pgsize, argp->pgno, PGNO_INVALID,
556 P_INIT(pagep, file_dbp->pgsize, argp->pgno, PGNO_INVALI
774 db_pgno_t max_pgno, pgno; local
[all...]
H A Dhash.c487 __ham_c_update(hcp, hcp->pgno,
634 hcp->pgno = PGNO_INVALID;
723 hcp->seek_found_page != hcp->pgno) {
726 hcp->pgno = hcp->seek_found_page;
907 db_pgno_t pgno; local
961 memcpy(&pgno, HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ndx)),
965 pgno, &hcp->dpagep)) != 0)
970 pgno, 0, H_ISDUP)) != 0)
997 memcpy(&pgno,
1000 pgno, tle
1129 db_pgno_t pgno; local
[all...]
/osnet-11/usr/src/cmd/sendmail/db/mp/
H A Dmp_sync.c213 (u_long)bharray[next]->pgno);
449 db_pgno_t pgno; local
497 pgno = bhp->pgno;
508 __memp_fns(dbmp, mfp), (u_long)pgno);
546 if (bhp1->pgno < bhp2->pgno)
548 if (bhp1->pgno > bhp2->pgno)
/osnet-11/usr/src/lib/libsqlite/src/
H A Dtest2.c325 int pgno; local
333 if( Tcl_GetInt(interp, argv[2], &pgno) ) return TCL_ERROR;
334 rc = sqlitepager_get(pPager, pgno, &pPage);
359 int pgno; local
366 if( Tcl_GetInt(interp, argv[2], &pgno) ) return TCL_ERROR;
367 pPage = sqlitepager_lookup(pPager, pgno);
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/
H A Dmpool.h46 #define HASHKEY(pgno) ((pgno - 1) % HASHSIZE)
53 db_pgno_t pgno; /* page number */ member in struct:_bkt
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_dup.c50 db_pgno_t pgno; local
58 if ((ret = __db_poff(dbc, dbt, &pgno, newfunc)) != 0)
64 bo.pgno = pgno;
126 GET_BOVERFLOW(pagep, indx)->pgno, freefunc)) != 0)
162 __db_dend(dbc, pgno, pp)
164 db_pgno_t pgno;
174 * This implements DB_KEYLAST. The last page is returned in pp; pgno
182 if ((ret = memp_fget(dbp->mpf, &pgno, 0, pp)) != 0) {
183 (void)__db_pgerr(dbp, pgno);
[all...]
H A Ddb_pr.c272 db_pgno_t pgno; local
284 pgno = PGNO_METADATA;
285 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &hcp->hdr)) != 0)
349 __db_prnpage(mpf, pgno)
351 db_pgno_t pgno;
359 if ((ret = memp_fget(mpf, &pgno, 0, &h)) != 0)
386 db_pgno_t pgno; local
421 (u_long)h->pgno, (u_long)TYPE(h));
424 fprintf(fp, "page %4lu: (%s)\n", (u_long)h->pgno, s);
428 (TYPE(h) == P_LRECNO && h->pgno
816 db_pgno_t pgno; local
[all...]
/osnet-11/usr/src/cmd/sendmail/db/lock/
H A Dlock.c710 db_pgno_t pgno; local
771 memcpy(&pgno, ptr, sizeof(db_pgno_t));
772 printf("page %lu\n", (u_long)pgno);
H A Dlock_deadlock.c49 db_pgno_t pgno; member in struct:__anon131
365 memcpy(&id_array[id].pgno, pptr,
368 id_array[id].pgno = 0;
490 "%lx/%lu:\t", (u_long)idmap[i].id, (u_long)idmap[i].pgno);

Completed in 38 milliseconds

12