Lines Matching refs:pages
69 unsigned long pages = 0; in change_pte_range() local
110 pages++; in change_pte_range()
126 pages++; in change_pte_range()
133 return pages; in change_pte_range()
143 unsigned long pages = 0; in change_pmd_range() local
170 pages += HPAGE_PMD_NR; in change_pmd_range()
182 pages += this_pages; in change_pmd_range()
190 return pages; in change_pmd_range()
199 unsigned long pages = 0; in change_pud_range() local
206 pages += change_pmd_range(vma, pud, addr, next, newprot, in change_pud_range()
210 return pages; in change_pud_range()
221 unsigned long pages = 0; in change_protection_range() local
231 pages += change_pud_range(vma, pgd, addr, next, newprot, in change_protection_range()
236 if (pages) in change_protection_range()
240 return pages; in change_protection_range()
247 unsigned long pages; in change_protection() local
250 pages = hugetlb_change_protection(vma, start, end, newprot); in change_protection()
252 pages = change_protection_range(vma, start, end, newprot, dirty_accountable, prot_numa); in change_protection()
254 return pages; in change_protection()