Lines Matching refs:pages
67 unsigned long pages = 0; in change_pte_range() local
108 pages++; in change_pte_range()
124 pages++; in change_pte_range()
131 return pages; in change_pte_range()
141 unsigned long pages = 0; in change_pmd_range() local
168 pages += HPAGE_PMD_NR; in change_pmd_range()
180 pages += this_pages; in change_pmd_range()
188 return pages; in change_pmd_range()
197 unsigned long pages = 0; in change_pud_range() local
204 pages += change_pmd_range(vma, pud, addr, next, newprot, in change_pud_range()
208 return pages; in change_pud_range()
219 unsigned long pages = 0; in change_protection_range() local
229 pages += change_pud_range(vma, pgd, addr, next, newprot, in change_protection_range()
234 if (pages) in change_protection_range()
238 return pages; in change_protection_range()
245 unsigned long pages; in change_protection() local
248 pages = hugetlb_change_protection(vma, start, end, newprot); in change_protection()
250 pages = change_protection_range(vma, start, end, newprot, dirty_accountable, prot_numa); in change_protection()
252 return pages; in change_protection()