Lines Matching refs:BtShared

14644 typedef struct BtShared BtShared;  typedef
64843 BtShared *pBt; /* Pointer to BtShared that this page is part of */
64894 BtShared *pBt; /* Sharable content of this btree */
64972 struct BtShared {
65001 BtShared *pNext; /* Next on a list of sharable BtShared structs */
65086 BtShared *pBt; /* The BtShared this cursor points to */
65242 BtShared *pBt; /* The tree being checked out */
65305 BtShared *pBt = p->pBt;
65649 SQLITE_PRIVATE BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
65651 static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
65863 BtShared *pBt = p->pBt;
65935 BtShared *pBt = p->pBt;
65999 BtShared *pBt = p->pBt;
66043 BtShared *pBt = p->pBt;
66095 static void invalidateAllOverflowCache(BtShared *pBt){
66177 static int btreeSetHasContent(BtShared *pBt, Pgno pgno){
66199 static int btreeGetHasContent(BtShared *pBt, Pgno pgno){
66208 static void btreeClearHasContent(BtShared *pBt){
66332 static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){
66545 static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){
66569 static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){
66628 static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){
67417 BtShared *pBt; /* A copy of pPage->pBt */
67594 BtShared *pBt; /* The main btree structure */
67647 BtShared *pBt = pPage->pBt;
67682 static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){
67707 BtShared *pBt, /* The btree */
67728 static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){
67742 static Pgno btreePagecount(BtShared *pBt){
67764 BtShared *pBt, /* The database file */
67855 BtShared *pBt, /* The btree */
67906 BtShared *pBt = (BtShared*)pArg;
67941 BtShared *pBt = 0; /* Shared part of btree structure */
68028 for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){
68153 pBt->pNext = GLOBAL(BtShared*,sqlite3SharedCacheList);
68154 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt;
68231 static int removeFromSharingList(BtShared *pBt){
68234 BtShared *pList;
68242 if( GLOBAL(BtShared*,sqlite3SharedCacheList)==pBt ){
68243 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt->pNext;
68245 pList = GLOBAL(BtShared*,sqlite3SharedCacheList);
68270 static void allocateTempSpace(BtShared *pBt){
68299 static void freeTempSpace(BtShared *pBt){
68311 BtShared *pBt = p->pBt;
68377 BtShared *pBt = p->pBt;
68396 BtShared *pBt = p->pBt;
68411 BtShared *pBt = p->pBt;
68433 BtShared *pBt = p->pBt;
68465 BtShared *pBt = p->pBt;
68591 BtShared *pBt = p->pBt;
68635 static void setDefaultSyncFlag(BtShared *pBt, u8 safety_level){
68655 static int newDatabase(BtShared*);
68667 static int lockBtree(BtShared *pBt){
68854 static int countValidCursors(BtShared *pBt, int wrOnly){
68873 static void unlockBtreeIfUnused(BtShared *pBt){
68890 static int newDatabase(BtShared *pBt){
68979 BtShared *pBt = p->pBt;
69162 BtShared *pBt = pPage->pBt;
69265 BtShared *pBt, /* Btree */
69339 static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8);
69358 static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit){
69454 static Pgno finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree){
69482 BtShared *pBt = p->pBt;
69520 BtShared *pBt;
69631 BtShared *pBt = p->pBt;
69656 BtShared *pBt = p->pBt;
69728 BtShared *pBt = p->pBt;
69818 static void btreeSetNPage(BtShared *pBt, MemPage *pPage1){
69839 BtShared *pBt = p->pBt;
69904 BtShared *pBt = p->pBt;
69936 BtShared *pBt = p->pBt;
70011 BtShared *pBt = p->pBt; /* Shared b-tree handle */
70127 BtShared *pBt = pCur->pBt;
70304 BtShared *pBt, /* The database file */
70432 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */
70735 BtShared *pBt = pCur->pBt;
71630 BtShared *pBt, /* The btree */
71951 static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){
72099 BtShared *pBt;
72202 BtShared *pBt;
73013 BtShared *const pBt = pPage->pBt; /* B-Tree Database */
73120 BtShared *pBt = pPage->pBt;
73169 BtShared * const pBt = pFrom->pBt;
73256 BtShared *pBt; /* The whole database */
74050 BtShared *pBt = pRoot->pBt; /* The BTree */
74301 BtShared *pBt; /* Btree */
74387 BtShared *pBt = p->pBt;
74686 BtShared *pBt = pDest->pBt;
74796 BtShared *pBt = p->pBt;
74985 BtShared *pBt = p->pBt;
75142 BtShared *pBt, /* The BTree that contains the table */
75210 BtShared *pBt = p->pBt;
75261 BtShared *pBt = p->pBt;
75373 BtShared *pBt = p->pBt;
75403 BtShared *pBt = p->pBt;
75766 BtShared *pBt; /* The BtShared object that owns pPage */
76034 BtShared *pBt = p->pBt;
76218 BtShared *pBt = p->pBt;
76261 BtShared *pBt = p->pBt;
76383 BtShared *pBt = pBtree->pBt;