Home | History | Annotate | Download | only in orig

Lines Matching defs:lru

6567 #define SQLITE_MUTEX_STATIC_LRU       6  /* lru page list */
13231 int iCacheCnt; /* Counter used to generate aColCache[].lru values */
13240 int lru; /* Least recently used entry has the smallest value */
40464 PgHdr *pDirty, *pDirtyTail; /* List of dirty pages in LRU order */
41217 u8 isPinned; /* Page in use, not on the LRU list */
41219 u8 isAnchor; /* This is the PGroup.lru element */
41222 PgHdr1 *pLruNext; /* Next in LRU list of unpinned pages */
41223 PgHdr1 *pLruPrev; /* Previous in LRU list of unpinned pages */
41254 PgHdr1 lru; /* The beginning and end of the LRU list */
41284 unsigned int nRecyclable; /* Number of pages in the LRU list */
41337 ** Macros to enter and leave the PCache LRU mutex.
41671 ** PGroup LRU list, if is part of it. If pPage is not part of the PGroup
41672 ** LRU list, then this function is a no-op.
41691 assert( pCache->pGroup->lru.isAnchor==1 );
41727 && (p=pGroup->lru.pLruPrev)->isAnchor==0
41862 if( pGroup->lru.isAnchor==0 ){
41863 pGroup->lru.isAnchor = 1;
41864 pGroup->lru.pLruPrev = pGroup->lru.pLruNext = &pGroup->lru;
41973 && !pGroup->lru.pLruPrev->isAnchor
41977 pPage = pGroup->lru.pLruPrev;
42063 ** then attempt to recycle a page from the LRU list. If it is the right
42163 ** part of the PGroup LRU list.
42171 /* Add the page to the PGroup LRU list. */
42172 PgHdr1 **ppFirst = &pGroup->lru.pLruNext;
42173 pPage->pLruPrev = &pGroup->lru;
42314 && (p=pcache1.grp.lru.pLruPrev)!=0
42344 for(p=pcache1.grp.lru.pLruNext; p && !p->isAnchor; p=p->pLruNext){
48461 ** page is added to the LRU list. When all references to all pages
87321 p->lru = pParse->iCacheCnt++;
87330 if( p->lru<minLru ){
87332 minLru = p->lru;
87342 p->lru = pParse->iCacheCnt++;
87487 p->lru = pParse->iCacheCnt++;
160848 ** of the LRU queue and return immediately. Otherwise, leave nUp pointing