Searched refs:pgno (Results 1 - 18 of 18) sorted by relevance

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A Dpr33870.c6 unsigned int pgno; member in struct:PgHdr
22 if( pA->pgno<pB->pgno ){
75 a[0].pgno = 5;
77 a[1].pgno = 4;
79 a[2].pgno = 1;
81 a[3].pgno = 3;
H A Dpr33870-1.c8 unsigned int pgno; member in struct:PgHdr::__anon5618
27 if( pA->x.pgno<pB->x.pgno ){
82 a[0].x.pgno = 5;
84 a[1].x.pgno = 4;
86 a[2].x.pgno = 1;
88 a[3].x.pgno = 3;
/netbsd-6-1-5-RELEASE/lib/libc/db/btree/
H A Dbt_delete.c100 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
152 pgno_t pgno; local
167 if (h->pgno == c->pg.pgno)
176 while (h->pgno != c->pg.pgno) {
184 if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
190 BT_PUSH(t, h->pgno, idx);
200 pgno = bi->pgno;
[all...]
H A Dbt_split.c103 h = sp->pgno == P_ROOT ?
123 if (sp->pgno == P_ROOT &&
156 if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
220 h = h->pgno == P_ROOT ?
240 ((BINTERNAL *)(void *)dest)->pgno = rchild->pgno;
246 rchild->pgno, bl->flags & P_BIGKEY);
249 pgno_t pgno; local
250 memcpy(&pgno, bl->bytes, sizeof(pgno));
570 pgno_t pgno; local
[all...]
H A Dbt_seq.c118 __bt_setcur(t, e.page->pgno, (u_int)e.index);
189 pg = GETBINTERNAL(h, 0)->pgno;
210 pg = GETBINTERNAL(h, NEXTINDEX(h) - 1)->pgno;
262 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
365 if (save.page->pgno != ep->page->pgno) {
379 if (h->pgno != save.page->pgno)
395 if (h->pgno != save.page->pgno)
428 __bt_setcur(BTREE *t, pgno_t pgno, u_int idx) argument
[all...]
H A Dbt_put.c155 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL)
224 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx)
232 t->bt_last.pgno = h->pgno;
238 t->bt_last.pgno = h->pgno;
247 __bt_setcur(t, e->page->pgno, (u_int)e->index);
274 if ((h = mpool_get(t->bt_mp, t->bt_last.pgno, 0)) == NULL) {
H A Dbtree.h70 pgno_t pgno; /* this page's page number */ member in struct:_page
125 * For the btree internal pages, the item is a key. BINTERNALs are {key, pgno}
135 pgno_t pgno; /* page number stored on */ member in struct:_binternal
161 #define WR_BINTERNAL(p, size, pgno, flags) do { \
165 *(pgno_t *)(void *)p = pgno; \
177 pgno_t pgno; /* page number stored below */ member in struct:_rinternal
189 #define WR_RINTERNAL(p, nrecs, pgno) do { \
192 *(pgno_t *)(void *)p = pgno; \
292 pgno_t pgno; /* the page number */ member in struct:_epgno
365 t->bt_sp->pgno
[all...]
H A Dbt_page.c68 t->bt_free = h->pgno;
H A Dbt_debug.c150 __bt_dnpage(DB *dbp, pgno_t pgno) argument
156 if ((h = mpool_get(t->bt_mp, pgno, 0)) != NULL) {
178 (void)fprintf(stderr, " page %d: (", h->pgno);
208 "size %03d pgno %03d", bi->ksize, bi->pgno);
217 (void)fprintf(stderr, "entries %03d pgno %03d",
218 ri->nrecs, ri->pgno);
308 GETRINTERNAL(h, 0)->pgno :
309 GETBINTERNAL(h, 0)->pgno;
H A Dbt_overflow.c133 * pgno: storage page number
163 h->pgno = npg;
172 last->nextpg = h->pgno;
175 *pg = h->pgno;
H A Dbt_search.c131 next: BT_PUSH(t, h->pgno, idx);
132 pg = GETBINTERNAL(h, idx)->pgno;
H A Dbt_conv.c76 M_32_SWAP(h->pgno);
182 M_32_SWAP(h->pgno);
H A Dbt_open.c379 root->pgno = npg;
/netbsd-6-1-5-RELEASE/lib/libc/db/mpool/
H A Dmpool.c143 *pgnoaddr = bp->pgno = mp->npages++;
146 head = &mp->hqh[HASHKEY(bp->pgno)];
158 mpool_get(MPOOL *mp, pgno_t pgno, u_int flags) argument
166 if (pgno >= mp->npages) {
176 if ((bp = mpool_look(mp, pgno)) != NULL) {
180 "mpool_get: page %d already pinned\n", bp->pgno);
188 head = &mp->hqh[HASHKEY(bp->pgno)];
207 off = mp->pagesize * pgno;
215 bp->pgno = pgno;
396 mpool_look(MPOOL *mp, pgno_t pgno) argument
[all...]
/netbsd-6-1-5-RELEASE/include/
H A Dmpool.h48 #define HASHKEY(pgno) ((pgno - 1) % HASHSIZE)
55 pgno_t pgno; /* page number */ member in struct:_bkt
/netbsd-6-1-5-RELEASE/lib/libc/db/recno/
H A Drec_search.c96 pg = r->pgno;
116 if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
/netbsd-6-1-5-RELEASE/external/public-domain/sqlite/dist/
H A Dsqlite3.c8920 SQLITE_PRIVATE int sqlite3PagerAcquire(Pager *pPager, Pgno pgno, DbPage **ppPage, int clrFlag);
8922 SQLITE_PRIVATE DbPage *sqlite3PagerLookup(Pager *pPager, Pgno pgno);
9023 Pgno pgno; /* Page number for this page */ member in struct:PgHdr
9093 /* Remove all pages with pgno>x. Reset the cache if x==0 */
36321 sqlite3PcacheFetch( PCache *pCache, Pgno pgno, int createFlag, PgHdr **ppPage ) argument
36538 sqlite3PcacheTruncate(PCache *pCache, Pgno pgno) argument
39297 Pgno pgno = pPg->pgno; local
39955 pager_lookup(Pager *pPager, Pgno pgno) argument
39997 addToSavepointBitvecs(Pager *pPager, Pgno pgno) argument
40409 Pgno pgno; /* The page number of a page in journal */ local
41113 Pgno pgno = pPg->pgno; /* Page number to read */ local
42337 Pgno pgno = pList->pgno; local
43303 sqlite3PagerAcquire( Pager *pPager, Pgno pgno, DbPage **ppPage, int noContent ) argument
43416 sqlite3PagerLookup(Pager *pPager, Pgno pgno) argument
44675 sqlite3PagerMovepage(Pager *pPager, DbPage *pPg, Pgno pgno, int isCommit) argument
45906 u32 pgno; /* Page number of the frame */ local
46360 u32 pgno; /* Database page number for frame */ local
47497 sqlite3WalRead( Wal *pWal, Pgno pgno, int *pInWal, int nOut, u8 *pOut ) argument
48590 Pgno pgno; /* Page number for this page */ member in struct:MemPage
49743 btreeSetHasContent(BtShared *pBt, Pgno pgno) argument
49765 btreeGetHasContent(BtShared *pBt, Pgno pgno) argument
49959 ptrmapPageno(BtShared *pBt, Pgno pgno) argument
50750 btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt) argument
50771 btreeGetPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, int noContent ) argument
50792 btreePageLookup(BtShared *pBt, Pgno pgno) argument
50823 getAndInitPage( BtShared *pBt, Pgno pgno, MemPage **ppPage ) argument
51923 Pgno pgno = pPage->pgno; local
52980 Pgno pgno; local
53572 Pgno pgno; local
53597 Pgno pgno; local
55182 Pgno pgno; /* Temp var to store a page number in */ local
56398 clearDatabasePage( BtShared *pBt, Pgno pgno, int freePageFlag, int *pnChange ) argument
56934 int i, rc, depth, d2, pgno, cnt; local
65190 int pgno; member in struct:vdbeExecUnion::OP_CreateTable_stack_vars
68005 int pgno; local
[all...]
/netbsd-6-1-5-RELEASE/sys/uvm/
H A Duvm_swap.c418 swapdrum_getsdp(int pgno) argument
427 if (pgno >= sdp->swd_drumoffset &&
428 pgno < (sdp->swd_drumoffset + sdp->swd_drumsize)) {

Completed in 258 milliseconds