Lines Matching refs:nr_pages
62 int nr_pages; in clear_page_mlock() local
67 nr_pages = thp_nr_pages(page); in clear_page_mlock()
68 mod_zone_page_state(page_zone(page), NR_MLOCK, -nr_pages); in clear_page_mlock()
69 count_vm_events(UNEVICTABLE_PGCLEARED, nr_pages); in clear_page_mlock()
83 count_vm_events(UNEVICTABLE_PGSTRANDED, nr_pages); in clear_page_mlock()
100 int nr_pages = thp_nr_pages(page); in mlock_vma_page() local
102 mod_zone_page_state(page_zone(page), NR_MLOCK, nr_pages); in mlock_vma_page()
103 count_vm_events(UNEVICTABLE_PGMLOCKED, nr_pages); in mlock_vma_page()
142 int nr_pages = thp_nr_pages(page); in __munlock_isolation_failed() local
145 __count_vm_events(UNEVICTABLE_PGSTRANDED, nr_pages); in __munlock_isolation_failed()
147 __count_vm_events(UNEVICTABLE_PGMUNLOCKED, nr_pages); in __munlock_isolation_failed()
170 int nr_pages; in munlock_vma_page() local
181 nr_pages = thp_nr_pages(page); in munlock_vma_page()
182 mod_zone_page_state(page_zone(page), NR_MLOCK, -nr_pages); in munlock_vma_page()
189 return nr_pages - 1; in munlock_vma_page()
501 int nr_pages; in mlock_fixup() local
537 nr_pages = (end - start) >> PAGE_SHIFT; in mlock_fixup()
539 nr_pages = -nr_pages; in mlock_fixup()
541 nr_pages = 0; in mlock_fixup()
542 mm->locked_vm += nr_pages; in mlock_fixup()