PgHdr 8334 third_party/sqlite/amalgamation/sqlite3.c typedef struct PgHdr DbPage; PgHdr 8495 third_party/sqlite/amalgamation/sqlite3.c typedef struct PgHdr PgHdr; PgHdr 8505 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pDirty; /* Transient list of dirty pages */ PgHdr 8520 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pDirtyNext; /* Next element in list of dirty pages */ PgHdr 8521 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pDirtyPrev; /* Previous element in list of dirty pages */ PgHdr 8549 third_party/sqlite/amalgamation/sqlite3.c int (*xStress)(void*, PgHdr*), /* Call to try to make pages clean */ PgHdr 8565 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**); PgHdr 8566 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheRelease(PgHdr*); PgHdr 8568 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheDrop(PgHdr*); /* Remove page from cache */ PgHdr 8569 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheMakeDirty(PgHdr*); /* Make sure page is marked dirty */ PgHdr 8570 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheMakeClean(PgHdr*); /* Mark a single page as clean */ PgHdr 8574 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheMove(PgHdr*, Pgno); PgHdr 8580 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE PgHdr *sqlite3PcacheDirtyList(PCache*); PgHdr 8595 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheRef(PgHdr*); PgHdr 8597 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3PcachePageRefcount(PgHdr*); PgHdr 8607 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheIterateDirty(PCache *pCache, void (*xIter)(PgHdr *)); PgHdr 34345 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pDirty, *pDirtyTail; /* List of dirty pages in LRU order */ PgHdr 34346 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pSynced; /* Last synced page in dirty page list */ PgHdr 34352 third_party/sqlite/amalgamation/sqlite3.c int (*xStress)(void*,PgHdr*); /* Call to try make a page clean */ PgHdr 34355 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPage1; /* Reference to page 1 */ PgHdr 34381 third_party/sqlite/amalgamation/sqlite3.c PgHdr *p; PgHdr 34392 third_party/sqlite/amalgamation/sqlite3.c static void pcacheRemoveFromDirtyList(PgHdr *pPage){ PgHdr 34400 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pSynced = pPage->pDirtyPrev; PgHdr 34429 third_party/sqlite/amalgamation/sqlite3.c static void pcacheAddToDirtyList(PgHdr *pPage){ PgHdr 34453 third_party/sqlite/amalgamation/sqlite3.c static void pcacheUnpin(PgHdr *p){ PgHdr 34499 third_party/sqlite/amalgamation/sqlite3.c int (*xStress)(void*,PgHdr*),/* Call to try to make pages clean */ PgHdr 34533 third_party/sqlite/amalgamation/sqlite3.c PgHdr **ppPage /* Write the page here */ PgHdr 34535 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPage = 0; PgHdr 34548 third_party/sqlite/amalgamation/sqlite3.c nByte = pCache->szPage + pCache->szExtra + sizeof(PgHdr); PgHdr 34563 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPg; PgHdr 34592 third_party/sqlite/amalgamation/sqlite3.c memset(pPage, 0, sizeof(PgHdr)); PgHdr 34620 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheRelease(PgHdr *p){ PgHdr 34639 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheRef(PgHdr *p){ PgHdr 34649 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheDrop(PgHdr *p){ PgHdr 34667 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheMakeDirty(PgHdr *p){ PgHdr 34680 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheMakeClean(PgHdr *p){ PgHdr 34694 third_party/sqlite/amalgamation/sqlite3.c PgHdr *p; PgHdr 34704 third_party/sqlite/amalgamation/sqlite3.c PgHdr *p; PgHdr 34714 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheMove(PgHdr *p, Pgno newPgno){ PgHdr 34737 third_party/sqlite/amalgamation/sqlite3.c PgHdr *p; PgHdr 34738 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pNext; PgHdr 34779 third_party/sqlite/amalgamation/sqlite3.c static PgHdr *pcacheMergeDirtyList(PgHdr *pA, PgHdr *pB){ PgHdr 34780 third_party/sqlite/amalgamation/sqlite3.c PgHdr result, *pTail; PgHdr 34814 third_party/sqlite/amalgamation/sqlite3.c static PgHdr *pcacheSortDirtyList(PgHdr *pIn){ PgHdr 34815 third_party/sqlite/amalgamation/sqlite3.c PgHdr *a[N_SORT_BUCKET], *p; PgHdr 34848 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE PgHdr *sqlite3PcacheDirtyList(PCache *pCache){ PgHdr 34849 third_party/sqlite/amalgamation/sqlite3.c PgHdr *p; PgHdr 34866 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3PcachePageRefcount(PgHdr *p){ PgHdr 34906 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheIterateDirty(PCache *pCache, void (*xIter)(PgHdr *)){ PgHdr 34907 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pDirty; PgHdr 36416 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3WalFrames(Wal *pWal, int, PgHdr *, Pgno, int, int); PgHdr 37422 third_party/sqlite/amalgamation/sqlite3.c static int subjRequiresPage(PgHdr *pPg){ PgHdr 37438 third_party/sqlite/amalgamation/sqlite3.c static int pageInJournal(PgHdr *pPg){ PgHdr 37582 third_party/sqlite/amalgamation/sqlite3.c static u32 pager_pagehash(PgHdr *pPage){ PgHdr 37585 third_party/sqlite/amalgamation/sqlite3.c static void pager_set_pagehash(PgHdr *pPage){ PgHdr 37595 third_party/sqlite/amalgamation/sqlite3.c static void checkPage(PgHdr *pPg){ PgHdr 38081 third_party/sqlite/amalgamation/sqlite3.c static PgHdr *pager_lookup(Pager *pPager, Pgno pgno){ PgHdr 38082 third_party/sqlite/amalgamation/sqlite3.c PgHdr *p; /* Return value */ PgHdr 38379 third_party/sqlite/amalgamation/sqlite3.c PgHdr *p = pager_lookup(pPager, 1); PgHdr 38534 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPg; /* An existing page in the cache */ PgHdr 39225 third_party/sqlite/amalgamation/sqlite3.c static int readDbPage(PgHdr *pPg){ PgHdr 39292 third_party/sqlite/amalgamation/sqlite3.c static void pager_write_changecounter(PgHdr *pPg){ PgHdr 39322 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPg; PgHdr 39355 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pList; /* List of dirty pages to revert */ PgHdr 39368 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pNext = pList->pDirty; PgHdr 39387 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pList, /* List of frames to log */ PgHdr 39394 third_party/sqlite/amalgamation/sqlite3.c PgHdr *p; /* For looping over pages */ PgHdr 39410 third_party/sqlite/amalgamation/sqlite3.c PgHdr *p; PgHdr 39411 third_party/sqlite/amalgamation/sqlite3.c PgHdr **ppNext = &pList; PgHdr 39423 third_party/sqlite/amalgamation/sqlite3.c PgHdr *p; PgHdr 40105 third_party/sqlite/amalgamation/sqlite3.c static void assertTruncateConstraintCb(PgHdr *pPg){ PgHdr 40414 third_party/sqlite/amalgamation/sqlite3.c static int pager_write_pagelist(Pager *pPager, PgHdr *pList){ PgHdr 40527 third_party/sqlite/amalgamation/sqlite3.c static int subjournalPage(PgHdr *pPg){ PgHdr 40584 third_party/sqlite/amalgamation/sqlite3.c static int pagerStress(void *p, PgHdr *pPg){ PgHdr 41394 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPg; PgHdr 41501 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPg = 0; PgHdr 41736 third_party/sqlite/amalgamation/sqlite3.c static int pager_write(PgHdr *pPg){ PgHdr 41884 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPg = pDbPage; PgHdr 41927 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPage; PgHdr 41956 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPage = pager_lookup(pPager, pg1+ii); PgHdr 41997 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PagerDontWrite(PgHdr *pPg){ PgHdr 42056 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPgHdr; /* Reference to page 1 */ PgHdr 42199 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pList = sqlite3PcacheDirtyList(pPager->pPCache); PgHdr 42200 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPageOne = 0; PgHdr 42243 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPg; PgHdr 42291 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPage; /* Page to journal */ PgHdr 42499 third_party/sqlite/amalgamation/sqlite3.c int perPageSize = pPager->pageSize + pPager->nExtra + sizeof(PgHdr) PgHdr 42765 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPgOld; /* The page being overwritten. */ PgHdr 42874 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pPgHdr; PgHdr 43269 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void *sqlite3PagerCodec(PgHdr *pPg){ PgHdr 45840 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pList, /* List of dirty pages to write */ PgHdr 45848 third_party/sqlite/amalgamation/sqlite3.c PgHdr *p; /* Iterator to run through pList with. */ PgHdr 45849 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pLast = 0; /* Last frame in list */ PgHdr 55746 third_party/sqlite/amalgamation/sqlite3.c PgHdr *pSrcPg = 0; PgHdr 109891 third_party/sqlite/amalgamation/sqlite3.c rc = sizeof(PgHdr); PgHdr 483 third_party/sqlite/src/src/backup.c PgHdr *pSrcPg = 0; PgHdr 2646 third_party/sqlite/src/src/main.c rc = sizeof(PgHdr); PgHdr 992 third_party/sqlite/src/src/pager.c static int subjRequiresPage(PgHdr *pPg){ PgHdr 1008 third_party/sqlite/src/src/pager.c static int pageInJournal(PgHdr *pPg){ PgHdr 1152 third_party/sqlite/src/src/pager.c static u32 pager_pagehash(PgHdr *pPage){ PgHdr 1155 third_party/sqlite/src/src/pager.c static void pager_set_pagehash(PgHdr *pPage){ PgHdr 1165 third_party/sqlite/src/src/pager.c static void checkPage(PgHdr *pPg){ PgHdr 1651 third_party/sqlite/src/src/pager.c static PgHdr *pager_lookup(Pager *pPager, Pgno pgno){ PgHdr 1652 third_party/sqlite/src/src/pager.c PgHdr *p; /* Return value */ PgHdr 1949 third_party/sqlite/src/src/pager.c PgHdr *p = pager_lookup(pPager, 1); PgHdr 2104 third_party/sqlite/src/src/pager.c PgHdr *pPg; /* An existing page in the cache */ PgHdr 2795 third_party/sqlite/src/src/pager.c static int readDbPage(PgHdr *pPg){ PgHdr 2862 third_party/sqlite/src/src/pager.c static void pager_write_changecounter(PgHdr *pPg){ PgHdr 2892 third_party/sqlite/src/src/pager.c PgHdr *pPg; PgHdr 2925 third_party/sqlite/src/src/pager.c PgHdr *pList; /* List of dirty pages to revert */ PgHdr 2938 third_party/sqlite/src/src/pager.c PgHdr *pNext = pList->pDirty; PgHdr 2957 third_party/sqlite/src/src/pager.c PgHdr *pList, /* List of frames to log */ PgHdr 2964 third_party/sqlite/src/src/pager.c PgHdr *p; /* For looping over pages */ PgHdr 2980 third_party/sqlite/src/src/pager.c PgHdr *p; PgHdr 2981 third_party/sqlite/src/src/pager.c PgHdr **ppNext = &pList; PgHdr 2993 third_party/sqlite/src/src/pager.c PgHdr *p; PgHdr 3675 third_party/sqlite/src/src/pager.c static void assertTruncateConstraintCb(PgHdr *pPg){ PgHdr 3984 third_party/sqlite/src/src/pager.c static int pager_write_pagelist(Pager *pPager, PgHdr *pList){ PgHdr 4097 third_party/sqlite/src/src/pager.c static int subjournalPage(PgHdr *pPg){ PgHdr 4154 third_party/sqlite/src/src/pager.c static int pagerStress(void *p, PgHdr *pPg){ PgHdr 4964 third_party/sqlite/src/src/pager.c PgHdr *pPg; PgHdr 5071 third_party/sqlite/src/src/pager.c PgHdr *pPg = 0; PgHdr 5306 third_party/sqlite/src/src/pager.c static int pager_write(PgHdr *pPg){ PgHdr 5454 third_party/sqlite/src/src/pager.c PgHdr *pPg = pDbPage; PgHdr 5497 third_party/sqlite/src/src/pager.c PgHdr *pPage; PgHdr 5526 third_party/sqlite/src/src/pager.c PgHdr *pPage = pager_lookup(pPager, pg1+ii); PgHdr 5567 third_party/sqlite/src/src/pager.c void sqlite3PagerDontWrite(PgHdr *pPg){ PgHdr 5626 third_party/sqlite/src/src/pager.c PgHdr *pPgHdr; /* Reference to page 1 */ PgHdr 5769 third_party/sqlite/src/src/pager.c PgHdr *pList = sqlite3PcacheDirtyList(pPager->pPCache); PgHdr 5770 third_party/sqlite/src/src/pager.c PgHdr *pPageOne = 0; PgHdr 5813 third_party/sqlite/src/src/pager.c PgHdr *pPg; PgHdr 5861 third_party/sqlite/src/src/pager.c PgHdr *pPage; /* Page to journal */ PgHdr 6069 third_party/sqlite/src/src/pager.c int perPageSize = pPager->pageSize + pPager->nExtra + sizeof(PgHdr) PgHdr 6335 third_party/sqlite/src/src/pager.c PgHdr *pPgOld; /* The page being overwritten. */ PgHdr 6444 third_party/sqlite/src/src/pager.c PgHdr *pPgHdr; PgHdr 6839 third_party/sqlite/src/src/pager.c void *sqlite3PagerCodec(PgHdr *pPg){ PgHdr 43 third_party/sqlite/src/src/pager.h typedef struct PgHdr DbPage; PgHdr 20 third_party/sqlite/src/src/pcache.c PgHdr *pDirty, *pDirtyTail; /* List of dirty pages in LRU order */ PgHdr 21 third_party/sqlite/src/src/pcache.c PgHdr *pSynced; /* Last synced page in dirty page list */ PgHdr 27 third_party/sqlite/src/src/pcache.c int (*xStress)(void*,PgHdr*); /* Call to try make a page clean */ PgHdr 30 third_party/sqlite/src/src/pcache.c PgHdr *pPage1; /* Reference to page 1 */ PgHdr 56 third_party/sqlite/src/src/pcache.c PgHdr *p; PgHdr 67 third_party/sqlite/src/src/pcache.c static void pcacheRemoveFromDirtyList(PgHdr *pPage){ PgHdr 75 third_party/sqlite/src/src/pcache.c PgHdr *pSynced = pPage->pDirtyPrev; PgHdr 104 third_party/sqlite/src/src/pcache.c static void pcacheAddToDirtyList(PgHdr *pPage){ PgHdr 128 third_party/sqlite/src/src/pcache.c static void pcacheUnpin(PgHdr *p){ PgHdr 174 third_party/sqlite/src/src/pcache.c int (*xStress)(void*,PgHdr*),/* Call to try to make pages clean */ PgHdr 208 third_party/sqlite/src/src/pcache.c PgHdr **ppPage /* Write the page here */ PgHdr 210 third_party/sqlite/src/src/pcache.c PgHdr *pPage = 0; PgHdr 223 third_party/sqlite/src/src/pcache.c nByte = pCache->szPage + pCache->szExtra + sizeof(PgHdr); PgHdr 238 third_party/sqlite/src/src/pcache.c PgHdr *pPg; PgHdr 267 third_party/sqlite/src/src/pcache.c memset(pPage, 0, sizeof(PgHdr)); PgHdr 295 third_party/sqlite/src/src/pcache.c void sqlite3PcacheRelease(PgHdr *p){ PgHdr 314 third_party/sqlite/src/src/pcache.c void sqlite3PcacheRef(PgHdr *p){ PgHdr 324 third_party/sqlite/src/src/pcache.c void sqlite3PcacheDrop(PgHdr *p){ PgHdr 342 third_party/sqlite/src/src/pcache.c void sqlite3PcacheMakeDirty(PgHdr *p){ PgHdr 355 third_party/sqlite/src/src/pcache.c void sqlite3PcacheMakeClean(PgHdr *p){ PgHdr 369 third_party/sqlite/src/src/pcache.c PgHdr *p; PgHdr 379 third_party/sqlite/src/src/pcache.c PgHdr *p; PgHdr 389 third_party/sqlite/src/src/pcache.c void sqlite3PcacheMove(PgHdr *p, Pgno newPgno){ PgHdr 412 third_party/sqlite/src/src/pcache.c PgHdr *p; PgHdr 413 third_party/sqlite/src/src/pcache.c PgHdr *pNext; PgHdr 454 third_party/sqlite/src/src/pcache.c static PgHdr *pcacheMergeDirtyList(PgHdr *pA, PgHdr *pB){ PgHdr 455 third_party/sqlite/src/src/pcache.c PgHdr result, *pTail; PgHdr 489 third_party/sqlite/src/src/pcache.c static PgHdr *pcacheSortDirtyList(PgHdr *pIn){ PgHdr 490 third_party/sqlite/src/src/pcache.c PgHdr *a[N_SORT_BUCKET], *p; PgHdr 523 third_party/sqlite/src/src/pcache.c PgHdr *sqlite3PcacheDirtyList(PCache *pCache){ PgHdr 524 third_party/sqlite/src/src/pcache.c PgHdr *p; PgHdr 541 third_party/sqlite/src/src/pcache.c int sqlite3PcachePageRefcount(PgHdr *p){ PgHdr 581 third_party/sqlite/src/src/pcache.c void sqlite3PcacheIterateDirty(PCache *pCache, void (*xIter)(PgHdr *)){ PgHdr 582 third_party/sqlite/src/src/pcache.c PgHdr *pDirty; PgHdr 18 third_party/sqlite/src/src/pcache.h typedef struct PgHdr PgHdr; PgHdr 28 third_party/sqlite/src/src/pcache.h PgHdr *pDirty; /* Transient list of dirty pages */ PgHdr 43 third_party/sqlite/src/src/pcache.h PgHdr *pDirtyNext; /* Next element in list of dirty pages */ PgHdr 44 third_party/sqlite/src/src/pcache.h PgHdr *pDirtyPrev; /* Previous element in list of dirty pages */ PgHdr 72 third_party/sqlite/src/src/pcache.h int (*xStress)(void*, PgHdr*), /* Call to try to make pages clean */ PgHdr 88 third_party/sqlite/src/src/pcache.h int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**); PgHdr 89 third_party/sqlite/src/src/pcache.h void sqlite3PcacheRelease(PgHdr*); PgHdr 91 third_party/sqlite/src/src/pcache.h void sqlite3PcacheDrop(PgHdr*); /* Remove page from cache */ PgHdr 92 third_party/sqlite/src/src/pcache.h void sqlite3PcacheMakeDirty(PgHdr*); /* Make sure page is marked dirty */ PgHdr 93 third_party/sqlite/src/src/pcache.h void sqlite3PcacheMakeClean(PgHdr*); /* Mark a single page as clean */ PgHdr 97 third_party/sqlite/src/src/pcache.h void sqlite3PcacheMove(PgHdr*, Pgno); PgHdr 103 third_party/sqlite/src/src/pcache.h PgHdr *sqlite3PcacheDirtyList(PCache*); PgHdr 118 third_party/sqlite/src/src/pcache.h void sqlite3PcacheRef(PgHdr*); PgHdr 120 third_party/sqlite/src/src/pcache.h int sqlite3PcachePageRefcount(PgHdr*); PgHdr 130 third_party/sqlite/src/src/pcache.h void sqlite3PcacheIterateDirty(PCache *pCache, void (*xIter)(PgHdr *)); PgHdr 2560 third_party/sqlite/src/src/wal.c PgHdr *pList, /* List of dirty pages to write */ PgHdr 2568 third_party/sqlite/src/src/wal.c PgHdr *p; /* Iterator to run through pList with. */ PgHdr 2569 third_party/sqlite/src/src/wal.c PgHdr *pLast = 0; /* Last frame in list */ PgHdr 84 third_party/sqlite/src/src/wal.h int sqlite3WalFrames(Wal *pWal, int, PgHdr *, Pgno, int, int);