Lines Matching refs:BtShared
16060 typedef struct BtShared BtShared; typedef
69806 BtShared *pBt; /* Pointer to BtShared that this page is part of */
69859 BtShared *pBt; /* Sharable content of this btree */
69937 struct BtShared {
69966 BtShared *pNext; /* Next on a list of sharable BtShared structs */
70051 BtShared *pBt; /* The BtShared this cursor points to */
70207 BtShared *pBt; /* The tree being checked out */
70273 BtShared *pBt = p->pBt;
70618 SQLITE_PRIVATE BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
70620 static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
70712 BtShared *pBt,
70873 BtShared *pBt = p->pBt;
70945 BtShared *pBt = p->pBt;
71011 BtShared *pBt = p->pBt;
71057 BtShared *pBt = p->pBt;
71112 static void invalidateAllOverflowCache(BtShared *pBt){
71194 static int btreeSetHasContent(BtShared *pBt, Pgno pgno){
71216 static int btreeGetHasContent(BtShared *pBt, Pgno pgno){
71225 static void btreeClearHasContent(BtShared *pBt){
71349 static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){
71579 static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){
71603 static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){
71662 static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){
72566 BtShared *pBt; /* A copy of pPage->pBt */
72753 BtShared *pBt; /* The main btree structure */
72806 BtShared *pBt = pPage->pBt;
72841 static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){
72866 BtShared *pBt, /* The btree */
72887 static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){
72901 static Pgno btreePagecount(BtShared *pBt){
72913 BtShared *pBt, /* The database file */
72987 BtShared *pBt, /* The btree */
73038 BtShared *pBt = (BtShared*)pArg;
73073 BtShared *pBt = 0; /* Shared part of btree structure */
73160 for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){
73288 pBt->pNext = GLOBAL(BtShared*,sqlite3SharedCacheList);
73289 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt;
73366 static int removeFromSharingList(BtShared *pBt){
73369 BtShared *pList;
73377 if( GLOBAL(BtShared*,sqlite3SharedCacheList)==pBt ){
73378 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt->pNext;
73380 pList = GLOBAL(BtShared*,sqlite3SharedCacheList);
73405 static SQLITE_NOINLINE int allocateTempSpace(BtShared *pBt){
73442 static void freeTempSpace(BtShared *pBt){
73454 BtShared *pBt = p->pBt;
73520 BtShared *pBt = p->pBt;
73539 BtShared *pBt = p->pBt;
73554 BtShared *pBt = p->pBt;
73576 BtShared *pBt = p->pBt;
73608 BtShared *pBt = p->pBt;
73734 BtShared *pBt = p->pBt;
73778 static void setDefaultSyncFlag(BtShared *pBt, u8 safety_level){
73798 static int newDatabase(BtShared*);
73810 static int lockBtree(BtShared *pBt){
74002 static int countValidCursors(BtShared *pBt, int wrOnly){
74021 static void unlockBtreeIfUnused(BtShared *pBt){
74038 static int newDatabase(BtShared *pBt){
74131 BtShared *pBt = p->pBt;
74303 BtShared *pBt;
74336 BtShared *pBt = pPage->pBt;
74442 BtShared *pBt, /* Btree */
74516 static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8);
74535 static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit){
74636 static Pgno finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree){
74664 BtShared *pBt = p->pBt;
74702 BtShared *pBt;
74813 BtShared *pBt = p->pBt;
74838 BtShared *pBt = p->pBt;
74910 BtShared *pBt = p->pBt;
75000 static void btreeSetNPage(BtShared *pBt, MemPage *pPage1){
75021 BtShared *pBt = p->pBt;
75086 BtShared *pBt = p->pBt;
75118 BtShared *pBt = p->pBt;
75193 BtShared *pBt = p->pBt; /* Shared b-tree handle */
75311 BtShared *pBt = pCur->pBt;
75486 BtShared *pBt, /* The database file */
75614 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */
76959 BtShared *pBt, /* The btree */
77280 static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){
77428 BtShared *pBt;
77531 BtShared *pBt;
78445 BtShared *const pBt = pPage->pBt; /* B-Tree Database */
78552 BtShared *pBt = pPage->pBt;
78601 BtShared * const pBt = pFrom->pBt;
78688 BtShared *pBt; /* The whole database */
79481 BtShared *pBt = pRoot->pBt; /* The BTree */
79744 BtShared *pBt; /* Btree */
80156 BtShared *pBt = pDest->pBt;
80271 BtShared *pBt = p->pBt;
80483 BtShared *pBt = p->pBt;
80640 BtShared *pBt, /* The BTree that contains the table */
80708 BtShared *pBt = p->pBt;
80759 BtShared *pBt = p->pBt;
80871 BtShared *pBt = p->pBt;
80901 BtShared *pBt = p->pBt;
81304 BtShared *pBt; /* The BtShared object that owns pPage */
81581 BtShared *pBt = p->pBt;
81766 BtShared *pBt = p->pBt;
81809 BtShared *pBt = p->pBt;
81931 BtShared *pBt = pBtree->pBt;
81986 BtShared *pBt = p->pBt;