Lines Matching refs:iPg
1263 u32 iPg; /* Current 32KB wal-index page */ in walIndexRecover() local
1321 for(iPg=0; iPg<=(u32)walFramePage(iLastFrame); iPg++){ in walIndexRecover()
1324 u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE); in walIndexRecover()
1325 u32 iFirst = 1 + (iPg==0?0:HASHTABLE_NPAGE_ONE+(iPg-1)*HASHTABLE_NPAGE); in walIndexRecover()
1327 rc = walIndexPage(pWal, iPg, (volatile u32**)&aShare); in walIndexRecover()
1330 pWal->apWiData[iPg] = aPrivate; in walIndexRecover()
1356 pWal->apWiData[iPg] = aShare; in walIndexRecover()
1357 nHdr = (iPg==0 ? WALINDEX_HDR_SIZE : 0); in walIndexRecover()
1604 u32 iPg = pSegment->aPgno[pSegment->aIndex[pSegment->iNext]]; in walIteratorNext() local
1605 if( iPg>iMin ){ in walIteratorNext()
1606 if( iPg<iRet ){ in walIteratorNext()
1607 iRet = iPg; in walIteratorNext()