Lines Matching refs:pvec
252 static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec, in __putback_lru_fast_prepare() argument
259 pagevec_add(pvec, page); in __putback_lru_fast_prepare()
275 static void __putback_lru_fast(struct pagevec *pvec, int pgrescued) in __putback_lru_fast() argument
277 count_vm_events(UNEVICTABLE_PGMUNLOCKED, pagevec_count(pvec)); in __putback_lru_fast()
282 __pagevec_lru_add(pvec); in __putback_lru_fast()
296 static void __munlock_pagevec(struct pagevec *pvec, struct zone *zone) in __munlock_pagevec() argument
299 int nr = pagevec_count(pvec); in __munlock_pagevec()
309 struct page *page = pvec->pages[i]; in __munlock_pagevec()
330 pagevec_add(&pvec_putback, pvec->pages[i]); in __munlock_pagevec()
331 pvec->pages[i] = NULL; in __munlock_pagevec()
341 struct page *page = pvec->pages[i]; in __munlock_pagevec()
380 static unsigned long __munlock_pagevec_fill(struct pagevec *pvec, in __munlock_pagevec_fill() argument
426 if (pagevec_add(pvec, page) == 0) in __munlock_pagevec_fill()
462 struct pagevec pvec; in munlock_vma_pages_range() local
465 pagevec_init(&pvec); in munlock_vma_pages_range()
503 pagevec_add(&pvec, page); in munlock_vma_pages_range()
512 start = __munlock_pagevec_fill(&pvec, vma, in munlock_vma_pages_range()
514 __munlock_pagevec(&pvec, zone); in munlock_vma_pages_range()