Lines Matching defs:pvec
243 * Then we can bypass the per-cpu pvec and get better performance.
248 * In case of success, @page is added to @pvec and @pgrescued is incremented
251 static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec,
258 pagevec_add(pvec, page);
271 * Batched putback of evictable pages that bypasses the per-cpu pvec. Some of
274 static void __putback_lru_fast(struct pagevec *pvec, int pgrescued)
276 count_vm_events(UNEVICTABLE_PGMUNLOCKED, pagevec_count(pvec));
281 __pagevec_lru_add(pvec);
295 static void __munlock_pagevec(struct pagevec *pvec, struct zone *zone)
298 int nr = pagevec_count(pvec);
308 struct page *page = pvec->pages[i];
329 pagevec_add(&pvec_putback, pvec->pages[i]);
330 pvec->pages[i] = NULL;
340 struct page *page = pvec->pages[i];
370 * a non-TPH page already pinned and in the @pvec, and that it belongs to @zone.
372 * The rest of @pvec is filled by subsequent pages within the same pmd and same
379 static unsigned long __munlock_pagevec_fill(struct pagevec *pvec,
422 * eventual break due to pvec becoming full by adding the page
425 if (pagevec_add(pvec, page) == 0)
459 struct pagevec pvec;
462 pagevec_init(&pvec);
493 pagevec_add(&pvec, page);
502 start = __munlock_pagevec_fill(&pvec, vma,
504 __munlock_pagevec(&pvec, zone);