Lines Matching refs:BtShared

8651 typedef struct BtShared BtShared;  typedef
49698 BtShared *pBt; /* Pointer to BtShared that this page is part of */
49754 BtShared *pBt; /* Sharable content of this btree */
49813 struct BtShared {
49841 BtShared *pNext; /* Next on a list of sharable BtShared structs */
49903 BtShared *pBt; /* The BtShared this cursor points to */
50059 BtShared *pBt; /* The tree being checked out */
50102 BtShared *pBt = p->pBt;
50424 SQLITE_PRIVATE BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
50426 static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
50591 BtShared *pBt = p->pBt;
50663 BtShared *pBt = p->pBt;
50727 BtShared *pBt = p->pBt;
50771 BtShared *pBt = p->pBt;
50813 static void invalidateAllOverflowCache(BtShared *pBt){
50840 BtShared *pBt = pBtree->pBt;
50891 static int btreeSetHasContent(BtShared *pBt, Pgno pgno){
50913 static int btreeGetHasContent(BtShared *pBt, Pgno pgno){
50922 static void btreeClearHasContent(BtShared *pBt){
50992 static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){
51126 static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){
51150 static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){
51202 static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){
51733 BtShared *pBt; /* A copy of pPage->pBt */
51779 BtShared *pBt; /* The main btree structure */
51881 BtShared *pBt = pPage->pBt;
51916 static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){
51938 BtShared *pBt, /* The btree */
51959 static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){
51973 static Pgno btreePagecount(BtShared *pBt){
51991 BtShared *pBt, /* The database file */
52063 BtShared *pBt = (BtShared*)pArg;
52098 BtShared *pBt = 0; /* Shared part of btree structure */
52179 for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){
52297 pBt->pNext = GLOBAL(BtShared*,sqlite3SharedCacheList);
52298 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt;
52367 static int removeFromSharingList(BtShared *pBt){
52370 BtShared *pList;
52378 if( GLOBAL(BtShared*,sqlite3SharedCacheList)==pBt ){
52379 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt->pNext;
52381 pList = GLOBAL(BtShared*,sqlite3SharedCacheList);
52405 static void allocateTempSpace(BtShared *pBt){
52426 static void freeTempSpace(BtShared *pBt){
52435 BtShared *pBt = p->pBt;
52505 BtShared *pBt = p->pBt;
52518 BtShared *pBt = p->pBt;
52539 BtShared *pBt = p->pBt;
52553 BtShared *pBt = p->pBt;
52585 BtShared *pBt = p->pBt;
52691 BtShared *pBt = p->pBt;
52737 static int lockBtree(BtShared *pBt){
52897 static int countValidCursors(BtShared *pBt, int wrOnly){
52915 static void unlockBtreeIfUnused(BtShared *pBt){
52932 static int newDatabase(BtShared *pBt){
53022 BtShared *pBt = p->pBt;
53169 BtShared *pBt = pPage->pBt;
53276 BtShared *pBt, /* Btree */
53349 static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8);
53368 static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit){
53464 static Pgno finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree){
53492 BtShared *pBt = p->pBt;
53532 static int autoVacuumCommit(BtShared *pBt){
53614 BtShared *pBt = p->pBt;
53639 BtShared *pBt = p->pBt;
53711 BtShared *pBt = p->pBt;
53787 BtShared *pBt = p->pBt;
53851 BtShared *pBt = p->pBt;
53883 BtShared *pBt = p->pBt;
53944 BtShared *pBt = p->pBt; /* Shared b-tree handle */
54062 BtShared *pBt = pCur->pBt;
54208 BtShared *pBt, /* The database file */
54336 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */
54645 BtShared *pBt = pCur->pBt;
54748 BtShared *pBt = p->pBt;
55346 BtShared *pBt, /* The btree */
55663 static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){
55795 BtShared *pBt = pPage->pBt;
55884 BtShared *pBt = pPage->pBt;
56254 BtShared *const pBt = pPage->pBt; /* B-Tree Database */
56346 BtShared *pBt = pPage->pBt;
56395 BtShared * const pBt = pFrom->pBt;
56484 BtShared *pBt; /* The whole database */
57135 BtShared *pBt = pRoot->pBt; /* The BTree */
57337 BtShared *pBt = p->pBt;
57469 BtShared *pBt = p->pBt;
57592 BtShared *pBt = p->pBt;
57746 BtShared *pBt, /* The BTree that contains the table */
57805 BtShared *pBt = p->pBt;
57845 BtShared *pBt = p->pBt;
57968 BtShared *pBt = p->pBt;
57994 BtShared *pBt = p->pBt;
58305 BtShared *pBt;
58527 BtShared *pBt = p->pBt;
58666 BtShared *pBt = p->pBt;
58715 BtShared *pBt = p->pBt;
58846 BtShared *pBt = pBtree->pBt;