Lines Matching defs:PCache
41 struct PCache { struct
42 PgHdr *pDirty, *pDirtyTail; /* List of dirty pages in LRU order */
43 PgHdr *pSynced; /* Last synced page in dirty page list */
44 int nRefSum; /* Sum of ref counts over all pages */
45 int szCache; /* Configured cache size */
46 int szSpill; /* Size before spilling occurs */
47 int szPage; /* Size of every page in this cache */
48 int szExtra; /* Size of extra space for each page */
49 u8 bPurgeable; /* True if pages are on backing store */
50 u8 eCreate; /* eCreate value for for xFetch() */
51 int (*xStress)(void*,PgHdr*); /* Call to try make a page clean */
52 void *pStress; /* Argument to xStress */
53 sqlite3_pcache *pCache; /* Pluggable cache module */