Lines Matching refs:pSynced
49342 ** pDirty, pDirtyTail, pSynced:
49349 ** The PCache.pSynced variable is used to optimize searching for a dirty
49352 ** Therefore, pSynced is maintained so that it *almost* always points
49360 PgHdr *pSynced; /* Last synced page in dirty page list */
49485 /* Update the PCache1.pSynced variable if necessary. */
49486 if( p->pSynced==pPage ){
49487 p->pSynced = pPage->pDirtyPrev;
49527 /* If pSynced is NULL and this page has a clear NEED_SYNC flag, set
49528 ** pSynced to point to it. Checking the NEED_SYNC flag is an
49529 ** optimization, as if pSynced points to a page with the NEED_SYNC
49532 if( !p->pSynced
49535 p->pSynced = pPage;
49736 ** flag is currently referenced, then the following may leave pSynced
49738 ** cleared). This is Ok, as pSynced is just an optimization. */
49739 for(pPg=pCache->pSynced;
49743 pCache->pSynced = pPg;
49920 pCache->pSynced = pCache->pDirtyTail;
49931 pCache->pSynced = pCache->pDirtyTail;