Lines Matching refs:BtShared
16474 typedef struct BtShared BtShared; typedef
70810 BtShared *pBt; /* Pointer to BtShared that this page is part of */
70863 BtShared *pBt; /* Sharable content of this btree */
70941 struct BtShared { struct
70970 BtShared *pNext; /* Next on a list of sharable BtShared structs */ argument
71061 BtShared *pBt; /* The BtShared this cursor points to */
71217 BtShared *pBt; /* The tree being checked out */
71283 BtShared *pBt = p->pBt;
71628 SQLITE_PRIVATE BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
71630 static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
71722 BtShared *pBt,
71883 BtShared *pBt = p->pBt;
71955 BtShared *pBt = p->pBt;
72021 BtShared *pBt = p->pBt;
72067 BtShared *pBt = p->pBt;
72122 static void invalidateAllOverflowCache(BtShared *pBt){
72204 static int btreeSetHasContent(BtShared *pBt, Pgno pgno){
72226 static int btreeGetHasContent(BtShared *pBt, Pgno pgno){
72235 static void btreeClearHasContent(BtShared *pBt){
72359 static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){
72589 static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){
72613 static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){
72672 static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){
73582 BtShared *pBt; /* A copy of pPage->pBt */
73769 BtShared *pBt; /* The main btree structure */
73822 BtShared *pBt = pPage->pBt;
73857 static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){
73882 BtShared *pBt, /* The btree */
73903 static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){
73917 static Pgno btreePagecount(BtShared *pBt){
73929 BtShared *pBt, /* The database file */
74003 BtShared *pBt, /* The btree */
74054 BtShared *pBt = (BtShared*)pArg;
74089 BtShared *pBt = 0; /* Shared part of btree structure */
74176 for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){
74304 pBt->pNext = GLOBAL(BtShared*,sqlite3SharedCacheList);
74305 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt;
74382 static int removeFromSharingList(BtShared *pBt){
74385 BtShared *pList;
74393 if( GLOBAL(BtShared*,sqlite3SharedCacheList)==pBt ){
74394 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt->pNext;
74396 pList = GLOBAL(BtShared*,sqlite3SharedCacheList);
74421 static SQLITE_NOINLINE int allocateTempSpace(BtShared *pBt){
74458 static void freeTempSpace(BtShared *pBt){
74470 BtShared *pBt = p->pBt;
74536 BtShared *pBt = p->pBt;
74555 BtShared *pBt = p->pBt;
74570 BtShared *pBt = p->pBt;
74592 BtShared *pBt = p->pBt;
74624 BtShared *pBt = p->pBt;
74750 BtShared *pBt = p->pBt;
74794 static void setDefaultSyncFlag(BtShared *pBt, u8 safety_level){
74814 static int newDatabase(BtShared*);
74826 static int lockBtree(BtShared *pBt){
75018 static int countValidCursors(BtShared *pBt, int wrOnly){
75037 static void unlockBtreeIfUnused(BtShared *pBt){
75054 static int newDatabase(BtShared *pBt){
75147 BtShared *pBt = p->pBt;
75326 BtShared *pBt;
75359 BtShared *pBt = pPage->pBt;
75465 BtShared *pBt, /* Btree */
75539 static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8);
75558 static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit){
75659 static Pgno finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree){
75687 BtShared *pBt = p->pBt;
75725 BtShared *pBt;
75836 BtShared *pBt = p->pBt;
75861 BtShared *pBt = p->pBt;
75933 BtShared *pBt = p->pBt;
76023 static void btreeSetNPage(BtShared *pBt, MemPage *pPage1){
76044 BtShared *pBt = p->pBt;
76109 BtShared *pBt = p->pBt;
76141 BtShared *pBt = p->pBt;
76216 BtShared *pBt = p->pBt; /* Shared b-tree handle */
76325 BtShared *pBt = pBtree->pBt;
76353 BtShared *pBt = pCur->pBt;
76528 BtShared *pBt, /* The database file */
76656 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */
78001 BtShared *pBt, /* The btree */
78322 static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){
78470 BtShared *pBt;
78573 BtShared *pBt;
79494 BtShared *const pBt = pPage->pBt; /* B-Tree Database */
79602 BtShared *pBt = pPage->pBt;
79651 BtShared * const pBt = pFrom->pBt;
79738 BtShared *pBt; /* The whole database */
80534 BtShared *pBt = pRoot->pBt; /* The BTree */
80797 BtShared *pBt; /* Btree */
81209 BtShared *pBt = pDest->pBt;
81324 BtShared *pBt = p->pBt;
81536 BtShared *pBt = p->pBt;
81693 BtShared *pBt, /* The BTree that contains the table */
81761 BtShared *pBt = p->pBt;
81812 BtShared *pBt = p->pBt;
81924 BtShared *pBt = p->pBt;
81954 BtShared *pBt = p->pBt;
82357 BtShared *pBt; /* The BtShared object that owns pPage */
82634 BtShared *pBt = p->pBt;
82819 BtShared *pBt = p->pBt;
82862 BtShared *pBt = p->pBt;
82985 BtShared *pBt = pBtree->pBt;
83040 BtShared *pBt = p->pBt;