Lines Matching refs:BtShared

8856 typedef struct BtShared BtShared;  typedef
50501 BtShared *pBt; /* Pointer to BtShared that this page is part of */
50557 BtShared *pBt; /* Sharable content of this btree */
50616 struct BtShared {
50644 BtShared *pNext; /* Next on a list of sharable BtShared structs */
50706 BtShared *pBt; /* The BtShared this cursor points to */
50864 BtShared *pBt; /* The tree being checked out */
50907 BtShared *pBt = p->pBt;
51229 SQLITE_PRIVATE BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
51231 static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
51396 BtShared *pBt = p->pBt;
51468 BtShared *pBt = p->pBt;
51532 BtShared *pBt = p->pBt;
51576 BtShared *pBt = p->pBt;
51613 static void invalidateAllOverflowCache(BtShared *pBt){
51641 BtShared *pBt = pBtree->pBt;
51690 static int btreeSetHasContent(BtShared *pBt, Pgno pgno){
51712 static int btreeGetHasContent(BtShared *pBt, Pgno pgno){
51721 static void btreeClearHasContent(BtShared *pBt){
51791 static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){
51937 static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){
51961 static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){
52013 static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){
52544 BtShared *pBt; /* A copy of pPage->pBt */
52590 BtShared *pBt; /* The main btree structure */
52692 BtShared *pBt = pPage->pBt;
52726 static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){
52748 BtShared *pBt, /* The btree */
52769 static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){
52783 static Pgno btreePagecount(BtShared *pBt){
52801 BtShared *pBt, /* The database file */
52874 BtShared *pBt = (BtShared*)pArg;
52909 BtShared *pBt = 0; /* Shared part of btree structure */
52990 for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){
53108 pBt->pNext = GLOBAL(BtShared*,sqlite3SharedCacheList);
53109 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt;
53178 static int removeFromSharingList(BtShared *pBt){
53181 BtShared *pList;
53189 if( GLOBAL(BtShared*,sqlite3SharedCacheList)==pBt ){
53190 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt->pNext;
53192 pList = GLOBAL(BtShared*,sqlite3SharedCacheList);
53216 static void allocateTempSpace(BtShared *pBt){
53237 static void freeTempSpace(BtShared *pBt){
53246 BtShared *pBt = p->pBt;
53316 BtShared *pBt = p->pBt;
53330 BtShared *pBt = p->pBt;
53352 BtShared *pBt = p->pBt;
53366 BtShared *pBt = p->pBt;
53398 BtShared *pBt = p->pBt;
53504 BtShared *pBt = p->pBt;
53550 static int lockBtree(BtShared *pBt){
53710 static int countValidCursors(BtShared *pBt, int wrOnly){
53729 static void unlockBtreeIfUnused(BtShared *pBt){
53746 static int newDatabase(BtShared *pBt){
53836 BtShared *pBt = p->pBt;
53983 BtShared *pBt = pPage->pBt;
54090 BtShared *pBt, /* Btree */
54163 static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8);
54182 static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit){
54278 static Pgno finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree){
54306 BtShared *pBt = p->pBt;
54346 static int autoVacuumCommit(BtShared *pBt){
54428 BtShared *pBt = p->pBt;
54453 BtShared *pBt = p->pBt;
54525 BtShared *pBt = p->pBt;
54601 BtShared *pBt = p->pBt;
54665 BtShared *pBt = p->pBt;
54697 BtShared *pBt = p->pBt;
54758 BtShared *pBt = p->pBt; /* Shared b-tree handle */
54846 BtShared *pBt = pCur->pBt;
54992 BtShared *pBt, /* The database file */
55122 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */
55415 BtShared *pBt = pCur->pBt;
56146 BtShared *pBt, /* The btree */
56464 static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){
56596 BtShared *pBt = pPage->pBt;
56685 BtShared *pBt = pPage->pBt;
57040 BtShared *const pBt = pPage->pBt; /* B-Tree Database */
57132 BtShared *pBt = pPage->pBt;
57181 BtShared * const pBt = pFrom->pBt;
57270 BtShared *pBt; /* The whole database */
57921 BtShared *pBt = pRoot->pBt; /* The BTree */
58123 BtShared *pBt = p->pBt;
58261 BtShared *pBt = p->pBt;
58384 BtShared *pBt = p->pBt;
58538 BtShared *pBt, /* The BTree that contains the table */
58599 BtShared *pBt = p->pBt;
58648 BtShared *pBt = p->pBt;
58771 BtShared *pBt = p->pBt;
58797 BtShared *pBt = p->pBt;
59108 BtShared *pBt;
59330 BtShared *pBt = p->pBt;
59469 BtShared *pBt = p->pBt;
59518 BtShared *pBt = p->pBt;
59639 BtShared *pBt = pBtree->pBt;