Lines Matching refs:BtShared
7960 typedef struct BtShared BtShared; typedef
47632 BtShared *pBt; /* Pointer to BtShared that this page is part of */
47686 BtShared *pBt; /* Sharable content of this btree */
47745 struct BtShared {
47775 BtShared *pNext; /* Next on a list of sharable BtShared structs */
47828 BtShared *pBt; /* The BtShared this cursor points to */
47969 BtShared *pBt; /* The tree being checked out */
48012 BtShared *pBt = p->pBt;
48315 SQLITE_PRIVATE BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
48317 static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
48482 BtShared *pBt = p->pBt;
48554 BtShared *pBt = p->pBt;
48618 BtShared *pBt = p->pBt;
48663 BtShared *pBt = p->pBt;
48706 static void invalidateAllOverflowCache(BtShared *pBt){
48733 BtShared *pBt = pBtree->pBt;
48784 static int btreeSetHasContent(BtShared *pBt, Pgno pgno){
48806 static int btreeGetHasContent(BtShared *pBt, Pgno pgno){
48815 static void btreeClearHasContent(BtShared *pBt){
48877 static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){
49000 static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){
49024 static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){
49076 static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){
49608 BtShared *pBt; /* A copy of pPage->pBt */
49653 BtShared *pBt; /* The main btree structure */
49753 BtShared *pBt = pPage->pBt;
49786 static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){
49808 BtShared *pBt, /* The btree */
49828 static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){
49842 static Pgno btreePagecount(BtShared *pBt){
49860 BtShared *pBt, /* The database file */
49930 BtShared *pBt = (BtShared*)pArg;
49968 BtShared *pBt = 0; /* Shared part of btree structure */
50039 for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){
50156 pBt->pNext = GLOBAL(BtShared*,sqlite3SharedCacheList);
50157 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt;
50226 static int removeFromSharingList(BtShared *pBt){
50229 BtShared *pList;
50237 if( GLOBAL(BtShared*,sqlite3SharedCacheList)==pBt ){
50238 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt->pNext;
50240 pList = GLOBAL(BtShared*,sqlite3SharedCacheList);
50264 static void allocateTempSpace(BtShared *pBt){
50273 static void freeTempSpace(BtShared *pBt){
50282 BtShared *pBt = p->pBt;
50352 BtShared *pBt = p->pBt;
50375 BtShared *pBt = p->pBt;
50390 BtShared *pBt = p->pBt;
50422 BtShared *pBt = p->pBt;
50509 BtShared *pBt = p->pBt;
50555 static int lockBtree(BtShared *pBt){
50705 static void unlockBtreeIfUnused(BtShared *pBt){
50722 static int newDatabase(BtShared *pBt){
50798 BtShared *pBt = p->pBt;
50940 BtShared *pBt = pPage->pBt;
51047 BtShared *pBt, /* Btree */
51120 static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8);
51140 static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg){
51251 BtShared *pBt = p->pBt;
51278 static int autoVacuumCommit(BtShared *pBt){
51368 BtShared *pBt = p->pBt;
51390 BtShared *pBt = p->pBt;
51459 BtShared *pBt = p->pBt;
51500 static int countWriteCursors(BtShared *pBt){
51554 BtShared *pBt = p->pBt;
51622 BtShared *pBt = p->pBt;
51654 BtShared *pBt = p->pBt;
51713 BtShared *pBt = p->pBt; /* Shared b-tree handle */
51831 BtShared *pBt = pCur->pBt;
51977 BtShared *pBt, /* The database file */
52105 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */
52378 BtShared *pBt = pCur->pBt;
52469 BtShared *pBt = p->pBt;
53023 BtShared *pBt,
53301 static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){
53433 BtShared *pBt = pPage->pBt;
53522 BtShared *pBt = pPage->pBt;
53891 BtShared *const pBt = pPage->pBt; /* B-Tree Database */
53983 BtShared *pBt = pPage->pBt;
54032 BtShared * const pBt = pFrom->pBt;
54117 BtShared *pBt; /* The whole database */
54752 BtShared *pBt = pRoot->pBt; /* The BTree */
54951 BtShared *pBt = p->pBt;
55081 BtShared *pBt = p->pBt;
55203 BtShared *pBt = p->pBt;
55350 BtShared *pBt, /* The BTree that contains the table */
55409 BtShared *pBt = p->pBt;
55449 BtShared *pBt = p->pBt;
55572 BtShared *pBt = p->pBt;
55596 BtShared *pBt = p->pBt;
55887 BtShared *pBt;
56109 BtShared *pBt = p->pBt;
56249 BtShared *pBt = p->pBt;
56298 BtShared *pBt = p->pBt;
56417 BtShared *pBt = pBtree->pBt;