Lines Matching refs:BtShared

14318 typedef struct BtShared BtShared;  typedef
62476 BtShared *pBt; /* Pointer to BtShared that this page is part of */
62527 BtShared *pBt; /* Sharable content of this btree */
62588 struct BtShared {
62619 BtShared *pNext; /* Next on a list of sharable BtShared structs */
62703 BtShared *pBt; /* The BtShared this cursor points to */
62858 BtShared *pBt; /* The tree being checked out */
62919 BtShared *pBt = p->pBt;
63263 SQLITE_PRIVATE BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
63265 static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0;
63464 BtShared *pBt = p->pBt;
63536 BtShared *pBt = p->pBt;
63600 BtShared *pBt = p->pBt;
63644 BtShared *pBt = p->pBt;
63696 static void invalidateAllOverflowCache(BtShared *pBt){
63778 static int btreeSetHasContent(BtShared *pBt, Pgno pgno){
63800 static int btreeGetHasContent(BtShared *pBt, Pgno pgno){
63809 static void btreeClearHasContent(BtShared *pBt){
63930 static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){
64145 static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){
64169 static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){
64228 static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){
64993 BtShared *pBt; /* A copy of pPage->pBt */
65170 BtShared *pBt; /* The main btree structure */
65223 BtShared *pBt = pPage->pBt;
65258 static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){
65283 BtShared *pBt, /* The btree */
65304 static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){
65318 static Pgno btreePagecount(BtShared *pBt){
65341 BtShared *pBt, /* The database file */
65432 BtShared *pBt, /* The btree */
65483 BtShared *pBt = (BtShared*)pArg;
65519 BtShared *pBt = 0; /* Shared part of btree structure */
65602 for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){
65727 pBt->pNext = GLOBAL(BtShared*,sqlite3SharedCacheList);
65728 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt;
65805 static int removeFromSharingList(BtShared *pBt){
65808 BtShared *pList;
65816 if( GLOBAL(BtShared*,sqlite3SharedCacheList)==pBt ){
65817 GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt->pNext;
65819 pList = GLOBAL(BtShared*,sqlite3SharedCacheList);
65844 static void allocateTempSpace(BtShared *pBt){
65873 static void freeTempSpace(BtShared *pBt){
65885 BtShared *pBt = p->pBt;
65947 BtShared *pBt = p->pBt;
65966 BtShared *pBt = p->pBt;
65981 BtShared *pBt = p->pBt;
66003 BtShared *pBt = p->pBt;
66034 BtShared *pBt = p->pBt;
66164 BtShared *pBt = p->pBt;
66208 static void setDefaultSyncFlag(BtShared *pBt, u8 safety_level){
66228 static int newDatabase(BtShared*);
66240 static int lockBtree(BtShared *pBt){
66428 static int countValidCursors(BtShared *pBt, int wrOnly){
66447 static void unlockBtreeIfUnused(BtShared *pBt){
66464 static int newDatabase(BtShared *pBt){
66553 BtShared *pBt = p->pBt;
66719 BtShared *pBt = pPage->pBt;
66822 BtShared *pBt, /* Btree */
66896 static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8);
66915 static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit){
67011 static Pgno finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree){
67039 BtShared *pBt = p->pBt;
67079 static int autoVacuumCommit(BtShared *pBt){
67161 BtShared *pBt = p->pBt;
67186 BtShared *pBt = p->pBt;
67258 BtShared *pBt = p->pBt;
67357 BtShared *pBt = p->pBt;
67426 BtShared *pBt = p->pBt;
67458 BtShared *pBt = p->pBt;
67534 BtShared *pBt = p->pBt; /* Shared b-tree handle */
67636 BtShared *pBt = pCur->pBt;
67794 BtShared *pBt, /* The database file */
67922 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */
68222 BtShared *pBt = pCur->pBt;
69034 BtShared *pBt, /* The btree */
69355 static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){
69500 BtShared *pBt;
69591 BtShared *pBt;
70401 BtShared *const pBt = pPage->pBt; /* B-Tree Database */
70508 BtShared *pBt = pPage->pBt;
70557 BtShared * const pBt = pFrom->pBt;
70644 BtShared *pBt; /* The whole database */
71418 BtShared *pBt = pRoot->pBt; /* The BTree */
71645 BtShared *pBt; /* Btree */
71729 BtShared *pBt = p->pBt;
71992 BtShared *pBt = p->pBt;
72175 BtShared *pBt = p->pBt;
72330 BtShared *pBt, /* The BTree that contains the table */
72398 BtShared *pBt = p->pBt;
72447 BtShared *pBt = p->pBt;
72559 BtShared *pBt = p->pBt;
72589 BtShared *pBt = p->pBt;
72953 BtShared *pBt; /* The BtShared object that owns pPage */
73211 BtShared *pBt = p->pBt;
73377 BtShared *pBt = p->pBt;
73426 BtShared *pBt = p->pBt;
73548 BtShared *pBt = pBtree->pBt;