Home | History | Annotate | Download | only in dist

Lines Matching defs:pDirty

18218   PgHdr *pDirty;                 /* Transient list of dirty sorted by pgno */
18239 #define PGHDR_CLEAN 0x001 /* Page not on the PCache.pDirty list */
18240 #define PGHDR_DIRTY 0x002 /* Page is on the PCache.pDirty list */
56720 ** pDirty, pDirtyTail, pSynced:
56724 ** PCache.pDirty points to the first (newest) element in the list and
56731 ** to either the oldest page in the pDirty/pDirtyTail list that has a
56737 PgHdr *pDirty, *pDirtyTail; /* List of dirty pages in LRU order */
56808 for(p=pCache->pDirty; p; p=p->pDirtyNext){
56815 for(p=pCache->pDirty; p; p=p->pDirtyNext){
56848 assert( pPg->pDirtyPrev!=0 || pCache->pDirty==pPg );
56898 assert( pPage->pDirtyPrev || pPage==p->pDirty );
56918 assert( pPage==p->pDirty );
56919 p->pDirty = pPage->pDirtyNext;
56921 if( p->pDirty==0 ){ /*OPTIMIZATION-IF-TRUE*/
56929 pPage->pDirtyNext = p->pDirty;
56940 p->pDirty = pPage;
57055 assert( pCache->nRefSum==0 && pCache->pDirty==0 );
57109 assert( pCache->eCreate==((pCache->bPurgeable && pCache->pDirty) ? 1 : 2) );
57114 ** (createFlag==1 AND bPurgeable AND pDirty)
57116 ** (createFlag==1 AND !(bPurgeable AND pDirty)
57121 assert( createFlag==0 || eCreate==1+(!pCache->bPurgeable||!pCache->pDirty) );
57205 memset(&pPgHdr->pDirty, 0, sizeof(PgHdr) - offsetof(PgHdr,pDirty));
57328 while( (p = pCache->pDirty)!=0 ){
57339 for(p=pCache->pDirty; p; p=p->pDirtyNext){
57350 for(p=pCache->pDirty; p; p=p->pDirtyNext){
57396 for(p=pCache->pDirty; p; p=pNext){
57438 ** Merge two lists of pages connected by pDirty and in pgno order.
57447 pTail->pDirty = pA;
57449 pA = pA->pDirty;
57451 pTail->pDirty = pB;
57455 pTail->pDirty = pB;
57457 pB = pB->pDirty;
57459 pTail->pDirty = pA;
57464 return result.pDirty;
57469 ** connected by pDirty pointers. The pDirtyPrev pointers are
57484 pIn = p->pDirty;
57485 p->pDirty = 0;
57515 for(p=pCache->pDirty; p; p=p->pDirtyNext){
57516 p->pDirty = p->pDirtyNext;
57518 return pcacheSortDirtyList(pCache->pDirty);
57603 PgHdr *pDirty;
57606 for(pDirty=pCache->pDirty; pDirty; pDirty=pDirty->pDirtyNext) nDirty++;
57615 return (pCache->pDirty!=0);
57626 PgHdr *pDirty;
57627 for(pDirty=pCache->pDirty; pDirty; pDirty=pDirty->pDirtyNext){
57628 xIter(pDirty);
60258 PgHdr *pMmapFreelist; /* List of free mmap page headers (pDirty) */
62746 PgHdr *pNext = pList->pDirty;
62756 ** the contents of the list of pages headed by pList (connected by pDirty),
62777 for(p=pList; p && p->pDirty; p=p->pDirty){
62778 assert( p->pgno < p->pDirty->pgno );
62782 assert( pList->pDirty==0 || isCommit );
62786 ** They will never be read by any client. So remove them from the pDirty
62790 for(p=pList; (*ppNext = p)!=0; p=p->pDirty){
62792 ppNext = &p->pDirty;
62807 for(p=pList; p; p=p->pDirty){
62814 for(p=pList; p; p=p->pDirty){
63664 pPager->pMmapFreelist = p->pDirty;
63665 p->pDirty = 0;
63702 pPg->pDirty = pPager->pMmapFreelist;
63716 pNext = p->pDirty;
63983 ** by the PgHdr.pDirty pointer. This function writes each one of the
64020 assert( isOpen(pPager->fd) || pList->pDirty==0 );
64037 && (pList->pDirty || pList->pgno>pPager->dbHintSize)
64090 pList = pList->pDirty;
64228 pPg->pDirty = 0;
64276 PgHdr *pNext = pList->pDirty;
66092 pList->pDirty = 0;
66150 && (!(pPg = sqlite3PcacheDirtyList(pPager->pPCache)) || 0==pPg->pDirty)
71480 { int cnt; for(cnt=0, p=pList; p; p=p->pDirty, cnt++){}
71555 for(p=pList; p; p=p->pDirty){
71562 if( iFirst && (p->pDirty || isCommit==0) ){
71582 nDbSize = (isCommit && p->pDirty==0) ? nTruncate : 0;
71650 for(p=pList; p && rc==SQLITE_OK; p=p->pDirty){