Lines Matching refs:PGroup

34939 typedef struct PGroup PGroup;
34941 /* Each page cache (or PCache) belongs to a PGroup. A PGroup is a set
34943 ** pages when they are under memory pressure. A PGroup is an instance of
34948 ** (1) Every PCache is the sole member of its own PGroup. There is
34949 ** one PGroup per PCache.
34951 ** (2) There is a single global PGroup that all PCaches are a member
34959 ** For mode (1), PGroup.mutex is NULL. For mode (2) there is only a single
34960 ** PGroup which is the pcache1.grp global variable and its mutex is
34963 struct PGroup {
34984 ** The PGroup mutex must be held when accessing nMax.
34986 PGroup *pGroup; /* PGroup this cache belongs to */
34994 ** when the accessor is holding the PGroup mutex.
35030 PGroup grp; /* The global PGroup for mode (2) */
35324 ** PGroup LRU list, if is part of it. If pPage is not part of the PGroup
35327 ** The PGroup mutex must be held when this function is called.
35333 PGroup *pGroup;
35363 ** The PGroup mutex must be held when this function is called.
35382 static void pcache1EnforceMaxPage(PGroup *pGroup){
35462 PGroup *pGroup; /* The group the new page cache will belong to */
35467 ** PGroup. In other words, separateCache is true for mode (1) where no
35487 sz = sizeof(PCache1) + sizeof(PGroup)*separateCache;
35492 pGroup = (PGroup*)&pCache[1];
35519 PGroup *pGroup = pCache->pGroup;
35599 PGroup *pGroup;
35708 PGroup *pGroup = pCache->pGroup;
35714 ** part of the PGroup LRU list.
35723 /* Add the page to the PGroup LRU list. */
35798 PGroup *pGroup = pCache->pGroup;