Lines Matching defs:nMax
34348 int nMax; /* Configured cache size */
34509 p->nMax = 100;
34553 sqlite3GlobalConfig.pcache.xCachesize(p, pCache->nMax);
34886 return pCache->nMax;
34894 pCache->nMax = mxPage;
34965 int nMaxPage; /* Sum of nMax for purgeable caches */
34982 ** flag (bPurgeable) are set when the cache is created. nMax may be
34984 ** The PGroup mutex must be held when accessing nMax.
34990 unsigned int nMax; /* Configured "cache_size" value */
34991 unsigned int n90pct; /* nMax*9/10 */
35516 static void pcache1Cachesize(sqlite3_pcache *p, int nMax){
35521 pGroup->nMaxPage += (nMax - pCache->nMax);
35523 pCache->nMax = nMax;
35524 pCache->n90pct = pCache->nMax*9/10;
35571 ** PCache1.nMax, or
35574 ** the sum of nMax for all purgeable caches, less the sum of
35581 ** PCache1.nMax, or
35584 ** already equal to or greater than the sum of nMax for all
35636 assert( pCache->n90pct == pCache->nMax*9/10 );
35651 (pCache->nPage+1>=pCache->nMax)
35799 assert( pCache->bPurgeable || (pCache->nMax==0 && pCache->nMin==0) );
35802 pGroup->nMaxPage -= pCache->nMax;