Lines Matching refs:nBackfill
395 u32 nBackfill; /* Number of WAL frames backfilled into DB */ member
1406 pInfo->nBackfill = 0; in walIndexRecover()
1780 static int walIteratorInit(Wal *pWal, u32 nBackfill, WalIterator **pp){ in walIteratorInit() argument
1817 for(i=walFramePage(nBackfill+1); rc==SQLITE_OK && i<nSegment; i++){ in walIteratorInit()
1997 AtomicStore(&pInfo->nBackfill, 0); in walRestartHdr()
2058 if( pInfo->nBackfill<pWal->hdr.mxFrame ){ in walCheckpoint()
2090 if( pInfo->nBackfill<mxSafeFrame ){ in walCheckpoint()
2091 rc = walIteratorInit(pWal, pInfo->nBackfill, &pIter); in walCheckpoint()
2098 u32 nBackfill = pInfo->nBackfill; in walCheckpoint() local
2135 if( iFrame<=nBackfill || iFrame>mxSafeFrame || iDbpage>mxPage ){ in walCheckpoint()
2160 AtomicStore(&pInfo->nBackfill, mxSafeFrame); in walCheckpoint()
2182 if( pInfo->nBackfill<pWal->hdr.mxFrame ){ in walCheckpoint()
2187 assert( pInfo->nBackfill==pWal->hdr.mxFrame ); in walCheckpoint()
2791 if( !useWal && AtomicLoad(&pInfo->nBackfill)==pWal->hdr.mxFrame in walTryBeginRead()
2906 pWal->minFrame = AtomicLoad(&pInfo->nBackfill)+1; in walTryBeginRead()
2958 for(i=pInfo->nBackfillAttempted; i>AtomicLoad(&pInfo->nBackfill); i--){ in sqlite3WalSnapshotRecover()
3447 assert( pInfo->nBackfill==pWal->hdr.mxFrame ); in walRestartLog()
3448 if( pInfo->nBackfill>0 ){ in walRestartLog()
3932 if( pnCkpt ) *pnCkpt = (int)(walCkptInfo(pWal)->nBackfill); in sqlite3WalCheckpoint()