Lines Matching defs:nr_pages
163 * requested. If nr_pages is 0 or negative, returns 0. If no pages
281 void lru_note_cost(struct lruvec *lruvec, bool file, unsigned int nr_pages)
288 lruvec->file_cost += nr_pages;
290 lruvec->anon_cost += nr_pages;
329 int nr_pages = thp_nr_pages(page);
337 __count_vm_events(PGACTIVATE, nr_pages);
339 nr_pages);
501 int nr_pages = thp_nr_pages(page);
507 __mod_zone_page_state(page_zone(page), NR_MLOCK, nr_pages);
508 count_vm_events(UNEVICTABLE_PGMLOCKED, nr_pages);
539 int nr_pages = thp_nr_pages(page);
572 __count_vm_events(PGROTATED, nr_pages);
576 __count_vm_events(PGDEACTIVATE, nr_pages);
578 nr_pages);
587 int nr_pages = thp_nr_pages(page);
594 __count_vm_events(PGDEACTIVATE, nr_pages);
596 nr_pages);
606 int nr_pages = thp_nr_pages(page);
620 __count_vm_events(PGLAZYFREE, nr_pages);
622 nr_pages);
1021 int nr_pages = thp_nr_pages(page);
1057 __count_vm_events(UNEVICTABLE_PGRESCUED, nr_pages);
1063 __count_vm_events(UNEVICTABLE_PGCULLED, nr_pages);
1088 * to @nr_pages pages and shadow entries in the mapping. All