Searched refs:bPurgeable (Results 1 – 5 of 5) sorted by relevance
| /sqlite-3.40.0/src/ |
| H A D | pcache1.c | 187 int bPurgeable; /* True if cache is purgeable */ member 790 pCache->bPurgeable = (bPurgeable ? 1 : 0); in pcache1Create() 792 if( bPurgeable ){ in pcache1Create() 818 if( pCache->bPurgeable ){ in pcache1Cachesize() 841 if( pCache->bPurgeable ){ in pcache1Shrink() 900 if( pCache->bPurgeable in pcache1FetchStage2() 914 pGroup->nPurgeable -= (pOther->bPurgeable - pCache->bPurgeable); in pcache1FetchStage2() 1057 assert( pCache->bPurgeable || createFlag!=1 ); in pcache1Fetch() 1058 assert( pCache->bPurgeable || pCache->nMin==0 ); in pcache1Fetch() 1059 assert( pCache->bPurgeable==0 || pCache->nMin==10 ); in pcache1Fetch() [all …]
|
| H A D | pcache.c | 49 u8 bPurgeable; /* True if pages are on backing store */ member 212 assert( p->bPurgeable || p->eCreate==2 ); in pcacheManageDirtyList() 214 assert( p->bPurgeable==0 || p->eCreate==1 ); in pcacheManageDirtyList() 227 if( p->bPurgeable ){ in pcacheManageDirtyList() 253 if( p->pCache->bPurgeable ){ in pcacheUnpin() 323 int bPurgeable, /* True if pages are on backing store */ in sqlite3PcacheOpen() argument 332 p->bPurgeable = bPurgeable; in sqlite3PcacheOpen() 338 pcacheTrace(("%p.OPEN szPage %d bPurgeable %d\n",p,szPage,bPurgeable)); in sqlite3PcacheOpen() 352 pCache->bPurgeable in sqlite3PcacheSetPageSize() 401 assert( pCache->eCreate==((pCache->bPurgeable && pCache->pDirty) ? 1 : 2) ); in sqlite3PcacheFetch() [all …]
|
| H A D | test_pcache.c | 104 int bPurgeable; /* True if the page cache is purgeable */ member 136 int bPurgeable in testpcacheCreate() argument 153 p->bPurgeable = bPurgeable; in testpcacheCreate() 261 if( p->bPurgeable==0 ){ in testpcacheFetch() 304 if( p->bPurgeable in testpcacheUnpin()
|
| H A D | pcache.h | 77 int bPurgeable, /* True if pages are on backing store */
|
| H A D | sqlite.h.in | 8716 ** ^The third argument to xCreate(), bPurgeable, is true if the cache being 8719 ** does not have to do anything special based with the value of bPurgeable; 8720 ** it is purely advisory. ^On a cache where bPurgeable is false, SQLite will 8722 ** ^In other words, calls to xUnpin() on a cache with bPurgeable set to 8724 ** ^Hence, a cache created with bPurgeable false will 8731 ** the SQLite "[PRAGMA cache_size]" command.)^ As with the bPurgeable 8818 sqlite3_pcache *(*xCreate)(int szPage, int szExtra, int bPurgeable); 8840 sqlite3_pcache *(*xCreate)(int szPage, int bPurgeable);
|