Lines Matching defs:pDirty

9823   PgHdr *pDirty;                 /* Transient list of dirty pages */
37964 PgHdr *pDirty, *pDirtyTail; /* List of dirty pages in LRU order */
38016 assert( pPage->pDirtyPrev || pPage==p->pDirty );
38036 assert( pPage==p->pDirty );
38037 p->pDirty = pPage->pDirtyNext;
38038 if( p->pDirty==0 && p->bPurgeable ){
38050 ** Add page pPage to the head of the dirty list (PCache1.pDirty is set to
38056 assert( pPage->pDirtyNext==0 && pPage->pDirtyPrev==0 && p->pDirty!=pPage );
38058 pPage->pDirtyNext = p->pDirty;
38066 p->pDirty = pPage;
38145 assert( pCache->nRef==0 && pCache->pDirty==0 );
38204 ** (createFlag==1 AND bPurgeable AND pDirty)
38206 ** (createFlag==1 AND !(bPurgeable AND pDirty)
38209 assert( (createFlag*(1+(!pCache->bPurgeable||!pCache->pDirty)))==eCreate );
38354 while( (p = pCache->pDirty)!=0 ){
38364 for(p=pCache->pDirty; p; p=p->pDirtyNext){
38398 for(p=pCache->pDirty; p; p=pNext){
38435 ** Merge two lists of pages connected by pDirty and in pgno order.
38443 pTail->pDirty = pA;
38445 pA = pA->pDirty;
38447 pTail->pDirty = pB;
38449 pB = pB->pDirty;
38453 pTail->pDirty = pA;
38455 pTail->pDirty = pB;
38457 pTail->pDirty = 0;
38459 return result.pDirty;
38464 ** connected by pDirty pointers. The pDirtyPrev pointers are
38479 pIn = p->pDirty;
38480 p->pDirty = 0;
38509 for(p=pCache->pDirty; p; p=p->pDirtyNext){
38510 p->pDirty = p->pDirtyNext;
38512 return pcacheSortDirtyList(pCache->pDirty);
38576 PgHdr *pDirty;
38577 for(pDirty=pCache->pDirty; pDirty; pDirty=pDirty->pDirtyNext){
38578 xIter(pDirty);
40937 PgHdr *pMmapFreelist; /* List of free mmap page headers (pDirty) */
43284 PgHdr *pNext = pList->pDirty;
43294 ** the contents of the list of pages headed by pList (connected by pDirty),
43317 for(p=pList; p && p->pDirty; p=p->pDirty){
43318 assert( p->pgno < p->pDirty->pgno );
43322 assert( pList->pDirty==0 || isCommit );
43326 ** They will never be read by any client. So remove them from the pDirty
43331 for(p=pList; (*ppNext = p)!=0; p=p->pDirty){
43333 ppNext = &p->pDirty;
43349 for(p=pList; p; p=p->pDirty){
43356 for(p=pList; p; p=p->pDirty){
44162 pPager->pMmapFreelist = p->pDirty;
44163 p->pDirty = 0;
44197 pPg->pDirty = pPager->pMmapFreelist;
44211 pNext = p->pDirty;
44448 ** by the PgHdr.pDirty pointer. This function writes each one of the
44501 && (pList->pDirty || pList->pgno>pPager->dbHintSize)
44555 pList = pList->pDirty;
44685 pPg->pDirty = 0;
46390 pList->pDirty = 0;
46433 && (0==(pPg = sqlite3PcacheDirtyList(pPager->pPCache)) || 0==pPg->pDirty)
50241 { int cnt; for(cnt=0, p=pList; p; p=p->pDirty, cnt++){}
50309 for(p=pList; p; p=p->pDirty){
50313 nDbSize = (isCommit && p->pDirty==0) ? nTruncate : 0;
50368 for(p=pList; p && rc==SQLITE_OK; p=p->pDirty){