Lines Matching refs:BtShared
14763 typedef struct BtShared BtShared; typedef
63614 BtShared *pBt; /* Pointer to BtShared that this page is part of */
63665 BtShared *pBt; /* Sharable content of this btree */
63726 struct BtShared {
63755 BtShared *pNext; /* Next on a list of sharable BtShared structs */
63839 BtShared *pBt; /* The BtShared this cursor points to */
63995 BtShared *pBt; /* The tree being checked out */
64057 BtShared *pBt = p->pBt;
64401 SQLITE_PRIVATE BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
64403 static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
64602 BtShared *pBt = p->pBt;
64674 BtShared *pBt = p->pBt;
64738 BtShared *pBt = p->pBt;
64782 BtShared *pBt = p->pBt;
64834 static void invalidateAllOverflowCache(BtShared *pBt){
64916 static int btreeSetHasContent(BtShared *pBt, Pgno pgno){
64938 static int btreeGetHasContent(BtShared *pBt, Pgno pgno){
64947 static void btreeClearHasContent(BtShared *pBt){
65071 static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){
65286 static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){
65310 static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){
65369 static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){
66140 BtShared *pBt; /* A copy of pPage->pBt */
66317 BtShared *pBt; /* The main btree structure */
66370 BtShared *pBt = pPage->pBt;
66405 static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){
66430 BtShared *pBt, /* The btree */
66451 static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){
66465 static Pgno btreePagecount(BtShared *pBt){
66488 BtShared *pBt, /* The database file */
66579 BtShared *pBt, /* The btree */
66630 BtShared *pBt = (BtShared*)pArg;
66665 BtShared *pBt = 0; /* Shared part of btree structure */
66752 for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){
66877 pBt->pNext = GLOBAL(BtShared*,sqlite3SharedCacheList);
66878 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt;
66955 static int removeFromSharingList(BtShared *pBt){
66958 BtShared *pList;
66966 if( GLOBAL(BtShared*,sqlite3SharedCacheList)==pBt ){
66967 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt->pNext;
66969 pList = GLOBAL(BtShared*,sqlite3SharedCacheList);
66994 static void allocateTempSpace(BtShared *pBt){
67023 static void freeTempSpace(BtShared *pBt){
67035 BtShared *pBt = p->pBt;
67097 BtShared *pBt = p->pBt;
67116 BtShared *pBt = p->pBt;
67131 BtShared *pBt = p->pBt;
67153 BtShared *pBt = p->pBt;
67185 BtShared *pBt = p->pBt;
67310 BtShared *pBt = p->pBt;
67354 static void setDefaultSyncFlag(BtShared *pBt, u8 safety_level){
67374 static int newDatabase(BtShared*);
67386 static int lockBtree(BtShared *pBt){
67574 static int countValidCursors(BtShared *pBt, int wrOnly){
67593 static void unlockBtreeIfUnused(BtShared *pBt){
67610 static int newDatabase(BtShared *pBt){
67699 BtShared *pBt = p->pBt;
67882 BtShared *pBt = pPage->pBt;
67985 BtShared *pBt, /* Btree */
68059 static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8);
68078 static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit){
68174 static Pgno finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree){
68202 BtShared *pBt = p->pBt;
68242 static int autoVacuumCommit(BtShared *pBt){
68324 BtShared *pBt = p->pBt;
68349 BtShared *pBt = p->pBt;
68421 BtShared *pBt = p->pBt;
68511 static void btreeSetNPage(BtShared *pBt, MemPage *pPage1){
68532 BtShared *pBt = p->pBt;
68597 BtShared *pBt = p->pBt;
68629 BtShared *pBt = p->pBt;
68704 BtShared *pBt = p->pBt; /* Shared b-tree handle */
68820 BtShared *pBt = pCur->pBt;
68990 BtShared *pBt, /* The database file */
69118 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */
69419 BtShared *pBt = pCur->pBt;
70237 BtShared *pBt, /* The btree */
70558 static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){
70703 BtShared *pBt;
70794 BtShared *pBt;
71601 BtShared *const pBt = pPage->pBt; /* B-Tree Database */
71708 BtShared *pBt = pPage->pBt;
71757 BtShared * const pBt = pFrom->pBt;
71844 BtShared *pBt; /* The whole database */
72627 BtShared *pBt = pRoot->pBt; /* The BTree */
72878 BtShared *pBt; /* Btree */
72964 BtShared *pBt = p->pBt;
73235 BtShared *pBt = p->pBt;
73418 BtShared *pBt = p->pBt;
73573 BtShared *pBt, /* The BTree that contains the table */
73641 BtShared *pBt = p->pBt;
73690 BtShared *pBt = p->pBt;
73802 BtShared *pBt = p->pBt;
73832 BtShared *pBt = p->pBt;
74195 BtShared *pBt; /* The BtShared object that owns pPage */
74454 BtShared *pBt = p->pBt;
74621 BtShared *pBt = p->pBt;
74670 BtShared *pBt = p->pBt;
74792 BtShared *pBt = pBtree->pBt;