Lines Matching refs:pvec
232 static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec, in __putback_lru_fast_prepare() argument
239 pagevec_add(pvec, page); in __putback_lru_fast_prepare()
255 static void __putback_lru_fast(struct pagevec *pvec, int pgrescued) in __putback_lru_fast() argument
257 count_vm_events(UNEVICTABLE_PGMUNLOCKED, pagevec_count(pvec)); in __putback_lru_fast()
262 __pagevec_lru_add(pvec); in __putback_lru_fast()
276 static void __munlock_pagevec(struct pagevec *pvec, struct zone *zone) in __munlock_pagevec() argument
279 int nr = pagevec_count(pvec); in __munlock_pagevec()
289 struct page *page = pvec->pages[i]; in __munlock_pagevec()
308 pagevec_add(&pvec_putback, pvec->pages[i]); in __munlock_pagevec()
309 pvec->pages[i] = NULL; in __munlock_pagevec()
320 struct page *page = pvec->pages[i]; in __munlock_pagevec()
359 static unsigned long __munlock_pagevec_fill(struct pagevec *pvec, in __munlock_pagevec_fill() argument
397 if (pagevec_add(pvec, page) == 0) in __munlock_pagevec_fill()
431 struct pagevec pvec; in munlock_vma_pages_range() local
435 pagevec_init(&pvec, 0); in munlock_vma_pages_range()
464 pagevec_add(&pvec, page); in munlock_vma_pages_range()
474 start = __munlock_pagevec_fill(&pvec, vma, in munlock_vma_pages_range()
476 __munlock_pagevec(&pvec, zone); in munlock_vma_pages_range()