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

/freebsd-10-stable/lib/libc/db/btree/
H A Dbt_split.c99 h = sp->pgno == P_ROOT ?
117 if (sp->pgno == P_ROOT &&
150 if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
211 h = h->pgno == P_ROOT ?
231 ((BINTERNAL *)dest)->pgno = rchild->pgno;
237 rchild->pgno, bl->flags & P_BIGKEY);
253 ((RINTERNAL *)dest)->pgno = lchild->pgno;
259 ((RINTERNAL *)dest)->pgno
[all...]
H A Dbt_delete.c95 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
146 pgno_t pgno; local
161 if (h->pgno == c->pg.pgno)
170 while (h->pgno != c->pg.pgno) {
178 if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
184 BT_PUSH(t, h->pgno, idx);
194 pgno = bi->pgno;
[all...]
H A Dbt_seq.c113 __bt_setcur(t, e.page->pgno, e.index);
184 pg = GETBINTERNAL(h, 0)->pgno;
205 pg = GETBINTERNAL(h, NEXTINDEX(h) - 1)->pgno;
257 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
360 if (save.page->pgno != ep->page->pgno) {
374 if (h->pgno != save.page->pgno)
378 if (h->pgno == save.page->pgno)
427 __bt_setcur(BTREE *t, pgno_t pgno, u_int idx) argument
[all...]
H A Dbt_put.c150 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL)
219 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx)
227 t->bt_last.pgno = h->pgno;
233 t->bt_last.pgno = h->pgno;
242 __bt_setcur(t, e->page->pgno, e->index);
269 if ((h = mpool_get(t->bt_mp, t->bt_last.pgno, 0)) == NULL) {
H A Dbtree.h65 pgno_t pgno; /* this page's page number */ member in struct:_page
109 * For the btree internal pages, the item is a key. BINTERNALs are {key, pgno}
119 pgno_t pgno; /* page number stored on */ member in struct:_binternal
135 #define WR_BINTERNAL(p, size, pgno, flags) { \
138 *(pgno_t *)p = pgno; \
150 pgno_t pgno; /* page number stored below */ member in struct:_rinternal
162 #define WR_RINTERNAL(p, nrecs, pgno) { \
165 *(pgno_t *)p = pgno; \
239 pgno_t pgno; /* the page number */ member in struct:_epgno
312 t->bt_sp->pgno
[all...]
H A Dbt_page.c63 t->bt_free = h->pgno;
H A Dbt_debug.c131 __bt_dnpage(DB *dbp, pgno_t pgno) argument
137 if ((h = mpool_get(t->bt_mp, pgno, MPOOL_IGNOREPIN)) != NULL)
157 (void)fprintf(stderr, " page %u: (", h->pgno);
187 "size %03d pgno %03d", bi->ksize, bi->pgno);
196 (void)fprintf(stderr, "entries %03d pgno %03d",
197 ri->nrecs, ri->pgno);
285 GETRINTERNAL(h, 0)->pgno :
286 GETBINTERNAL(h, 0)->pgno;
H A Dbt_overflow.c126 * pgno: storage page number
150 h->pgno = npg;
159 last->nextpg = h->pgno;
162 *pg = h->pgno;
H A Dbt_search.c126 next: BT_PUSH(t, h->pgno, idx);
127 pg = GETBINTERNAL(h, idx)->pgno;
H A Dbt_conv.c74 M_32_SWAP(h->pgno);
180 M_32_SWAP(h->pgno);
H A Dbt_open.c355 root->pgno == 0 &&
376 root->pgno = npg;
/freebsd-10-stable/lib/libc/db/mpool/
H A Dmpool.c134 bp->pgno = *pgnoaddr;
136 bp->pgno = *pgnoaddr = mp->npages++;
140 head = &mp->hqh[HASHKEY(bp->pgno)];
157 "mpool_delete: page %d not pinned\n", bp->pgno);
163 head = &mp->hqh[HASHKEY(bp->pgno)];
178 mpool_get(MPOOL *mp, pgno_t pgno, argument
191 if ((bp = mpool_look(mp, pgno)) != NULL) {
195 "mpool_get: page %d already pinned\n", bp->pgno);
203 head = &mp->hqh[HASHKEY(bp->pgno)];
219 off = mp->pagesize * pgno;
428 mpool_look(MPOOL *mp, pgno_t pgno) argument
[all...]
/freebsd-10-stable/include/
H A Dmpool.h46 #define HASHKEY(pgno) ((pgno - 1 + HASHSIZE) % HASHSIZE)
53 pgno_t pgno; /* page number */ member in struct:_bkt
/freebsd-10-stable/lib/libc/db/recno/
H A Drec_search.c91 pg = r->pgno;
111 if ((h = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
/freebsd-10-stable/lib/libkvm/
H A Dkvm_ia64.c143 size_t pgno, pgsz, pt0no, pt1no; local
155 pgno = KPTE_PTE_INDEX(va, pgsz);
168 pgaddr += pgno * sizeof(pte);
/freebsd-10-stable/crypto/heimdal/lib/sqlite/
H A Dsqlite3.c8708 SQLITE_PRIVATE int sqlite3PagerAcquire(Pager *pPager, Pgno pgno, DbPage **ppPage, int clrFlag);
8710 SQLITE_PRIVATE DbPage *sqlite3PagerLookup(Pager *pPager, Pgno pgno);
8808 Pgno pgno; /* Page number for this page */ member in struct:PgHdr
8878 /* Remove all pages with pgno>x. Reset the cache if x==0 */
35379 sqlite3PcacheFetch( PCache *pCache, Pgno pgno, int createFlag, PgHdr **ppPage ) argument
35592 sqlite3PcacheTruncate(PCache *pCache, Pgno pgno) argument
38529 Pgno pgno = pPg->pgno; local
39187 pager_lookup(Pager *pPager, Pgno pgno) argument
39229 addToSavepointBitvecs(Pager *pPager, Pgno pgno) argument
39641 Pgno pgno; /* The page number of a page in journal */ local
40333 Pgno pgno = pPg->pgno; /* Page number to read */ local
41549 Pgno pgno = pList->pgno; local
42506 sqlite3PagerAcquire( Pager *pPager, Pgno pgno, DbPage **ppPage, int noContent ) argument
42619 sqlite3PagerLookup(Pager *pPager, Pgno pgno) argument
43851 sqlite3PagerMovepage(Pager *pPager, DbPage *pPg, Pgno pgno, int isCommit) argument
45068 u32 pgno; /* Page number of the frame */ local
45521 u32 pgno; /* Database page number for frame */ local
46616 sqlite3WalRead( Wal *pWal, Pgno pgno, int *pInWal, int nOut, u8 *pOut ) argument
47635 Pgno pgno; /* Page number for this page */ member in struct:MemPage
48784 btreeSetHasContent(BtShared *pBt, Pgno pgno) argument
48806 btreeGetHasContent(BtShared *pBt, Pgno pgno) argument
49000 ptrmapPageno(BtShared *pBt, Pgno pgno) argument
49786 btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt) argument
49807 btreeGetPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, int noContent ) argument
49828 btreePageLookup(BtShared *pBt, Pgno pgno) argument
49859 getAndInitPage( BtShared *pBt, Pgno pgno, MemPage **ppPage ) argument
50942 Pgno pgno = pPage->pgno; local
51997 Pgno pgno; local
52545 Pgno pgno; local
52570 Pgno pgno; local
54143 Pgno pgno; /* Temp var to store a page number in */ local
55349 clearDatabasePage( BtShared *pBt, Pgno pgno, int freePageFlag, int *pnChange ) argument
55883 int i, rc, depth, d2, pgno, cnt; local
63971 int pgno; member in struct:vdbeExecUnion::OP_CreateTable_stack_vars
66770 int pgno; local
[all...]
/freebsd-10-stable/contrib/sqlite3/
H A Dsqlite3.c13031 SQLITE_PRIVATE int sqlite3PagerGet(Pager *pPager, Pgno pgno, DbPage **ppPage, int clrFlag);
13032 SQLITE_PRIVATE DbPage *sqlite3PagerLookup(Pager *pPager, Pgno pgno);
13149 PgHdr *pDirty; /* Transient list of dirty sorted by pgno */
13151 Pgno pgno; /* Page number for this page */ member in struct:PgHdr
13226 /* Remove all pages with pgno>x. Reset the cache if x==0 */
43847 sqlite3PcacheFetch( PCache *pCache, Pgno pgno, int createFlag ) argument
43889 sqlite3PcacheFetchStress( PCache *pCache, Pgno pgno, sqlite3_pcache_page **ppPage ) argument
43945 pcacheFetchFinishWithInit( PCache *pCache, Pgno pgno, sqlite3_pcache_page *pPage ) argument
43971 sqlite3PcacheFetchFinish( PCache *pCache, Pgno pgno, sqlite3_pcache_page *pPage ) argument
44132 sqlite3PcacheTruncate(PCache *pCache, Pgno pgno) argument
47310 Pgno pgno = pPg->pgno; local
48009 addToSavepointBitvecs(Pager *pPager, Pgno pgno) argument
48496 Pgno pgno; /* The page number of a page in journal */ local
49195 Pgno pgno = pPg->pgno; /* Page number to read */ local
50222 pagerAcquireMapPage( Pager *pPager, Pgno pgno, void *pData, PgHdr **ppPage ) argument
50580 Pgno pgno = pList->pgno; local
51588 sqlite3PagerGet( Pager *pPager, Pgno pgno, DbPage **ppPage, int flags ) argument
51771 sqlite3PagerLookup(Pager *pPager, Pgno pgno) argument
53100 sqlite3PagerMovepage(Pager *pPager, DbPage *pPg, Pgno pgno, int isCommit) argument
54406 u32 pgno; /* Page number of the frame */ local
54860 u32 pgno; /* Database page number for frame */ local
56167 sqlite3WalFindFrame( Wal *pWal, Pgno pgno, u32 *piRead ) argument
57443 Pgno pgno; /* Page number for this page */ member in struct:MemPage
58695 btreeSetHasContent(BtShared *pBt, Pgno pgno) argument
58717 btreeGetHasContent(BtShared *pBt, Pgno pgno) argument
59038 ptrmapPageno(BtShared *pBt, Pgno pgno) argument
60037 btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt) argument
60061 btreeGetPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, int flags ) argument
60083 btreePageLookup(BtShared *pBt, Pgno pgno) argument
60119 getAndInitPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, BtCursor *pCur, int bReadOnly ) argument
60195 btreeGetUnusedPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, int flags ) argument
61421 Pgno pgno = pPage->pgno; local
62478 Pgno pgno; local
63055 Pgno pgno; local
63080 Pgno pgno; local
65141 Pgno pgno; /* Temp var to store a page number in */ local
66565 clearDatabasePage( BtShared *pBt, Pgno pgno, int freePageFlag, int *pnChange ) argument
67199 int pgno; /* Page number */ local
80622 int pgno; local
82507 int pgno; local
185294 int pgno; /* Page number for this page */ member in struct:Fts5PageWriter
185301 int pgno; /* Page number for this page */ member in struct:Fts5DlidxWriter
187058 int pgno; local
187980 int pgno = pSeg->iLeafPgno; local
190504 int pgno = fts5DlidxIterPgno(pDlidx); local
190516 int pgno = fts5DlidxIterPgno(pDlidx); local
191351 int segid, pgno; local
[all...]

Completed in 933 milliseconds